• Reference
  • LUA API
  • Data Type
  • Enum

Enum

RoleType

NameValue
1'user'
2'ai'

RoleStatus

NameValue
0'idle'
1'playing'
2'none'
3'lost'
4'leave'

ABILITY_STR_ATTRS

NameValue
'name''name'
'desc''description'

ABILITY_FLOAT_ATTRS

NameValue
'cost''ability_cost'
'cd''cold_down_time'
'damage''ability_damage'
'range''ability_cast_range'
'cast_time''ability_cast_point'
'bw_time''ability_bw_point'
'channel_time''ability_channel_time'
'prepare_time''ability_prepare_time'
'area''ability_damage_range'
'stack_cd''ability_stack_cd'

ABILITY_INT_ATTRS

NameValue
'ability_max_stack_count''ability_max_stack_count'
'max_level''ability_max_level'
'required_level''required_level'
'cast_type''ability_cost_type'

ABILITY_BOOL_ATTRS

NameValue
'is_passive''is_passive'
'is_attack''is_attack'
'is_meele''is_meele'
'show_channel_bar''show_channel_bar'
'is_toggle''is_toggle'

SlotType

NameValue
'Groud'-1
'Bag'0
'Inventory'1

AbilityType

NameValue
'Hide'0
'Normal'1
'Common'2
'Hero'3

AbilityTypeId

Name
'Hide'
'Normal'
'Common'
'Hero'

AbilityCastType

NameValue
'Normal'1
'Active'2
'Passive'3
'Build'4
'Gather'5

AbilityCastTypeId

Name
'Normal'
'Active'
'Passive'
'Build'
'Gather'

KvType

HarmTextType

NameValue
'Phy'1
'PhyCrit'2
'Miss'3
'Recover'7
'Mag'9
'MagCrit'10
'Invincible'17
'True'19

RestrictionId

DamageAttackType

NameValue
1'phy'
2'mag'

DamageArmorType

NameValue
1'phy'
2'mag'

DamageArmorType

NameValue
1'phy'
2'mag'

SignalVisibleType

NameValue
1'all'
2'self'
3'ally'
4'enemy'

KEYBOARD_KEY

MOUSE_KEY

NameValue
'LEFT'240
'RIGHT'241
'MIDDLE'242

Wheel_KEY

NameValue
'UP'243
'DOWN'244

Player_Attr

NameValue
'gold'"official_res_1"

Indicator_Type

NameValue
'sector'1
'arrow'2
'circle'3
'target'4
'unit_or_place'5
'build'6
'multiple'7

LOG_TYPE

NameValue
'error'1
'warning'2
'message'3

CAMERA_MOVE_TYPE

NameValue
'uniform_acceleration'1
'constant_speed'2
'uniformly_retarded'3

CAMERA_SHAKE_TYPE

NameValue
'left_and_right'1
'up_and_down'2
'front_and_back'3
'left_and_right_and_up_and_down'4
'left_and_right_and_front_and_back'5
'up_and_down_and_front_and_back'6
'all_direction'7

CAMERA_ANGLE_TYPE

NameValue
'pitch'1
'roll'2
'yaw'3

DAMAGE_TYPE

NameValue
'magic'1
'physical'0
'real'2

ATTACK_TYPE

NameValue
'puncture'10000
'cut'10001

ARMOR_TYPE

NameValue
'heavy'20001
'light'20000

BLOOD_BAR_TYPE

BLOOD_BAR_SHOW_TYPE

NameValue
'forever'0
'notfull'1

SHIELD_TYPE

NameValue
'common'2
'physical'0
'magic'1

MODIFIER_TYPE

NameValue
'normal'1
'positive'2
'negative'3

COLLISION_TYPE

NameValue
'land'32
'sky'64
'ocean'128
'thing'256
'terrain'512

UNIT_ATTR_TYPE

PATROL_MODE

NameValue
'single'0
'return'1
'loop'2

LIGHT_ATTR_TYPE

NameValue
'position_x''position_x'
'position_y''position_y'
'position_z''position_z'
'light_color_r''light_color_r'
'light_color_g''light_color_g'
'light_color_b''light_color_b'
'light_range''light_range'
'light_intensity''light_intensity'

TERRAIN_TYPE

NameValue
'terrain_1'0
'terrain_2'1
'terrain_3'2
'terrain_4'3
'terrain_5'4
'terrain_6'5
'terrain_7'6
'terrain_8'7
'terrain_9'8

AREA_TYPE

NameValue
'circle'0
'rectangle'1
'diamond'2

WEATHER_TYPE

FILTER_TYPE

NameValue
'none'1
'spring'2
'summer'3
'autumn'4
'winter'5
'black_white'6
'evening_light'7
'film'8
'noon'9
'moon'10

PROCESSING_TYPE

NameValue
'defult'0
'ink'3
'pixel'1
'pencil'2

PRIMARY_ATTRIBUTE

NameValue
'agility''agility'
'strength''strength'
'intelligence''intelligence'

POINT_TYPE

NameValue
'start'1
'end'2

FILTER_RULE

NameValue
'near_to_far'0
'far_to_near'1
'random'2

VISIBLE_RULE

NameValue
'all'1
'only_yourself'2
'yourself_and_friends'3
'not_yourself_and_friends'4

ROTATE_TYPE

NameValue
'follow_socket'0
'follow_model'1
'none'2

RESULT_TYPE

NameValue
'neutral''neutral'
'defeat''defeat'
'victory''victory'

WINDOW_MODE

NameValue
'window_mode'"window_mode"
'full_screen''full_screen'

QUALITY_TYPE

NameValue
'low''low'
'medium''medium'
'high''high'

UI_TYPE

BAG_FIELD_TYPE

NameValue
'bag'0
'item'0

AUXILIARY_BUTTON

NameValue
'Shift'42
'None'0
'Ctrl'29
'Alt'56

UI_EVENT_TYPE

NameValue
'none'0
'click_start'1
'click_end'2
'click_hover'3
'double_click'4
'hover'5
'move_in'6
'move_out'7
'right_click'8

MINIMAP_SHOW_TYPE

NameValue
'player_color_display_mode'1
'enemy_ally_display_mode'2

UI_ATTR_TYPE

NameValue
'text_bind''text_bind'
'max_value_bind''max_value_bind'
'current_value_bind''current_value_bind'

ALIGNMENT_TYPE

NameValue
'left'1
'middle'2
'right'3
'top'4
'center'5
'bottom'6