Add ACCESS, remove SERIAL and CREATETIME to inventory sync

ryzomclassic-develop
kaetemi 4 years ago
parent bd0c694970
commit 24ceb5df04

@ -29,25 +29,25 @@
<leaf name="NB_BONUS_LANDMARKS" type="I16" />
</branch>
<branch name="USER" bank="PLR" atom="1">
<leaf name="HAIR_TYPE" type="I8" />
<leaf name="HAIR_COLOR" type="I3" />
<leaf name="DEATH_XP_MALUS" type="I8" />
<leaf name="IN_DUEL" type="I1" />
<leaf name="IN_PVP_CHALLENGE" type="I1" />
<leaf name="MOUNT_WALK_SPEED" type="I16" />
<leaf name="MOUNT_RUN_SPEED" type="I16" />
<leaf name="TEAM_MEMBER" type="I1" />
<leaf name="TEAM_LEADER" type="I1" />
<leaf name="OUTPOST_ADMIN" type="I1" />
<leaf name="BERSERK" type="I1" />
<leaf name="ACT_TSTART" type="I32" />
<leaf name="ACT_TEND" type="I32" />
<leaf name="ACT_TYPE" type="I4" />
<leaf name="ACT_NUMBER" type="I8" />
<leaf name="ACT_REFUSED_NUM" type="I8" />
<leaf name="ACT_CANCELED_NUM" type="I8" />
<leaf name="SPEED_FACTOR" type="I8" />
<leaf name="SKILL_POINTS" type="I32" />
<leaf name="HAIR_TYPE" type="I8" />
<leaf name="HAIR_COLOR" type="I3" />
<leaf name="DEATH_XP_MALUS" type="I8" />
<leaf name="IN_DUEL" type="I1" />
<leaf name="IN_PVP_CHALLENGE" type="I1" />
<leaf name="MOUNT_WALK_SPEED" type="I16" />
<leaf name="MOUNT_RUN_SPEED" type="I16" />
<leaf name="TEAM_MEMBER" type="I1" />
<leaf name="TEAM_LEADER" type="I1" />
<leaf name="OUTPOST_ADMIN" type="I1" />
<leaf name="BERSERK" type="I1" />
<leaf name="ACT_TSTART" type="I32" />
<leaf name="ACT_TEND" type="I32" />
<leaf name="ACT_TYPE" type="I4" />
<leaf name="ACT_NUMBER" type="I8" />
<leaf name="ACT_REFUSED_NUM" type="I8" />
<leaf name="ACT_CANCELED_NUM" type="I8" />
<leaf name="SPEED_FACTOR" type="I8" />
<leaf name="SKILL_POINTS" type="I32" />
<branch name="SKILL_POINTS_" count="4">
<leaf name="VALUE" type="I32" />
</branch>
@ -61,9 +61,9 @@
<leaf name="VALUE" type="I32" />
</branch>
<branch name="NPC_CONTROL" bank="PLR">
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="RUN" type="I32" />
<leaf name="WALK" type="I32" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="RUN" type="I32" />
<leaf name="WALK" type="I32" />
</branch>
<leaf name="DEFAULT_WEIGHT_HANDS" type="I32" />
<leaf name="IS_INVISIBLE" type="I1" />
@ -91,11 +91,11 @@
<!-- 32b for start tick and 32b for end tick -->
</branch>
</branch>
<leaf name="CRITICAL" type="I8" />
<leaf name="CRITICAL" type="I8" />
<!-- counter to display flying texts : critical hit -->
<leaf name="PARRY" type="I8" />
<leaf name="PARRY" type="I8" />
<!-- counter to display flying texts : parry -->
<leaf name="DODGE" type="I8" />
<leaf name="DODGE" type="I8" />
<!-- counter to display flying texts : dodge -->
</branch>
<branch name="TARGET" bank="PLR">
@ -103,12 +103,12 @@
<branch name="BARS" atom="1">
<!-- Entity Unique Identifier. Put in the atomic branch for consistency -->
<!-- NB a UID invalid doesn't mean no target. It may be a Forage source -->
<leaf name="UID" type="I20" />
<leaf name="HP" type="S8" />
<leaf name="SAP" type="I7" />
<leaf name="STA" type="I7" />
<leaf name="FOCUS" type="I7" />
<leaf name="PLAYER_LEVEL" type="I8" />
<leaf name="UID" type="I20" />
<leaf name="HP" type="S8" />
<leaf name="SAP" type="I7" />
<leaf name="STA" type="I7" />
<leaf name="FOCUS" type="I7" />
<leaf name="PLAYER_LEVEL" type="I8" />
<!-- for target players only (PVP) -->
</branch>
<!-- ContextMenu (Bot options etc...) -->
@ -117,84 +117,84 @@
<!-- options for missions in the context menu -->
<branch name="MISSIONS_OPTIONS">
<branch name="" count="8">
<leaf name="TITLE" type="I32" />
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="PLAYER_GIFT_NEEDED" type="I1" />
<leaf name="PLAYER_GIFT_NEEDED" type="I1" />
<!-- want a player gift ? -->
<leaf name="PRIORITY" type="I2" />
<leaf name="PRIORITY" type="I2" />
<!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
</branch>
</branch>
<!-- A NPC may offer to view a webpage -->
<leaf name="WEB_PAGE_TITLE" type="I32" />
<leaf name="WEB_PAGE_TITLE" type="I32" />
<!-- a text ID of 0 means there's no WebPage -->
<leaf name="WEB_PAGE_URL" type="I32" />
<leaf name="WEB_PAGE_URL" type="I32" />
<!-- the URL text ID of the web page -->
<leaf name="OUTPOST" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="OUTPOST" type="I32" cppType="NLMISC::CSheetId" />
<!-- outpost this bot give access to (sheet id inside) -->
<!-- Mission rings -->
<branch name="MISSION_RING">
<branch name="" count="4">
<leaf name="TITLE" type="I32" />
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="ID" type="I32" />
<leaf name="ID" type="I32" />
<!-- the id of the action if selected -->
</branch>
</branch>
<!-- Syncrhonisation COUNTER. must be at END of an atomic branch -->
<leaf name="COUNTER" type="I4" />
<leaf name="COUNTER" type="I4" />
</branch>
<leaf name="CONTEXT_VAL" type="I16" />
<leaf name="AGGRESSIVE" type="I3" />
<leaf name="FORCE_RATIO" type="I4" />
<leaf name="CONTEXT_VAL" type="I16" />
<leaf name="AGGRESSIVE" type="I3" />
<leaf name="FORCE_RATIO" type="I4" />
<!-- TODO: remove this, use ForceRegion/ForceLevel in client creature sheets instead -->
</branch>
<branch name="GROUP" bank="PLR">
<branch name="" count="8" atom="1">
<!-- Atomic, for correct Bar Management on client -->
<leaf name="PRESENT" type="I1" />
<leaf name="UID" type="I20" />
<leaf name="PRESENT" type="I1" />
<leaf name="UID" type="I20" />
<!-- Entity Unique Identifier -->
<leaf name="NAME" type="I32" />
<leaf name="HP" type="S8" />
<leaf name="SAP" type="I7" />
<leaf name="STA" type="I7" />
<leaf name="POS" type="I64" />
<leaf name="NAME" type="I32" />
<leaf name="HP" type="S8" />
<leaf name="SAP" type="I7" />
<leaf name="STA" type="I7" />
<leaf name="POS" type="I64" />
</branch>
<leaf name="LEADER_INDEX" type="I4" />
<leaf name="SUCCESSOR_INDEX" type="I4" />
<branch name="MISSIONS" bank="PLR">
<branch name="" count="15">
<!-- see game_share/mission_desc.h TMissionType -->
<leaf name="TYPE" type="I2" />
<leaf name="ICON" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="TYPE" type="I2" />
<leaf name="ICON" type="I32" cppType="NLMISC::CSheetId" />
<!-- sheet id of a .mission_icon sheet -->
<leaf name="TITLE" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<leaf name="TITLE" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<!-- begin date in tick -->
<leaf name="BEGIN_DATE" type="I32" />
<leaf name="BEGIN_DATE" type="I32" />
<!-- end date in tick -->
<leaf name="END_DATE" type="I32" />
<leaf name="END_DATE" type="I32" />
<!-- true if the step are "OR" -->
<leaf name="OR_STEPS" type="I1" />
<leaf name="OR_STEPS" type="I1" />
<branch name="GOALS">
<branch name="" count="20">
<leaf name="TEXT" type="I32" />
<leaf name="NPC_ALIAS" type="I32" />
<leaf name="TEXT" type="I32" />
<leaf name="NPC_ALIAS" type="I32" />
</branch>
</branch>
<!-- Targets -->
<branch name="TARGET" count="8" atom="1">
<leaf name="TITLE" type="I32" />
<leaf name="X" type="I32" />
<leaf name="Y" type="I32" />
<leaf name="TITLE" type="I32" />
<leaf name="X" type="I32" />
<leaf name="Y" type="I32" />
</branch>
<!-- Indicate if the mission is finished (0-not 1-success 2-failed) -->
<leaf name="FINISHED" type="I2" />
<leaf name="FINISHED" type="I2" />
<!-- Indicate if the mission is abandonnable -->
<leaf name="ABANDONNABLE" type="I1" />
<leaf name="ABANDONNABLE" type="I1" />
<!-- Indicate if the mission is paused (player set as 'sleeping' in a queue) -->
<leaf name="SLEEP" type="I1" />
<leaf name="SLEEP" type="I1" />
<!-- Historic -->
<branch name="HISTO">
<branch name="" count="30">
@ -205,19 +205,22 @@
</branch>
</branch>
<!-- Common Item Data : For correct HELP, all items must have this structure:
<leaf name="SHEET" type="I32"/>
<leaf name="QUALITY" type="I10"/>
<leaf name="QUANTITY" type="I10"/>
<leaf name="USER_COLOR" type="I3"/>
<leaf name="LOCKED" type="I10"/>
<leaf name="WEIGHT" type="I16"/>
<leaf name="NAMEID" type="I32"/>
<leaf name="INFO_VERSION" type="I8"/>
<leaf name="ENCHANT" type="I10"/>
<leaf name="RM_CLASS_TYPE" type="I3"/> RM_CLASS_TYPE enum
<leaf name="RM_FABER_STAT_TYPE" type="I5"/> RM_FABER_STAT_TYPE enum
<leaf name="PREREQUISIT_VALID" type="I11"/>
-->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="ACCESS" type="I2" />
<leaf name="WEIGHT" type="I16" />
<leaf name="NAMEID" type="I32" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I11" />
<leaf name="RESALE_FLAG" type="I2" />
<leaf name="WORNED" type="I1" />
<leaf name="INFO_VERSION" type="I8" />
-->
<!-- gift from animator (dm) to player -->
<branch name="DM_GIFT" bank="PLR">
<leaf name="TEXT" type="I32" />
@ -225,55 +228,53 @@
</branch>
<!-- player trade & gift to bot -->
<branch name="EXCHANGE" bank="PLR">
<leaf name="TEXT" type="I32" />
<leaf name="ID" type="I8" />
<leaf name="BEGUN" type="I1" />
<leaf name="ACCEPTED" type="I1" />
<leaf name="MONEY" type="I64" />
<leaf name="TEXT" type="I32" />
<leaf name="ID" type="I8" />
<leaf name="BEGUN" type="I1" />
<leaf name="ACCEPTED" type="I1" />
<leaf name="MONEY" type="I64" />
<branch name="GIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<branch name="RECEIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<leaf name="FORCE_REFUSE" type="I4" />
<!-- Syncrhonisation COUNTER. Should be at END of an atomic branch!!! but still works fine -->
<!-- Syncrhonisation COUNTER. Should be at END of an atomic branch!!! but still works fine (of course, because this isn't an atomic branch!) -->
<leaf name="COUNTER" type="I4" />
</branch>
<branch name="INVENTORY" bank="PLR">
@ -287,53 +288,42 @@
<branch name="BAG" clientonly="1">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="ACCESS" type="I2" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<!-- MAX_INVENTORY_ANIMAL -->
<branch name="PACK_ANIMAL" count="4" clientonly="1">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="ACCESS" type="I2" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<branch name="EQUIP">
@ -350,24 +340,21 @@
<branch name="" count="16">
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I12" />
<!-- for forage progress, max QL409 x10 -->
<leaf name="QUANTITY" type="I12" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<!-- for forage progress, max x409 x10 -->
<leaf name="USER_COLOR" type="I3" />
<!-- No LOCKED state -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
<leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage -->
@ -379,21 +366,21 @@
<!-- session id -->
<branch name="" count="16">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> --> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
<!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase -->
@ -415,28 +402,26 @@
<leaf name="MONEY" type="I64" />
<branch name="" count="1000" clientonly="1">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="ACCESS" type="I2" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<leaf name="MONEY" type="I64" />
<leaf name="MONEY" type="I64" />
<!-- Synchronisation COUNTER. Should be at END of an atomic branch!!! but still works fine without atomic -->
<leaf name="COUNTER" type="I4" />
<leaf name="COUNTER" type="I4" />
</branch>
<branch name="MODIFIERS" bank="PLR">
<leaf name="TOTAL_MALUS_EQUIP" type="I8" />
@ -548,48 +533,47 @@
<!-- 10000*factor to apply on item price, so if this value = 10000, factor is 1.0 -->
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<!-- No LOCKED state -->
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> --> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
<!-- Muti currency info -->
<leaf name="CURRENCY" type="I4" />
<leaf name="CURRENCY" type="I4" />
<!-- The currency type RYMSG::TTradeCurrency -->
<leaf name="RRP_LEVEL" type="I4" />
<leaf name="RRP_LEVEL" type="I4" />
<!-- For rrp curency, specify the rrp level -->
<leaf name="MONEY_SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="MONEY_SHEET" type="I32" cppType="NLMISC::CSheetId" />
<!-- For item curency, specify the item sheet -->
<leaf name="BASE_SKILL" type="I4" />
<leaf name="BASE_SKILL" type="I4" />
<!-- For skill curency, specify the base skill as in EGSPD::CSPType::TSPType -->
<leaf name="FACTION_TYPE" type="I4" />
<leaf name="FACTION_TYPE" type="I4" />
<!-- For price in faction point, as in game_share/pvp_clan.h -->
<leaf name="PRICE" type="I32" />
<leaf name="PRICE" type="I32" />
<!-- The amount of the selected currency (dappers, number of item...) -->
<!-- Special Trade -->
<leaf name="PRICE_RETIRE" type="I32" />
<leaf name="RESALE_TIME_LEFT" type="I16" />
<leaf name="VENDOR_NAMEID" type="TEXT" />
<leaf name="PRICE_RETIRE" type="I32" />
<leaf name="RESALE_TIME_LEFT" type="I16" />
<leaf name="VENDOR_NAMEID" type="TEXT" />
<!-- name id of player vendor -->
<leaf name="FACTION_POINT_PRICE" type="I32" />
<leaf name="FACTION_POINT_PRICE" type="I32" />
<!-- 0 for standard behaviour -->
<!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
<!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
<!-- These values are defined as an enum in game_share/trade_slot_type.h -->
<leaf name="SLOT_TYPE" type="I2" />
<leaf name="SLOT_TYPE" type="I2" />
<!-- see TBotChatSellerType -->
<leaf name="SELLER_TYPE" type="I3" />
<leaf name="SELLER_TYPE" type="I3" />
</branch>
</branch>
<branch name="BRICK_FAMILY" bank="PLR">
@ -605,28 +589,28 @@
<branch name="MISSIONS" bank="PLR">
<branch name="" count="15">
<!-- see game_share/mission_desc.h TMissionType -->
<leaf name="TYPE" type="I2" />
<leaf name="ICON" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="TYPE" type="I2" />
<leaf name="ICON" type="I32" cppType="NLMISC::CSheetId" />
<!-- sheet id of a .mission_icon sheet -->
<leaf name="TITLE" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<leaf name="TITLE" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<!-- begin date in tick -->
<leaf name="BEGIN_DATE" type="I32" />
<leaf name="BEGIN_DATE" type="I32" />
<!-- end date in tick -->
<leaf name="END_DATE" type="I32" />
<leaf name="END_DATE" type="I32" />
<!-- true if the step are "OR" -->
<leaf name="OR_STEPS" type="I1" />
<leaf name="OR_STEPS" type="I1" />
<branch name="GOALS">
<branch name="" count="20">
<leaf name="TEXT" type="I32" />
<leaf name="NPC_ALIAS" type="I32" />
<leaf name="TEXT" type="I32" />
<leaf name="NPC_ALIAS" type="I32" />
</branch>
</branch>
<!-- Targets -->
<branch name="TARGET" count="8" atom="1">
<leaf name="TITLE" type="I32" />
<leaf name="X" type="I32" />
<leaf name="Y" type="I32" />
<leaf name="TITLE" type="I32" />
<leaf name="X" type="I32" />
<leaf name="Y" type="I32" />
</branch>
<!-- Indicate if the mission is finished (0-not 1-success 2-failed) -->
<leaf name="FINISHED" type="I2" />
@ -644,29 +628,29 @@
</branch>
<branch name="EXECUTE_PHRASE" bank="PLR" atom="1">
<!-- The index of the phrase in the spell book that is being executed right now -->
<leaf name="PHRASE" type="I16" />
<leaf name="PHRASE" type="I16" />
<!-- If not a phrase in the speel book, give the associated brick sheet id -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<!-- When the NEXT_COUNTER reach the one on client, reset -->
<leaf name="NEXT_COUNTER" type="I8" />
<leaf name="NEXT_COUNTER" type="I8" />
<!-- When the CYCLE_COUNTER reach the one on client, reset -->
<leaf name="CYCLE_COUNTER" type="I8" />
<leaf name="CYCLE_COUNTER" type="I8" />
<!-- LINKS -->
<branch name="LINK">
<branch name="" count="10" atom="1">
<!-- The Phrase Id -->
<leaf name="PHRASE" type="I16" />
<leaf name="COUNTER" type="I4" />
<leaf name="PHRASE" type="I16" />
<!-- The cost each second -->
<leaf name="HP_COST" type="I16" />
<leaf name="SAP_COST" type="I16" />
<leaf name="STA_COST" type="I16" />
<leaf name="HP_COST" type="I16" />
<leaf name="SAP_COST" type="I16" />
<leaf name="STA_COST" type="I16" />
<!-- Entity name -->
<leaf name="TARGET_NAME" type="TEXT" />
<leaf name="TARGET_NAME" type="TEXT" />
<!-- Entity State -->
<leaf name="TARGET_HP" type="I7" />
<leaf name="TARGET_SAP" type="I7" />
<leaf name="TARGET_STA" type="I7" />
<leaf name="TARGET_HP" type="I7" />
<leaf name="TARGET_SAP" type="I7" />
<leaf name="TARGET_STA" type="I7" />
<leaf name="COUNTER" type="I4" />
</branch>
</branch>
</branch>
@ -724,23 +708,21 @@
<leaf name="MONEY" type="I64" />
<branch name="" count="1000" clientonly="1">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="ACCESS" type="I2" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="INFO_VERSION" type="I8" />
</branch>
</branch>
<branch name="OUTPOST">

@ -1200,14 +1200,6 @@ void CBankAccessor_PLR::TEXCHANGE::TGIVE::TArray::init(ICDBStructNode *parent, u
nlassert(node != NULL);
_QUANTITY = node;
node = parent->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
nlassert(node != NULL);
_CREATE_TIME = node;
node = parent->getNode( ICDBStructNode::CTextId("SERIAL"), false );
nlassert(node != NULL);
_SERIAL = node;
node = parent->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
nlassert(node != NULL);
_USER_COLOR = node;
@ -1220,10 +1212,6 @@ void CBankAccessor_PLR::TEXCHANGE::TGIVE::TArray::init(ICDBStructNode *parent, u
nlassert(node != NULL);
_NAMEID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
nlassert(node != NULL);
_ENCHANT = node;
@ -1240,6 +1228,14 @@ void CBankAccessor_PLR::TEXCHANGE::TGIVE::TArray::init(ICDBStructNode *parent, u
nlassert(node != NULL);
_PREREQUISIT_VALID = node;
node = parent->getNode( ICDBStructNode::CTextId("WORNED"), false );
nlassert(node != NULL);
_WORNED = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
// branch init
@ -1287,14 +1283,6 @@ void CBankAccessor_PLR::TEXCHANGE::TRECEIVE::TArray::init(ICDBStructNode *parent
nlassert(node != NULL);
_QUANTITY = node;
node = parent->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
nlassert(node != NULL);
_CREATE_TIME = node;
node = parent->getNode( ICDBStructNode::CTextId("SERIAL"), false );
nlassert(node != NULL);
_SERIAL = node;
node = parent->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
nlassert(node != NULL);
_USER_COLOR = node;
@ -1307,10 +1295,6 @@ void CBankAccessor_PLR::TEXCHANGE::TRECEIVE::TArray::init(ICDBStructNode *parent
nlassert(node != NULL);
_NAMEID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
nlassert(node != NULL);
_ENCHANT = node;
@ -1327,6 +1311,14 @@ void CBankAccessor_PLR::TEXCHANGE::TRECEIVE::TArray::init(ICDBStructNode *parent
nlassert(node != NULL);
_PREREQUISIT_VALID = node;
node = parent->getNode( ICDBStructNode::CTextId("WORNED"), false );
nlassert(node != NULL);
_WORNED = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
// branch init
@ -1502,14 +1494,6 @@ void CBankAccessor_PLR::TINVENTORY::TTEMP::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_QUANTITY = node;
node = parent->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
nlassert(node != NULL);
_CREATE_TIME = node;
node = parent->getNode( ICDBStructNode::CTextId("SERIAL"), false );
nlassert(node != NULL);
_SERIAL = node;
node = parent->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
nlassert(node != NULL);
_USER_COLOR = node;
@ -1522,10 +1506,6 @@ void CBankAccessor_PLR::TINVENTORY::TTEMP::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_NAMEID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
nlassert(node != NULL);
_ENCHANT = node;
@ -1542,6 +1522,14 @@ void CBankAccessor_PLR::TINVENTORY::TTEMP::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_PREREQUISIT_VALID = node;
node = parent->getNode( ICDBStructNode::CTextId("WORNED"), false );
nlassert(node != NULL);
_WORNED = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
// branch init
@ -1600,14 +1588,6 @@ void CBankAccessor_PLR::TINVENTORY::TSHARE::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_QUANTITY = node;
node = parent->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
nlassert(node != NULL);
_CREATE_TIME = node;
node = parent->getNode( ICDBStructNode::CTextId("SERIAL"), false );
nlassert(node != NULL);
_SERIAL = node;
node = parent->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
nlassert(node != NULL);
_USER_COLOR = node;
@ -1620,10 +1600,6 @@ void CBankAccessor_PLR::TINVENTORY::TSHARE::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_NAMEID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
nlassert(node != NULL);
_ENCHANT = node;
@ -1640,6 +1616,10 @@ void CBankAccessor_PLR::TINVENTORY::TSHARE::TArray::init(ICDBStructNode *parent,
nlassert(node != NULL);
_PREREQUISIT_VALID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("NB_MEMBER"), false );
nlassert(node != NULL);
_NB_MEMBER = node;
@ -2160,14 +2140,6 @@ void CBankAccessor_PLR::TTRADING::TArray::init(ICDBStructNode *parent, uint inde
nlassert(node != NULL);
_QUANTITY = node;
node = parent->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
nlassert(node != NULL);
_CREATE_TIME = node;
node = parent->getNode( ICDBStructNode::CTextId("SERIAL"), false );
nlassert(node != NULL);
_SERIAL = node;
node = parent->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
nlassert(node != NULL);
_USER_COLOR = node;
@ -2180,10 +2152,6 @@ void CBankAccessor_PLR::TTRADING::TArray::init(ICDBStructNode *parent, uint inde
nlassert(node != NULL);
_NAMEID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
nlassert(node != NULL);
_ENCHANT = node;
@ -2200,6 +2168,10 @@ void CBankAccessor_PLR::TTRADING::TArray::init(ICDBStructNode *parent, uint inde
nlassert(node != NULL);
_PREREQUISIT_VALID = node;
node = parent->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
nlassert(node != NULL);
_INFO_VERSION = node;
node = parent->getNode( ICDBStructNode::CTextId("CURRENCY"), false );
nlassert(node != NULL);
_CURRENCY = node;
@ -2597,10 +2569,6 @@ void CBankAccessor_PLR::TEXECUTE_PHRASE::TLINK::TArray::init(ICDBStructNode *par
nlassert(node != NULL);
_PHRASE = node;
node = parent->getNode( ICDBStructNode::CTextId("COUNTER"), false );
nlassert(node != NULL);
_COUNTER = node;
node = parent->getNode( ICDBStructNode::CTextId("HP_COST"), false );
nlassert(node != NULL);
_HP_COST = node;
@ -2629,6 +2597,10 @@ void CBankAccessor_PLR::TEXECUTE_PHRASE::TLINK::TArray::init(ICDBStructNode *par
nlassert(node != NULL);
_TARGET_STA = node;
node = parent->getNode( ICDBStructNode::CTextId("COUNTER"), false );
nlassert(node != NULL);
_COUNTER = node;
// branch init

@ -2784,16 +2784,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public:
@ -2872,46 +2871,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY;
}
void setCREATE_TIME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _CREATE_TIME, value, forceSending);
}
uint32 getCREATE_TIME(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _CREATE_TIME, value);
return value;
}
ICDBStructNode *getCREATE_TIMECDBNode()
{
return _CREATE_TIME;
}
void setSERIAL(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _SERIAL, value, forceSending);
}
uint32 getSERIAL(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _SERIAL, value);
return value;
}
ICDBStructNode *getSERIALCDBNode()
{
return _SERIAL;
}
void setUSER_COLOR(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -2975,26 +2934,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _NAMEID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setENCHANT(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -3084,6 +3023,46 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PREREQUISIT_VALID;
}
void setWORNED(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
{
_setProp(dbGroup, _WORNED, value, forceSending);
}
bool getWORNED(const CCDBSynchronised &dbGroup)
{
bool value;
_getProp(dbGroup, _WORNED, value);
return value;
}
ICDBStructNode *getWORNEDCDBNode()
{
return _WORNED;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
};
@ -3125,16 +3104,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public:
@ -3213,46 +3191,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY;
}
void setCREATE_TIME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _CREATE_TIME, value, forceSending);
}
uint32 getCREATE_TIME(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _CREATE_TIME, value);
return value;
}
ICDBStructNode *getCREATE_TIMECDBNode()
{
return _CREATE_TIME;
}
void setSERIAL(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _SERIAL, value, forceSending);
}
uint32 getSERIAL(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _SERIAL, value);
return value;
}
ICDBStructNode *getSERIALCDBNode()
{
return _SERIAL;
}
void setUSER_COLOR(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -3316,26 +3254,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _NAMEID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setENCHANT(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -3425,6 +3343,46 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PREREQUISIT_VALID;
}
void setWORNED(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
{
_setProp(dbGroup, _WORNED, value, forceSending);
}
bool getWORNED(const CCDBSynchronised &dbGroup)
{
bool value;
_getProp(dbGroup, _WORNED, value);
return value;
}
ICDBStructNode *getWORNEDCDBNode()
{
return _WORNED;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
};
@ -3799,16 +3757,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public:
@ -3845,7 +3802,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
// Check that the value is not out of database precision
STOP_IF(value > (1<<12)-1, "setQUALITY : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 12 bits");
STOP_IF(value > (1<<10)-1, "setQUALITY : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 10 bits");
_setProp(dbGroup, _QUALITY, value, forceSending);
@ -3868,7 +3825,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
// Check that the value is not out of database precision
STOP_IF(value > (1<<12)-1, "setQUANTITY : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 12 bits");
STOP_IF(value > (1<<10)-1, "setQUANTITY : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 10 bits");
_setProp(dbGroup, _QUANTITY, value, forceSending);
@ -3887,46 +3844,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY;
}
void setCREATE_TIME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _CREATE_TIME, value, forceSending);
}
uint32 getCREATE_TIME(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _CREATE_TIME, value);
return value;
}
ICDBStructNode *getCREATE_TIMECDBNode()
{
return _CREATE_TIME;
}
void setSERIAL(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _SERIAL, value, forceSending);
}
uint32 getSERIAL(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _SERIAL, value);
return value;
}
ICDBStructNode *getSERIALCDBNode()
{
return _SERIAL;
}
void setUSER_COLOR(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -3990,26 +3907,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _NAMEID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setENCHANT(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -4099,6 +3996,46 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PREREQUISIT_VALID;
}
void setWORNED(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
{
_setProp(dbGroup, _WORNED, value, forceSending);
}
bool getWORNED(const CCDBSynchronised &dbGroup)
{
bool value;
_getProp(dbGroup, _WORNED, value);
return value;
}
ICDBStructNode *getWORNEDCDBNode()
{
return _WORNED;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
};
@ -4182,16 +4119,14 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_NB_MEMBER;
ICDBStructNode *_WANTED;
ICDBStructNode *_CHANCE;
@ -4273,46 +4208,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY;
}
void setCREATE_TIME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _CREATE_TIME, value, forceSending);
}
uint32 getCREATE_TIME(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _CREATE_TIME, value);
return value;
}
ICDBStructNode *getCREATE_TIMECDBNode()
{
return _CREATE_TIME;
}
void setSERIAL(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _SERIAL, value, forceSending);
}
uint32 getSERIAL(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _SERIAL, value);
return value;
}
ICDBStructNode *getSERIALCDBNode()
{
return _SERIAL;
}
void setUSER_COLOR(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -4376,26 +4271,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _NAMEID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setENCHANT(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -4485,6 +4360,26 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PREREQUISIT_VALID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setNB_MEMBER(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -5867,16 +5762,14 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_CURRENCY;
ICDBStructNode *_RRP_LEVEL;
ICDBStructNode *_MONEY_SHEET;
@ -5967,46 +5860,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY;
}
void setCREATE_TIME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _CREATE_TIME, value, forceSending);
}
uint32 getCREATE_TIME(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _CREATE_TIME, value);
return value;
}
ICDBStructNode *getCREATE_TIMECDBNode()
{
return _CREATE_TIME;
}
void setSERIAL(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
_setProp(dbGroup, _SERIAL, value, forceSending);
}
uint32 getSERIAL(const CCDBSynchronised &dbGroup)
{
uint32 value;
_getProp(dbGroup, _SERIAL, value);
return value;
}
ICDBStructNode *getSERIALCDBNode()
{
return _SERIAL;
}
void setUSER_COLOR(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -6070,26 +5923,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _NAMEID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setENCHANT(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -6179,6 +6012,26 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PREREQUISIT_VALID;
}
void setINFO_VERSION(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
_setProp(dbGroup, _INFO_VERSION, value, forceSending);
}
uint8 getINFO_VERSION(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _INFO_VERSION, value);
return value;
}
ICDBStructNode *getINFO_VERSIONCDBNode()
{
return _INFO_VERSION;
}
void setCURRENCY(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
@ -7383,7 +7236,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_BranchNode;
ICDBStructNode *_PHRASE;
ICDBStructNode *_COUNTER;
ICDBStructNode *_HP_COST;
ICDBStructNode *_SAP_COST;
ICDBStructNode *_STA_COST;
@ -7391,6 +7243,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_TARGET_HP;
ICDBStructNode *_TARGET_SAP;
ICDBStructNode *_TARGET_STA;
ICDBStructNode *_COUNTER;
public:
@ -7423,29 +7276,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PHRASE;
}
void setCOUNTER(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
// Check that the value is not out of database precision
STOP_IF(value > (1<<4)-1, "setCOUNTER : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 4 bits");
_setProp(dbGroup, _COUNTER, value, forceSending);
}
uint8 getCOUNTER(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _COUNTER, value);
return value;
}
ICDBStructNode *getCOUNTERCDBNode()
{
return _COUNTER;
}
void setHP_COST(CCDBSynchronised &dbGroup, uint16 value, bool forceSending = false)
{
@ -7607,6 +7437,29 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _TARGET_STA;
}
void setCOUNTER(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{
// Check that the value is not out of database precision
STOP_IF(value > (1<<4)-1, "setCOUNTER : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 4 bits");
_setProp(dbGroup, _COUNTER, value, forceSending);
}
uint8 getCOUNTER(const CCDBSynchronised &dbGroup)
{
uint8 value;
_getProp(dbGroup, _COUNTER, value);
return value;
}
ICDBStructNode *getCOUNTERCDBNode()
{
return _COUNTER;
}
};

Loading…
Cancel
Save