Class: InvokeDefinitionMap

InvokeDefinitionMap


new InvokeDefinitionMap()

InvokeDefinitionMap represents invoke definition a part of char.def

Methods


<static> load(invoke_def_buffer)

Load InvokeDefinitionMap from buffer

Parameters:
Name Type Description
invoke_def_buffer Uint8Array
Returns:
Type
InvokeDefinitionMap

getCharacterClass(class_id)

Get class information by class ID

Parameters:
Name Type Description
class_id number
Returns:
Type
CharacterClass

init(character_category_definition)

Initializing method

Parameters:
Name Type Description
character_category_definition Array.<CharacterClass>

Array of CharacterClass


lookup(class_name)

For building character definition dictionary

Parameters:
Name Type Description
class_name string

character

Returns:

class_id

Type
number

toBuffer()

Transform from map to binary buffer

Returns:
Type
Uint8Array