2 <!-- Define bank superclass -->
5 class="CCDBSynchronised" />
8 dbAccessor=".Database">
9 <include file="game_share/far_position.h" />
10 <verbatime>inline void _setProp(CCDBSynchronised &db,
11 ICDBStructNode *node, TCharConnectionState value, bool
12 forceSending = false) { db.x_setProp(node, uint64(value),
13 forceSending); } inline void _getProp(const CCDBSynchronised
14 &db, ICDBStructNode *node, TCharConnectionState
16 (TCharConnectionState)db.x_getProp(node); }</verbatime>
20 dbAccessor=".Database" />
22 <!-- Bank must be set for all and only first-level branches -->
23 <!-- For the client to work, this branch MUST remain at the top -->
24 <branch name="Entities"
34 <branch name="GameTime"
39 <branch name="INTERFACES"
43 <leaf name="NB_BONUS_LANDMARKS"
49 <leaf name="HAIR_TYPE"
51 <leaf name="HAIR_COLOR"
53 <leaf name="DEATH_XP_MALUS"
57 <leaf name="IN_PVP_CHALLENGE"
59 <leaf name="MOUNT_WALK_SPEED"
61 <leaf name="MOUNT_RUN_SPEED"
63 <leaf name="TEAM_MEMBER"
65 <leaf name="TEAM_LEADER"
67 <leaf name="OUTPOST_ADMIN"
71 <leaf name="ACT_TSTART"
77 <leaf name="ACT_NUMBER"
79 <leaf name="ACT_REFUSED_NUM"
81 <leaf name="ACT_CANCELED_NUM"
83 <leaf name="SPEED_FACTOR"
85 <leaf name="SKILL_POINTS"
87 <branch name="SKILL_POINTS_"
92 <branch name="FACTION_POINTS_"
94 <!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 -->
98 <leaf name="IS_NEWBIE"
100 <leaf name="IS_TRIAL"
102 <branch name="RRPS_LEVELS"
107 <branch name="NPC_CONTROL"
111 cppType="NLMISC::CSheetId" />
117 <leaf name="DEFAULT_WEIGHT_HANDS"
119 <leaf name="IS_INVISIBLE"
121 <!-- Syncrhonisation COUNTER. must be at END of an atomic branch -->
125 <branch name="DEFENSE"
127 <leaf name="DEFENSE_MODE"
129 <!-- 0 = dodge, 1 = parry-->
130 <leaf name="PROTECTED_SLOT"
132 <!-- 0=All, 1=head, 2=chest, 3=arms, 4=hands, 5=legs, 6=feet-->
133 <branch name="SLOTS">
136 <!-- 0=head, 1=chest, 2=arms, 3=hands, 4=legs, 5=feet-->
137 <leaf name="MODIFIER"
139 <!-- modifier on defense (dodge or parry) on given slot (+-127)-->
147 <branch name="BRICK_TICK_RANGE">
148 <!-- tick range for each power -->
151 <leaf name="TICK_RANGE"
153 <!-- 32b for start tick and 32b for end tick -->
157 <leaf name="CRITICAL"
159 <!-- counter to display flying texts : critical hit -->
162 <!-- counter to display flying texts : parry -->
165 <!-- counter to display flying texts : dodge -->
167 <branch name="TARGET"
169 <!-- Don't put the whole TARGET branch atomic, because it will takes 34 extra bits each time a bar value change -->
172 <!-- Entity Unique Identifier. Put in the atomic branch for consistency -->
173 <!-- NB a UID invalid doesn't mean no target. It may be a Forage source -->
184 <leaf name="PLAYER_LEVEL"
186 <!-- for target players only (PVP) -->
188 <!-- ContextMenu (Bot options etc...) -->
189 <branch name="CONTEXT_MENU"
191 <leaf name="PROGRAMMES"
193 <!-- options for missions in the context menu -->
194 <branch name="MISSIONS_OPTIONS">
199 <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
200 <leaf name="PLAYER_GIFT_NEEDED"
202 <!-- want a player gift ? -->
203 <leaf name="PRIORITY"
205 <!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
208 <!-- A NPC may offer to view a webpage -->
209 <leaf name="WEB_PAGE_TITLE"
211 <!-- a text ID of 0 means there's no WebPage -->
212 <leaf name="WEB_PAGE_URL"
214 <!-- the URL text ID of the web page -->
217 cppType="NLMISC::CSheetId" />
218 <!-- outpost this bot give access to (sheet id inside) -->
219 <!-- Mission rings -->
220 <branch name="MISSION_RING">
225 <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
228 <!-- the id of the action if selected -->
231 <!-- Syncrhonisation COUNTER. must be at END of an atomic branch -->
235 <leaf name="CONTEXT_VAL"
237 <leaf name="AGGRESSIVE"
239 <leaf name="FORCE_RATIO"
241 <!-- TODO: remove this, use ForceRegion/ForceLevel in client creature sheets instead -->
248 <!-- Atomic, for correct Bar Management on client -->
253 <!-- Entity Unique Identifier -->
265 <leaf name="LEADER_INDEX"
267 <leaf name="SUCCESSOR_INDEX"
269 <branch name="MISSIONS"
273 <!-- see game_share/mission_desc.h TMissionType -->
278 cppType="NLMISC::CSheetId" />
279 <!-- sheet id of a .mission_icon sheet -->
282 <leaf name="DETAIL_TEXT"
284 <!-- begin date in tick -->
285 <leaf name="BEGIN_DATE"
287 <!-- end date in tick -->
288 <leaf name="END_DATE"
290 <!-- true if the step are "OR" -->
291 <leaf name="OR_STEPS"
293 <branch name="GOALS">
298 <leaf name="NPC_ALIAS"
303 <branch name="TARGET"
313 <!-- Indicate if the mission is finished (0-not 1-success 2-failed) -->
314 <leaf name="FINISHED"
316 <!-- Indicate if the mission is abandonnable -->
317 <leaf name="ABANDONNABLE"
319 <!-- Indicate if the mission is paused (player set as 'sleeping' in a queue) -->
323 <branch name="HISTO">
333 <!-- Common Item Data : For correct HELP, all items must have this structure:
334 <leaf name="SHEET" type="I32"/>
335 <leaf name="QUALITY" type="I10"/>
336 <leaf name="QUANTITY" type="I10"/>
337 <leaf name="CREATE_TIME" type="I32" />
338 <leaf name="SERIAL" type="I32" />
339 <leaf name="USER_COLOR" type="I3"/>
340 <leaf name="LOCKED" type="I10"/>
341 <leaf name="WEIGHT" type="I16"/>
342 <leaf name="NAMEID" type="I32"/>
343 <leaf name="INFO_VERSION" type="I8"/>
344 <leaf name="ENCHANT" type="I10"/>
345 <leaf name="RM_CLASS_TYPE" type="I3"/> RM_CLASS_TYPE enum
346 <leaf name="RM_FABER_STAT_TYPE" type="I5"/> RM_FABER_STAT_TYPE enum
347 <leaf name="PREREQUISIT_VALID" type="I11"/>
349 <!-- gift from animator (dm) to player -->
350 <branch name="DM_GIFT"
354 <!-- caption of the gift window -->
356 <!-- player trade & gift to bot -->
357 <branch name="EXCHANGE"
365 <leaf name="ACCEPTED"
371 count="10"> <!-- Change in local_database.xml, player_trade.lua and NbExchangeSlots on server-->
372 <!-- Common Item Data -->
375 cppType="NLMISC::CSheetId" />
378 <leaf name="QUANTITY"
380 <leaf name="CREATE_TIME"
384 <leaf name="USER_COLOR"
386 <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
389 <!-- weight. see DB_WEIGHT_SCALE -->
392 <!-- 0 or special name of item -->
393 <leaf name="INFO_VERSION"
397 <leaf name="RM_CLASS_TYPE"
399 <leaf name="RM_FABER_STAT_TYPE"
401 <leaf name="PREREQUISIT_VALID"
405 <branch name="RECEIVE">
407 count="10"> <!-- Change in local_database.xml, player_trade.lua and NbExchangeSlots on server-->
408 <!-- Common Item Data -->
411 cppType="NLMISC::CSheetId" />
414 <leaf name="QUANTITY"
416 <leaf name="CREATE_TIME"
420 <leaf name="USER_COLOR"
422 <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
425 <!-- weight. see DB_WEIGHT_SCALE-->
428 <!-- 0 or special name of item -->
429 <leaf name="INFO_VERSION"
433 <leaf name="RM_CLASS_TYPE"
435 <leaf name="RM_FABER_STAT_TYPE"
437 <leaf name="PREREQUISIT_VALID"
441 <leaf name="FORCE_REFUSE"
443 <!-- Syncrhonisation COUNTER. Should be at END of an atomic branch!!! but still works fine -->
447 <branch name="INVENTORY"
452 <!-- 0 Right 1 Left -->
453 <leaf name="INDEX_IN_BAG"
455 <!-- 0 nothing 1-500 index in bag from 0 to 499 -->
462 <!-- Common Item Data -->
465 cppType="NLMISC::CSheetId" />
468 <leaf name="QUANTITY"
470 <leaf name="CREATE_TIME"
474 <leaf name="USER_COLOR"
480 <!-- weight. see DB_WEIGHT_SCALE-->
483 <!-- 0 or special name of item -->
484 <leaf name="INFO_VERSION"
488 <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
489 <leaf name="RM_CLASS_TYPE"
491 <leaf name="RM_FABER_STAT_TYPE"
493 <leaf name="PREREQUISIT_VALID"
497 <leaf name="RESALE_FLAG"
499 <!-- TBotChatResaleFlag -->
502 <!-- true if item is worned (show a red cross) -->
505 <!-- MAX_INVENTORY_ANIMAL -->
506 <branch name="PACK_ANIMAL"
511 <!-- Common Item Data -->
514 cppType="NLMISC::CSheetId" />
517 <leaf name="QUANTITY"
519 <leaf name="CREATE_TIME"
523 <leaf name="USER_COLOR"
529 <!-- weight. see DB_WEIGHT_SCALE-->
532 <!-- 0 or special name of item -->
533 <leaf name="INFO_VERSION"
537 <leaf name="RM_CLASS_TYPE"
539 <leaf name="RM_FABER_STAT_TYPE"
541 <leaf name="PREREQUISIT_VALID"
545 <leaf name="RESALE_FLAG"
547 <!-- TBotChatResaleFlag -->
550 <branch name="EQUIP">
551 <!-- jewelry + armor -->
554 <leaf name="INDEX_IN_BAG"
556 <!-- same as hand -->
559 <branch name="HOTBAR">
562 <leaf name="INDEX_IN_BAG"
564 <!-- same as hand -->
568 <!-- used for harvest loot and bag full -->
571 <!-- Type of temp inv see temp_inventory_mode in game_share -->
574 <!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
575 <!-- Common Item Data -->
578 cppType="NLMISC::CSheetId" />
581 <!-- for forage progress, max QL409 x10 -->
582 <leaf name="QUANTITY"
584 <leaf name="CREATE_TIME"
588 <!-- for forage progress, max x409 x10 -->
589 <leaf name="USER_COLOR"
591 <!-- No LOCKED state -->
594 <!-- weight. see DB_WEIGHT_SCALE-->
597 <!-- 0 or special name of item -->
598 <leaf name="INFO_VERSION"
602 <leaf name="RM_CLASS_TYPE"
604 <leaf name="RM_FABER_STAT_TYPE"
606 <leaf name="PREREQUISIT_VALID"
609 <leaf name="ENABLE_TAKE"
611 <!-- Used only in forage -->
613 <!-- used to share items between team members (up to 8 players)
614 DO NOT FORGET if you modify this to do the the same modification in local database file -->
615 <branch name="SHARE">
621 <!-- Common Item Data -->
624 cppType="NLMISC::CSheetId" />
627 <leaf name="QUANTITY"
629 <leaf name="CREATE_TIME"
633 <leaf name="USER_COLOR"
637 <!-- weight. see DB_WEIGHT_SCALE-->
640 <!-- 0 or special name of item -->
641 <leaf name="INFO_VERSION"
645 <leaf name="RM_CLASS_TYPE"
647 <leaf name="RM_FABER_STAT_TYPE"
649 <leaf name="PREREQUISIT_VALID"
651 <!-- Additionnal info -->
652 <leaf name="NB_MEMBER"
654 <!-- Number of team member who wants this item or phrase -->
657 <!-- Does the player wants this item or phrase ? -->
660 <!-- Chance in percentage the player has to obtain this item -->
664 <!-- all the team members -->
669 <!-- is the team member has validated its own selection ? -->
675 <leaf name="BULK_MAX"
682 <!-- Common Item Data -->
685 cppType="NLMISC::CSheetId" />
688 <leaf name="QUANTITY"
690 <leaf name="CREATE_TIME"
694 <leaf name="USER_COLOR"
700 <!-- weight. see DB_WEIGHT_SCALE-->
703 <!-- 0 or special name of item -->
704 <leaf name="INFO_VERSION"
708 <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
709 <leaf name="RM_CLASS_TYPE"
711 <leaf name="RM_FABER_STAT_TYPE"
713 <leaf name="PREREQUISIT_VALID"
715 <leaf name="RESALE_FLAG"
721 <!-- Synchronisation COUNTER. Should be at END of an atomic branch!!! but still works fine without atomic -->
725 <branch name="MODIFIERS"
727 <leaf name="TOTAL_MALUS_EQUIP"
729 <!-- This is the malus ratio*50 (ie percentage/2) -->
730 <branch name="BONUS">
735 cppType="NLMISC::CSheetId" />
736 <leaf name="DISABLED"
738 <leaf name="DISABLED_TIME"
742 <branch name="MALUS">
747 cppType="NLMISC::CSheetId" />
748 <leaf name="DISABLED"
750 <leaf name="DISABLED_TIME"
755 <branch name="DISABLE_CONSUMABLE"
761 <!-- Disable consumablel family -->
762 <leaf name="DISABLE_TIME"
764 <!-- End date of diable time in tick -->
767 <!-- botchat texts -->
768 <branch name="BOTCHAT"
770 <!-- intro for player gift -->
771 <leaf name="PLAYER_GIFT"
773 <!-- intro for guild creation -->
774 <leaf name="CREATE_GUILD"
776 <!-- intro for trade window (pacts, action, item, or skills ..)-->
779 <!-- intro for choose mission -->
780 <leaf name="CHOOSE_MISSION"
782 <!-- intro before the reward of the mission -->
783 <!-- <leaf name="MISSION_END_REWARD" type="I32"/> -->
784 <!-- text of the mission end -->
785 <!-- <leaf name="MISSION_END" type="I32"/> -->
786 <!-- news for current bot -->
787 <!-- <leaf name="NEWS" type="I32"/> -->
788 <!-- choice dynamic missions -->
789 <branch name="DM_CHOICE"
799 <!-- title of dynamic mission -->
800 <leaf name="DM_TITLE"
802 <!-- description of dynamic mission -->
803 <leaf name="DM_DESCRIPTION"
805 <!-- the rolemaster type on 2 bits -->
806 <leaf name="ROLEMASTER_TYPE"
809 <!-- Temporary structure to fill the huge list of guild to choose from in an ascensor -->
810 <branch name="ASCENSOR"
817 <!-- current page ID -->
818 <leaf name="HAS_NEXT"
820 <!-- are there pages left ? -->
824 if high order bit == 0 : guild icon : 58 low order bits - back:3 bits, symbol:6 bits, Invert:1 bit, color1&2:24 bits each
825 if high order bit == 1 : low order bits = entry in the LIFT_ICONS::TLiftIcon enum
833 <branch name="CHOOSE_MISSIONS"
840 <!-- current page ID -->
841 <leaf name="HAS_NEXT"
843 <!-- are there pages left ? -->
848 cppType="NLMISC::CSheetId" />
849 <!-- sheet id of a .mission_icon sheet -->
852 <leaf name="DETAIL_TEXT"
854 <leaf name="PREREQ_STATE"
856 <!-- game_share/mission_desc.h/TPreReqState -->
859 <branch name="TRADING"
864 <!-- current botchat session ID -->
867 <!-- current page ID -->
868 <leaf name="HAS_NEXT"
870 <!-- are there pages left ? -->
871 <leaf name="ROLEMASTER_FLAGS"
873 <!-- flags used to determine actions 'offered' by the rolemaster -->
874 <leaf name="ROLEMASTER_RACE"
876 <!-- civ of actions offered by the rolemaster (0..3) -->
877 <leaf name="BUILDING_LOSS_WARNING"
879 <!-- set if a warning saying "you're going to lose your old building" must be displayed -->
880 <leaf name="RAW_MATERIAL_SELLER"
882 <!-- flag set to 1 for raw materials seller for setting appropriate filters -->
883 <leaf name="ITEM_TYPE_SELLER_BITFILED_0_63"
885 <!-- bitfield define item type sell by bot, first 64 bits, cf TItemType -->
886 <leaf name="ITEM_TYPE_SELLER_BITFILED_64_127"
888 <!-- bitfield define item type sell by bot, next 64 bits, cf TItemType -->
889 <leaf name="FAME_PRICE_FACTOR"
891 <!-- 10000*factor to apply on item price, so if this value = 10000, factor is 1.0 -->
894 <!-- Common Item Data -->
897 cppType="NLMISC::CSheetId" />
900 <leaf name="QUANTITY"
902 <!-- No LOCKED state -->
903 <leaf name="CREATE_TIME"
907 <leaf name="USER_COLOR"
911 <!-- weight. see DB_WEIGHT_SCALE-->
914 <!-- 0 or special name of item -->
915 <leaf name="INFO_VERSION"
919 <leaf name="RM_CLASS_TYPE"
921 <leaf name="RM_FABER_STAT_TYPE"
923 <leaf name="PREREQUISIT_VALID"
925 <!-- Muti currency info -->
926 <leaf name="CURRENCY"
928 <!-- The currency type RYMSG::TTradeCurrency -->
929 <leaf name="RRP_LEVEL"
931 <!-- For rrp curency, specify the rrp level -->
932 <leaf name="MONEY_SHEET"
934 cppType="NLMISC::CSheetId" />
935 <!-- For item curency, specify the item sheet -->
936 <leaf name="BASE_SKILL"
938 <!-- For skill curency, specify the base skill as in EGSPD::CSPType::TSPType -->
939 <leaf name="FACTION_TYPE"
941 <!-- For price in faction point, as in game_share/pvp_clan.h -->
944 <!-- The amount of the selected currency (dappers, number of item...) -->
945 <!-- Special Trade -->
946 <leaf name="PRICE_RETIRE"
948 <leaf name="RESALE_TIME_LEFT"
950 <leaf name="VENDOR_NAMEID"
952 <!-- name id of player vendor -->
953 <leaf name="FACTION_POINT_PRICE"
955 <!-- 0 for standard behaviour -->
956 <!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
957 <!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
958 <!-- These values are defined as an enum in game_share/trade_slot_type.h -->
959 <leaf name="SLOT_TYPE"
961 <!-- see TBotChatSellerType -->
962 <leaf name="SELLER_TYPE"
966 <branch name="BRICK_FAMILY"
974 <branch name="FABER_PLANS"
982 <branch name="MISSIONS"
986 <!-- see game_share/mission_desc.h TMissionType -->
991 cppType="NLMISC::CSheetId" />
992 <!-- sheet id of a .mission_icon sheet -->
995 <leaf name="DETAIL_TEXT"
997 <!-- begin date in tick -->
998 <leaf name="BEGIN_DATE"
1000 <!-- end date in tick -->
1001 <leaf name="END_DATE"
1003 <!-- true if the step are "OR" -->
1004 <leaf name="OR_STEPS"
1006 <branch name="GOALS">
1011 <leaf name="NPC_ALIAS"
1016 <branch name="TARGET"
1026 <!-- Indicate if the mission is finished (0-not 1-success 2-failed) -->
1027 <leaf name="FINISHED"
1029 <!-- Indicate if the mission is abandonnable -->
1030 <leaf name="ABANDONNABLE"
1032 <!-- Indicate if the mission is paused (player set as 'sleeping' in a queue) -->
1036 <branch name="HISTO">
1045 <branch name="EXECUTE_PHRASE"
1048 <!-- The index of the phrase in the spell book that is being executed right now -->
1051 <!-- If not a phrase in the speel book, give the associated brick sheet id -->
1054 cppType="NLMISC::CSheetId" />
1055 <!-- When the NEXT_COUNTER reach the one on client, reset -->
1056 <leaf name="NEXT_COUNTER"
1058 <!-- When the CYCLE_COUNTER reach the one on client, reset -->
1059 <leaf name="CYCLE_COUNTER"
1062 <branch name="LINK">
1066 <!-- The Phrase Id -->
1069 <leaf name="COUNTER"
1071 <!-- The cost each second -->
1072 <leaf name="HP_COST"
1074 <leaf name="SAP_COST"
1076 <leaf name="STA_COST"
1078 <!-- Entity name -->
1079 <leaf name="TARGET_NAME"
1081 <!-- Entity State -->
1082 <leaf name="TARGET_HP"
1084 <leaf name="TARGET_SAP"
1086 <leaf name="TARGET_STA"
1091 <branch name="GUILD"
1093 <leaf name="COUNTER"
1097 <!-- Flat to indicate that the guild is 'proxified' from another EGS -->
1100 <!-- Name of the guild the local player belongs to -->
1101 <leaf name="DESCRIPTION"
1103 <!-- Description of the guild -->
1106 <!-- Icon of the guild (look at guild_manager) -->
1109 <!-- Experience of the guild -->
1110 <leaf name="CHARGE_POINTS"
1112 <!-- charge points of the guild -->
1113 <leaf name="VILLAGE"
1115 <!-- village text id -->
1118 <!-- people affiliated with the guild-->
1119 <leaf name="CREATION_DATE"
1121 <!-- creation date of the guild in ticks -->
1122 <branch name="FAME">
1123 <leaf name="CULT_ALLEGIANCE"
1125 <!-- Guild cult allegiance (CF TPVPClan enum (pvp_clan.h) -->
1126 <leaf name="CIV_ALLEGIANCE"
1128 <!-- Guild civilization allegiance (CF TPVPClan enum (pvp_clan.h) -->
1131 <!-- from fame.h & cpp -->
1134 <!-- current value -->
1135 <leaf name="THRESHOLD"
1137 <!-- max threshold -->
1140 <!-- Fame trend, (CF see fame_pd.h TFameTrend ) -->
1143 <branch name="MEMBERS">
1144 <!-- Guild Members -->
1149 <!-- player name -->
1152 <!-- player grade-->
1155 cppType="TCharConnectionState" />
1156 <!-- enum TCharConnectionState -->
1157 <leaf name="ENTER_DATE"
1159 <!-- tick when player entered the guild-->
1162 <branch name="INVENTORY">
1163 <leaf name="SESSION"
1165 <leaf name="BULK_MAX"
1172 <!-- Common Item Data -->
1175 cppType="NLMISC::CSheetId" />
1176 <leaf name="QUALITY"
1178 <leaf name="QUANTITY"
1180 <leaf name="CREATE_TIME"
1184 <leaf name="USER_COLOR"
1190 <!-- weight. see DB_WEIGHT_SCALE-->
1193 <!-- 0 or special name of item -->
1194 <leaf name="INFO_VERSION"
1196 <leaf name="ENCHANT"
1198 <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
1199 <leaf name="RM_CLASS_TYPE"
1201 <leaf name="RM_FABER_STAT_TYPE"
1203 <leaf name="PREREQUISIT_VALID"
1205 <leaf name="RESALE_FLAG"
1209 <branch name="OUTPOST">
1210 <!-- true if this guild can cancel an outpost -->
1213 <!-- outpost owned/challenged by the guild -->
1216 <!-- Outpost Ownage -->
1219 <!-- 1 if the outpost is owned by the guild, 0 if it is challenged -->
1220 <!-- Outpost Desc/State -->
1223 cppType="NLMISC::CSheetId" />
1226 <!-- Outpost Level: 50, 100, 150 .... -->
1227 <branch name="GUILD">
1230 <!-- Name of the guild the outpost belongs to (or name of tribe) -->
1233 <!-- Icon of the guild the outpost belongs to -->
1236 <!-- True if the outpost is owned by a Tribe -->
1237 <leaf name="NAME_ATT"
1239 <!-- Name of the guild that attacks the outpost. 0 if none -->
1243 <!-- Outpost Status: OUTPOSTENUMS::TOutpostState -->
1244 <leaf name="STATE_END_DATE"
1246 <!-- Server tick of the end of state -->
1247 <leaf name="DISPLAY_CRASH"
1249 <!-- A crash has happened in the last war. Inform users -->
1250 <leaf name="WARCOST"
1252 <!-- Dappers needed to declare war to this outpost -->
1253 <!-- Round State -->
1254 <leaf name="ROUND_LVL_THRESHOLD"
1256 <!-- The minimal threshold attack must exceed -->
1257 <leaf name="ROUND_LVL_MAX_ATT"
1259 <!-- The max round level reached by attackers -->
1260 <leaf name="ROUND_LVL_MAX_DEF"
1262 <!-- The max round level reached by defenders -->
1263 <leaf name="ROUND_LVL_CUR"
1265 <!-- The current round level -->
1266 <leaf name="ROUND_ID_CUR"
1268 <!-- The current round number -->
1269 <leaf name="ROUND_ID_MAX"
1271 <!-- The max round in an attack/defense period -->
1273 <leaf name="TIME_RANGE_DEF_WANTED"
1275 <!-- The start hour at wich the defender want to defend (0-24) -->
1276 <leaf name="TIME_RANGE_DEF"
1278 <!-- The start time at wich the defender WILL defend (in sec from 1970, GMT) -->
1279 <leaf name="TIME_RANGE_ATT"
1281 <!-- The start time at wich the attacker WILL attack (in sec from 1970, GMT) -->
1282 <leaf name="TIME_RANGE_LENGTH"
1284 <!-- (In minutes). the length of an attack/defend period (120 for instance) -->
1286 <branch name="SQUAD_SPAWN_ZONE">
1287 <!-- list of zones where squads can be spawned -->
1296 <branch name="SQUAD_SHOP">
1297 <!-- list of squad that we can buy -->
1302 cppType="NLMISC::CSheetId" />
1305 <branch name="SQUADS">
1307 <!-- 24 max squads: The First 12th are the squads that spawn at start
1308 The second 12th are the one that spawn after
1315 cppType="NLMISC::CSheetId" />
1322 cppType="NLMISC::CSheetId" />
1325 <!-- Index in SQUAD_SPAWN_ZONE list -->
1328 <leaf name="SQUAD_CAPITAL"
1330 <!-- Money that can be spent by the guild -->
1332 <branch name="BUILDINGS">
1333 <!-- list of buildings on the outpost -->
1338 cppType="NLMISC::CSheetId" />
1344 <!-- The outpost selected by the user on a NPC -->
1345 <branch name="OUTPOST_SELECTED"
1348 <!-- System: Use atom="1" to be sure data are relevant for the player (SHEET and other data are sync). -->
1349 <!-- Outpost Desc/State -->
1352 cppType="NLMISC::CSheetId" />
1355 <!-- Outpost Level: 50, 100, 150 .... -->
1356 <branch name="GUILD">
1359 <!-- Name of the guild the outpost belongs to (or name of tribe) -->
1362 <!-- Icon of the guild the outpost belongs to -->
1365 <!-- True if the outpost is owned by a Tribe -->
1366 <leaf name="NAME_ATT"
1368 <!-- Name of the guild that attacks the outpost. 0 if none -->
1372 <!-- Outpost Status: OUTPOSTENUMS::TOutpostState -->
1373 <leaf name="STATE_END_DATE"
1375 <!-- Server tick of the end of state -->
1376 <leaf name="DISPLAY_CRASH"
1378 <!-- A crash has happened in the last war. Inform users -->
1379 <leaf name="WARCOST"
1381 <!-- Dappers needed to declare war to this outpost -->
1382 <!-- Round State -->
1383 <leaf name="ROUND_LVL_THRESHOLD"
1385 <!-- The minimal threshold attack must exceed -->
1386 <leaf name="ROUND_LVL_MAX_ATT"
1388 <!-- The max round level reached by attackers -->
1389 <leaf name="ROUND_LVL_MAX_DEF"
1391 <!-- The max round level reached by defenders -->
1392 <leaf name="ROUND_LVL_CUR"
1394 <!-- The current round level -->
1395 <leaf name="ROUND_ID_CUR"
1397 <!-- The current round number -->
1398 <leaf name="ROUND_ID_MAX"
1400 <!-- The max round in an attack/defense period -->
1402 <leaf name="TIME_RANGE_DEF_WANTED"
1404 <!-- The start hour at wich the defender want to defend (0-24) -->
1405 <leaf name="TIME_RANGE_DEF"
1407 <!-- The start time at wich the defender WILL defend (in sec from 1970, GMT) -->
1408 <leaf name="TIME_RANGE_ATT"
1410 <!-- The start time at wich the attacker WILL attack (in sec from 1970, GMT) -->
1411 <leaf name="TIME_RANGE_LENGTH"
1413 <!-- (In minutes). the length of an attack/defend period (120 for instance) -->
1415 <branch name="CHARACTER_INFO"
1417 <branch name="CHARACTERISTICS"
1422 <branch name="SCORES"
1428 <leaf name="BaseRegen"
1433 <branch name="MAGIC_RESISTANCE">
1434 <leaf name="MaxResistanceBonus"
1442 <branch name="MAGIC_PROTECTION">
1443 <leaf name="MaxProtectionClampValue"
1445 <leaf name="MaxAbsorptionFactor"
1453 <branch name="DODGE">
1456 <leaf name="Current"
1459 <branch name="PARRY">
1462 <leaf name="Current"
1465 <branch name="SKILLS">
1470 <leaf name="BaseSKILL"
1472 <leaf name="PROGRESS_BAR"
1476 <branch name="XP_CATALYSER">
1482 <branch name="RING_XP_CATALYSER">
1488 <branch name="PVP_FACTION_TAG">
1489 <leaf name="TAG_PVP"
1491 <leaf name="ACTIVATION_TIME"
1493 <leaf name="FLAG_PVP_TIME_LEFT"
1495 <leaf name="COUNTER"
1498 <branch name="PVP_OUTPOST">
1499 <leaf name="FLAG_PVP"
1501 <!-- 1 if the player is in a PVP outpost -->
1502 <leaf name="RIGHT_TO_BANISH"
1504 <!-- 1 if the player has right to banish other players -->
1505 <leaf name="ROUND_LVL_CUR"
1507 <!-- Current Round Level -->
1508 <leaf name="ROUND_END_DATE"
1510 <!-- Server tick of the end of the round. 0 if there is no active Round -->
1511 <leaf name="FLAG_PVP_TIME_END"
1513 <!-- Server tick of the end of the Outpost PVP activation. 0 if there is no counter (player in zone) -->
1515 <branch name="SUCCESS_MODIFIER">
1537 <branch name="PACK_ANIMAL"
1540 <!-- MAX_INVENTORY_ANIMAL -->
1541 <branch name="BEAST"
1544 <!-- Atomic, for correct Bar Management on client -->
1547 <!-- Entity Unique Identifier -->
1550 <!-- see ANIMAL_TYPE -->
1553 <!-- see ANIMAL_STATUS -->
1556 <leaf name="BULK_MAX"
1560 <!-- X uint32 << 32 | Y uint32 -->
1563 <leaf name="DESPAWN"
1570 <branch name="DEBUG_INFO"
1575 <!-- MP Exotic Evaluation -->
1576 <branch name="MP_EVAL"
1580 <!-- Normal Success -->
1581 <branch name="RESULT">
1584 <leaf name="SMALL_SEED"
1586 <leaf name="MEDIUM_SEED"
1588 <leaf name="BIG_SEED"
1590 <leaf name="VERY_BIG_SEED"
1592 <leaf name="EXPIRY_DATE"
1595 <!-- Critical Success -->
1596 <branch name="RESULT_CRITICAL">
1599 <leaf name="SMALL_SEED"
1601 <leaf name="MEDIUM_SEED"
1603 <leaf name="BIG_SEED"
1605 <leaf name="VERY_BIG_SEED"
1607 <leaf name="EXPIRY_DATE"
1611 <!-- Compass coordinates -->
1612 <branch name="COMPASS"
1614 <leaf name="HOME_POINT"
1616 <!-- X uint32 << 32 | Y uint32 -->
1617 <leaf name="BIND_POINT"
1619 <!-- X uint32 << 32 | Y uint32 -->
1622 <!-- X uint32 << 32 | Y uint32 -->
1624 <!-- Fames values -->
1627 <leaf name="CULT_ALLEGIANCE"
1629 <!-- Character cult allegiance (CF TPVPClan enum (pvp_clan.h) -->
1630 <leaf name="CIV_ALLEGIANCE"
1632 <!-- Character civilization allegiance (CF TPVPClan enum (pvp_clan.h) -->
1633 <leaf name="THRESHOLD_TRADE"
1635 <!-- value where trade doesn't work anymore -->
1636 <leaf name="THRESHOLD_KOS"
1638 <!-- value where the guards kill you on sight -->
1639 <branch name="PLAYER"
1641 <!-- from fame.h & cpp -->
1644 <!-- current value -->
1645 <leaf name="THRESHOLD"
1647 <!-- max threshold -->
1650 <!-- Fame trend, (CF see fame_pd.h TFameTrend ) -->
1652 <branch name="TRIBE"
1656 <!-- current value -->
1657 <leaf name="THRESHOLD"
1659 <!-- max threshold -->
1662 <!-- Fame trend, (CF see fame_pd.h TFameTrend ) -->
1665 <!-- Static general data -->
1666 <branch name="STATIC_DATA"
1668 <leaf name="BAG_BULK_MAX"
1671 <!-- DynChat channels -->
1672 <branch name="DYN_CHAT"
1674 <branch name="CHANNEL"
1679 <!-- channel not available if anme is 0 -->
1682 <!-- unique ID of channel (eid) -->
1683 <leaf name="WRITE_RIGHT"
1687 <!-- PvP Effects -->
1688 <branch name="PVP_EFFECTS"
1690 <!-- Faction points for PvP -->
1691 <branch name="PVP_FACTION_POINTS">
1694 <leaf name="CIV_POINTS"
1698 <leaf name="CULT_POINTS"
1701 <!-- Bonus and malus for regions -->
1706 <leaf name="ISBONUS"
1713 <branch name="WEATHER"
1718 </database_description>