一.ID掩码算法
源代码通过python编译后将item_id,troop_id,script_id等经过掩码算法计算后编译至txt脚本中.骑砍引擎通过逆运算获取对应元素类型,元素id.
例如"trp_player" = 2 | (5 << 56) = 360287970189639682L (trp_player在module_troops.pyID为2)
ID代码 = 元素类型标识 + 元素ID + 掩码
二.header_common.py掩码&元素标识符
op_num_value_bits = 24 + 32
tag_register = 1
tag_variable = 2
tag_string = 3
tag_item = 4
tag_troop = 5
tag_faction = 6
tag_quest = 7
tag_party_tpl = 8
tag_party = 9
tag_scene = 10
tag_mission_tpl = 11
tag_menu = 12
tag_script = 13
tag_particle_s