Add ACCESS, remove SERIAL and CREATETIME to inventory sync

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

@ -205,18 +205,21 @@
</branch> </branch>
</branch> </branch>
<!-- Common Item Data : For correct HELP, all items must have this structure: <!-- Common Item Data : For correct HELP, all items must have this structure:
<leaf name="SHEET" type="I32"/> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10"/> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10"/> <leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3"/> <leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10"/> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16"/> <leaf name="ACCESS" type="I2" />
<leaf name="NAMEID" type="I32"/> <leaf name="WEIGHT" type="I16" />
<leaf name="INFO_VERSION" type="I8"/> <leaf name="NAMEID" type="I32" />
<leaf name="ENCHANT" type="I10"/> <leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3"/> RM_CLASS_TYPE enum <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5"/> RM_FABER_STAT_TYPE enum <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I11"/> <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 --> <!-- gift from animator (dm) to player -->
<branch name="DM_GIFT" bank="PLR"> <branch name="DM_GIFT" bank="PLR">
@ -236,19 +239,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed --> <!-- <leaf name="LOCKED" type="I10" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- <leaf name="ACCESS" type="I2" /> -->
<!-- weight. see DB_WEIGHT_SCALE --> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <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> </branch>
<branch name="RECEIVE"> <branch name="RECEIVE">
@ -257,23 +259,22 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed --> <!-- <leaf name="LOCKED" type="I10" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- <leaf name="ACCESS" type="I2" /> -->
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <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> </branch>
<leaf name="FORCE_REFUSE" type="I4" /> <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" /> <leaf name="COUNTER" type="I4" />
</branch> </branch>
<branch name="INVENTORY" bank="PLR"> <branch name="INVENTORY" bank="PLR">
@ -290,25 +291,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="ACCESS" type="I2" />
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<!-- 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="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" /> <leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="RESALE_FLAG" type="I2" /> <leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<!-- TBotChatResaleFlag --> <leaf name="INFO_VERSION" type="I8" />
<leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) -->
</branch> </branch>
</branch> </branch>
<!-- MAX_INVENTORY_ANIMAL --> <!-- MAX_INVENTORY_ANIMAL -->
@ -318,22 +312,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="ACCESS" type="I2" />
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" /> <leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="RESALE_FLAG" type="I2" /> <leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<!-- TBotChatResaleFlag --> <leaf name="INFO_VERSION" type="I8" />
</branch> </branch>
</branch> </branch>
<branch name="EQUIP"> <branch name="EQUIP">
@ -351,23 +341,20 @@
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize --> <!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I12" /> <leaf name="QUALITY" type="I10" />
<!-- for forage progress, max QL409 x10 --> <leaf name="QUANTITY" type="I10" />
<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" /> <leaf name="USER_COLOR" type="I3" />
<!-- No LOCKED state --> <!-- <leaf name="LOCKED" type="I10" /> -->
<leaf name="WEIGHT" type="I16" /> <!-- <leaf name="ACCESS" type="I2" /> -->
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <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="ENABLE_TAKE" type="I1" /> <leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage --> <!-- Used only in forage -->
@ -382,18 +369,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" /> <!-- <leaf name="LOCKED" type="I10" /> -->
<!-- weight. see DB_WEIGHT_SCALE--> <!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="NAMEID" type="I32" /> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<!-- 0 or special name of item --> <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="ENCHANT" type="I10" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <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 --> <!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" /> <leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase --> <!-- Number of team member who wants this item or phrase -->
@ -418,20 +405,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="ACCESS" type="I2" />
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<!-- 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="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> </branch>
<leaf name="MONEY" type="I64" /> <leaf name="MONEY" type="I64" />
@ -551,19 +536,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" /> <!-- <leaf name="LOCKED" type="I10" /> -->
<!-- weight. see DB_WEIGHT_SCALE--> <!-- <leaf name="ACCESS" type="I2" /> -->
<leaf name="NAMEID" type="I32" /> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<!-- 0 or special name of item --> <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="ENCHANT" type="I10" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <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 --> <!-- Muti currency info -->
<leaf name="CURRENCY" type="I4" /> <leaf name="CURRENCY" type="I4" />
<!-- The currency type RYMSG::TTradeCurrency --> <!-- The currency type RYMSG::TTradeCurrency -->
@ -656,7 +640,6 @@
<branch name="" count="10" atom="1"> <branch name="" count="10" atom="1">
<!-- The Phrase Id --> <!-- The Phrase Id -->
<leaf name="PHRASE" type="I16" /> <leaf name="PHRASE" type="I16" />
<leaf name="COUNTER" type="I4" />
<!-- The cost each second --> <!-- The cost each second -->
<leaf name="HP_COST" type="I16" /> <leaf name="HP_COST" type="I16" />
<leaf name="SAP_COST" type="I16" /> <leaf name="SAP_COST" type="I16" />
@ -667,6 +650,7 @@
<leaf name="TARGET_HP" type="I7" /> <leaf name="TARGET_HP" type="I7" />
<leaf name="TARGET_SAP" type="I7" /> <leaf name="TARGET_SAP" type="I7" />
<leaf name="TARGET_STA" type="I7" /> <leaf name="TARGET_STA" type="I7" />
<leaf name="COUNTER" type="I4" />
</branch> </branch>
</branch> </branch>
</branch> </branch>
@ -727,20 +711,18 @@
<leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" /> <leaf name="SHEET" type="I32" cppType="NLMISC::CSheetId" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" 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="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="ACCESS" type="I2" />
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- 0 or special name of item --> <leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="ENCHANT" type="I10" /> <leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<!-- 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="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> </branch>
<branch name="OUTPOST"> <branch name="OUTPOST">

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

@ -2784,16 +2784,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_SHEET; ICDBStructNode *_SHEET;
ICDBStructNode *_QUALITY; ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY; ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR; ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT; ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID; ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT; ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE; ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE; ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID; ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public: public:
@ -2872,46 +2871,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY; 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) 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; 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) 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; 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 *_SHEET;
ICDBStructNode *_QUALITY; ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY; ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR; ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT; ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID; ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT; ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE; ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE; ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID; ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public: public:
@ -3213,46 +3191,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY; 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) 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; 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) 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; 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 *_SHEET;
ICDBStructNode *_QUALITY; ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY; ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR; ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT; ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID; ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT; ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE; ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE; ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID; ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_WORNED;
ICDBStructNode *_INFO_VERSION;
public: 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 // 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); _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 // 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); _setProp(dbGroup, _QUANTITY, value, forceSending);
@ -3887,46 +3844,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY; 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) 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; 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) 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; 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 *_SHEET;
ICDBStructNode *_QUALITY; ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY; ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR; ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT; ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID; ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT; ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE; ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE; ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID; ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_NB_MEMBER; ICDBStructNode *_NB_MEMBER;
ICDBStructNode *_WANTED; ICDBStructNode *_WANTED;
ICDBStructNode *_CHANCE; ICDBStructNode *_CHANCE;
@ -4273,46 +4208,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY; 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) 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; 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) 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; 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) 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 *_SHEET;
ICDBStructNode *_QUALITY; ICDBStructNode *_QUALITY;
ICDBStructNode *_QUANTITY; ICDBStructNode *_QUANTITY;
ICDBStructNode *_CREATE_TIME;
ICDBStructNode *_SERIAL;
ICDBStructNode *_USER_COLOR; ICDBStructNode *_USER_COLOR;
ICDBStructNode *_WEIGHT; ICDBStructNode *_WEIGHT;
ICDBStructNode *_NAMEID; ICDBStructNode *_NAMEID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_ENCHANT; ICDBStructNode *_ENCHANT;
ICDBStructNode *_RM_CLASS_TYPE; ICDBStructNode *_RM_CLASS_TYPE;
ICDBStructNode *_RM_FABER_STAT_TYPE; ICDBStructNode *_RM_FABER_STAT_TYPE;
ICDBStructNode *_PREREQUISIT_VALID; ICDBStructNode *_PREREQUISIT_VALID;
ICDBStructNode *_INFO_VERSION;
ICDBStructNode *_CURRENCY; ICDBStructNode *_CURRENCY;
ICDBStructNode *_RRP_LEVEL; ICDBStructNode *_RRP_LEVEL;
ICDBStructNode *_MONEY_SHEET; ICDBStructNode *_MONEY_SHEET;
@ -5967,46 +5860,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _QUANTITY; 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) 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; 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) 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; 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) 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 *_BranchNode;
ICDBStructNode *_PHRASE; ICDBStructNode *_PHRASE;
ICDBStructNode *_COUNTER;
ICDBStructNode *_HP_COST; ICDBStructNode *_HP_COST;
ICDBStructNode *_SAP_COST; ICDBStructNode *_SAP_COST;
ICDBStructNode *_STA_COST; ICDBStructNode *_STA_COST;
@ -7391,6 +7243,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_TARGET_HP; ICDBStructNode *_TARGET_HP;
ICDBStructNode *_TARGET_SAP; ICDBStructNode *_TARGET_SAP;
ICDBStructNode *_TARGET_STA; ICDBStructNode *_TARGET_STA;
ICDBStructNode *_COUNTER;
public: public:
@ -7423,29 +7276,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _PHRASE; 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) 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; 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