2 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
3 // Copyright (C) 2010 Winch Gate Property Limited
5 // This program is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Affero General Public License as
7 // published by the Free Software Foundation, either version 3 of the
8 // License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Affero General Public License for more details.
15 // You should have received a copy of the GNU Affero General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 /////////////////////////////////////////////////////////////////
19 // WARNING : this is a generated file, don't change it !
20 /////////////////////////////////////////////////////////////////
23 #include "database_plr.h"
27 TCDBBank
CBankAccessor_PLR::BankTag
;
29 CBankAccessor_PLR::TGameTime
CBankAccessor_PLR::_GameTime
;
30 CBankAccessor_PLR::TINTERFACES
CBankAccessor_PLR::_INTERFACES
;
31 CBankAccessor_PLR::TUSER
CBankAccessor_PLR::_USER
;
32 CBankAccessor_PLR::TDEFENSE
CBankAccessor_PLR::_DEFENSE
;
33 CBankAccessor_PLR::TFLAGS
CBankAccessor_PLR::_FLAGS
;
34 CBankAccessor_PLR::TTARGET
CBankAccessor_PLR::_TARGET
;
35 CBankAccessor_PLR::TGROUP
CBankAccessor_PLR::_GROUP
;
36 CBankAccessor_PLR::TDM_GIFT
CBankAccessor_PLR::_DM_GIFT
;
37 CBankAccessor_PLR::TEXCHANGE
CBankAccessor_PLR::_EXCHANGE
;
38 CBankAccessor_PLR::TINVENTORY
CBankAccessor_PLR::_INVENTORY
;
39 CBankAccessor_PLR::TMODIFIERS
CBankAccessor_PLR::_MODIFIERS
;
40 CBankAccessor_PLR::TDISABLE_CONSUMABLE
CBankAccessor_PLR::_DISABLE_CONSUMABLE
;
41 CBankAccessor_PLR::TBOTCHAT
CBankAccessor_PLR::_BOTCHAT
;
42 CBankAccessor_PLR::TASCENSOR
CBankAccessor_PLR::_ASCENSOR
;
43 CBankAccessor_PLR::TCHOOSE_MISSIONS
CBankAccessor_PLR::_CHOOSE_MISSIONS
;
44 CBankAccessor_PLR::TTRADING
CBankAccessor_PLR::_TRADING
;
45 CBankAccessor_PLR::TBRICK_FAMILY
CBankAccessor_PLR::_BRICK_FAMILY
;
46 CBankAccessor_PLR::TFABER_PLANS
CBankAccessor_PLR::_FABER_PLANS
;
47 CBankAccessor_PLR::TMISSIONS
CBankAccessor_PLR::_MISSIONS
;
48 CBankAccessor_PLR::TEXECUTE_PHRASE
CBankAccessor_PLR::_EXECUTE_PHRASE
;
49 CBankAccessor_PLR::TCHARACTER_INFO
CBankAccessor_PLR::_CHARACTER_INFO
;
50 CBankAccessor_PLR::TPACK_ANIMAL
CBankAccessor_PLR::_PACK_ANIMAL
;
51 CBankAccessor_PLR::TDEBUG_INFO
CBankAccessor_PLR::_DEBUG_INFO
;
52 CBankAccessor_PLR::TMP_EVAL
CBankAccessor_PLR::_MP_EVAL
;
53 CBankAccessor_PLR::TCOMPASS
CBankAccessor_PLR::_COMPASS
;
54 CBankAccessor_PLR::TFAME
CBankAccessor_PLR::_FAME
;
55 CBankAccessor_PLR::TSTATIC_DATA
CBankAccessor_PLR::_STATIC_DATA
;
56 CBankAccessor_PLR::TDYN_CHAT
CBankAccessor_PLR::_DYN_CHAT
;
57 CBankAccessor_PLR::TPVP_EFFECTS
CBankAccessor_PLR::_PVP_EFFECTS
;
58 CBankAccessor_PLR::TWEATHER
CBankAccessor_PLR::_WEATHER
;
60 void CBankAccessor_PLR::init()
62 static bool inited
= false;
65 // retreive the bank structure
66 CCDBStructBanks
*bank
= CCDBStructBanks::instance();
67 BankTag
= CCDBStructBanks::readBankName("PLR");
73 node
= bank
->getICDBStructNodeFromName( BankTag
, "GameTime" );
74 nlassert(node
!= NULL
);
75 // call sub branch init
78 node
= bank
->getICDBStructNodeFromName( BankTag
, "INTERFACES" );
79 nlassert(node
!= NULL
);
80 // call sub branch init
81 _INTERFACES
.init(node
);
83 node
= bank
->getICDBStructNodeFromName( BankTag
, "USER" );
84 nlassert(node
!= NULL
);
85 // call sub branch init
88 node
= bank
->getICDBStructNodeFromName( BankTag
, "DEFENSE" );
89 nlassert(node
!= NULL
);
90 // call sub branch init
93 node
= bank
->getICDBStructNodeFromName( BankTag
, "FLAGS" );
94 nlassert(node
!= NULL
);
95 // call sub branch init
98 node
= bank
->getICDBStructNodeFromName( BankTag
, "TARGET" );
99 nlassert(node
!= NULL
);
100 // call sub branch init
103 node
= bank
->getICDBStructNodeFromName( BankTag
, "GROUP" );
104 nlassert(node
!= NULL
);
105 // call sub branch init
108 node
= bank
->getICDBStructNodeFromName( BankTag
, "DM_GIFT" );
109 nlassert(node
!= NULL
);
110 // call sub branch init
113 node
= bank
->getICDBStructNodeFromName( BankTag
, "EXCHANGE" );
114 nlassert(node
!= NULL
);
115 // call sub branch init
116 _EXCHANGE
.init(node
);
118 node
= bank
->getICDBStructNodeFromName( BankTag
, "INVENTORY" );
119 nlassert(node
!= NULL
);
120 // call sub branch init
121 _INVENTORY
.init(node
);
123 node
= bank
->getICDBStructNodeFromName( BankTag
, "MODIFIERS" );
124 nlassert(node
!= NULL
);
125 // call sub branch init
126 _MODIFIERS
.init(node
);
128 node
= bank
->getICDBStructNodeFromName( BankTag
, "DISABLE_CONSUMABLE" );
129 nlassert(node
!= NULL
);
130 // call sub branch init
131 _DISABLE_CONSUMABLE
.init(node
);
133 node
= bank
->getICDBStructNodeFromName( BankTag
, "BOTCHAT" );
134 nlassert(node
!= NULL
);
135 // call sub branch init
138 node
= bank
->getICDBStructNodeFromName( BankTag
, "ASCENSOR" );
139 nlassert(node
!= NULL
);
140 // call sub branch init
141 _ASCENSOR
.init(node
);
143 node
= bank
->getICDBStructNodeFromName( BankTag
, "CHOOSE_MISSIONS" );
144 nlassert(node
!= NULL
);
145 // call sub branch init
146 _CHOOSE_MISSIONS
.init(node
);
148 node
= bank
->getICDBStructNodeFromName( BankTag
, "TRADING" );
149 nlassert(node
!= NULL
);
150 // call sub branch init
153 node
= bank
->getICDBStructNodeFromName( BankTag
, "BRICK_FAMILY" );
154 nlassert(node
!= NULL
);
155 // call sub branch init
156 _BRICK_FAMILY
.init(node
);
158 node
= bank
->getICDBStructNodeFromName( BankTag
, "FABER_PLANS" );
159 nlassert(node
!= NULL
);
160 // call sub branch init
161 _FABER_PLANS
.init(node
);
163 node
= bank
->getICDBStructNodeFromName( BankTag
, "MISSIONS" );
164 nlassert(node
!= NULL
);
165 // call sub branch init
166 _MISSIONS
.init(node
);
168 node
= bank
->getICDBStructNodeFromName( BankTag
, "EXECUTE_PHRASE" );
169 nlassert(node
!= NULL
);
170 // call sub branch init
171 _EXECUTE_PHRASE
.init(node
);
173 node
= bank
->getICDBStructNodeFromName( BankTag
, "CHARACTER_INFO" );
174 nlassert(node
!= NULL
);
175 // call sub branch init
176 _CHARACTER_INFO
.init(node
);
178 node
= bank
->getICDBStructNodeFromName( BankTag
, "PACK_ANIMAL" );
179 nlassert(node
!= NULL
);
180 // call sub branch init
181 _PACK_ANIMAL
.init(node
);
183 node
= bank
->getICDBStructNodeFromName( BankTag
, "DEBUG_INFO" );
184 nlassert(node
!= NULL
);
185 // call sub branch init
186 _DEBUG_INFO
.init(node
);
188 node
= bank
->getICDBStructNodeFromName( BankTag
, "MP_EVAL" );
189 nlassert(node
!= NULL
);
190 // call sub branch init
193 node
= bank
->getICDBStructNodeFromName( BankTag
, "COMPASS" );
194 nlassert(node
!= NULL
);
195 // call sub branch init
198 node
= bank
->getICDBStructNodeFromName( BankTag
, "FAME" );
199 nlassert(node
!= NULL
);
200 // call sub branch init
203 node
= bank
->getICDBStructNodeFromName( BankTag
, "STATIC_DATA" );
204 nlassert(node
!= NULL
);
205 // call sub branch init
206 _STATIC_DATA
.init(node
);
208 node
= bank
->getICDBStructNodeFromName( BankTag
, "DYN_CHAT" );
209 nlassert(node
!= NULL
);
210 // call sub branch init
211 _DYN_CHAT
.init(node
);
213 node
= bank
->getICDBStructNodeFromName( BankTag
, "PVP_EFFECTS" );
214 nlassert(node
!= NULL
);
215 // call sub branch init
216 _PVP_EFFECTS
.init(node
);
218 node
= bank
->getICDBStructNodeFromName( BankTag
, "WEATHER" );
219 nlassert(node
!= NULL
);
220 // call sub branch init
228 void CBankAccessor_PLR::TGameTime::init(ICDBStructNode
*parent
)
230 ICDBStructNode
*node
= parent
;
236 node
= parent
->getNode( ICDBStructNode::CTextId("Hours"), false );
237 nlassert(node
!= NULL
);
246 void CBankAccessor_PLR::TINTERFACES::init(ICDBStructNode
*parent
)
248 ICDBStructNode
*node
= parent
;
254 node
= parent
->getNode( ICDBStructNode::CTextId("FLAGS"), false );
255 nlassert(node
!= NULL
);
258 node
= parent
->getNode( ICDBStructNode::CTextId("NB_BONUS_LANDMARKS"), false );
259 nlassert(node
!= NULL
);
260 _NB_BONUS_LANDMARKS
= node
;
268 void CBankAccessor_PLR::TUSER::init(ICDBStructNode
*parent
)
270 ICDBStructNode
*node
= parent
;
276 node
= parent
->getNode( ICDBStructNode::CTextId("HAIR_TYPE"), false );
277 nlassert(node
!= NULL
);
280 node
= parent
->getNode( ICDBStructNode::CTextId("HAIR_COLOR"), false );
281 nlassert(node
!= NULL
);
284 node
= parent
->getNode( ICDBStructNode::CTextId("DEATH_XP_MALUS"), false );
285 nlassert(node
!= NULL
);
286 _DEATH_XP_MALUS
= node
;
288 node
= parent
->getNode( ICDBStructNode::CTextId("IN_DUEL"), false );
289 nlassert(node
!= NULL
);
292 node
= parent
->getNode( ICDBStructNode::CTextId("IN_PVP_CHALLENGE"), false );
293 nlassert(node
!= NULL
);
294 _IN_PVP_CHALLENGE
= node
;
296 node
= parent
->getNode( ICDBStructNode::CTextId("MOUNT_WALK_SPEED"), false );
297 nlassert(node
!= NULL
);
298 _MOUNT_WALK_SPEED
= node
;
300 node
= parent
->getNode( ICDBStructNode::CTextId("MOUNT_RUN_SPEED"), false );
301 nlassert(node
!= NULL
);
302 _MOUNT_RUN_SPEED
= node
;
304 node
= parent
->getNode( ICDBStructNode::CTextId("TEAM_MEMBER"), false );
305 nlassert(node
!= NULL
);
308 node
= parent
->getNode( ICDBStructNode::CTextId("TEAM_LEADER"), false );
309 nlassert(node
!= NULL
);
312 node
= parent
->getNode( ICDBStructNode::CTextId("OUTPOST_ADMIN"), false );
313 nlassert(node
!= NULL
);
314 _OUTPOST_ADMIN
= node
;
316 node
= parent
->getNode( ICDBStructNode::CTextId("BERSERK"), false );
317 nlassert(node
!= NULL
);
320 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_TSTART"), false );
321 nlassert(node
!= NULL
);
324 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_TEND"), false );
325 nlassert(node
!= NULL
);
328 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_TYPE"), false );
329 nlassert(node
!= NULL
);
332 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_NUMBER"), false );
333 nlassert(node
!= NULL
);
336 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_REFUSED_NUM"), false );
337 nlassert(node
!= NULL
);
338 _ACT_REFUSED_NUM
= node
;
340 node
= parent
->getNode( ICDBStructNode::CTextId("ACT_CANCELED_NUM"), false );
341 nlassert(node
!= NULL
);
342 _ACT_CANCELED_NUM
= node
;
344 node
= parent
->getNode( ICDBStructNode::CTextId("SPEED_FACTOR"), false );
345 nlassert(node
!= NULL
);
346 _SPEED_FACTOR
= node
;
348 node
= parent
->getNode( ICDBStructNode::CTextId("SKILL_POINTS"), false );
349 nlassert(node
!= NULL
);
350 _SKILL_POINTS
= node
;
352 node
= parent
->getNode( ICDBStructNode::CTextId("IS_NEWBIE"), false );
353 nlassert(node
!= NULL
);
356 node
= parent
->getNode( ICDBStructNode::CTextId("IS_TRIAL"), false );
357 nlassert(node
!= NULL
);
360 node
= parent
->getNode( ICDBStructNode::CTextId("DEFAULT_WEIGHT_HANDS"), false );
361 nlassert(node
!= NULL
);
362 _DEFAULT_WEIGHT_HANDS
= node
;
364 node
= parent
->getNode( ICDBStructNode::CTextId("IS_INVISIBLE"), false );
365 nlassert(node
!= NULL
);
366 _IS_INVISIBLE
= node
;
368 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
369 nlassert(node
!= NULL
);
375 for (uint i
=0; i
<4; ++i
)
377 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("SKILL_POINTS_%u", i
)), false );
378 nlassert(node
!= NULL
);
379 _SKILL_POINTS_
[i
].init(node
, i
);
382 for (uint i
=0; i
<7; ++i
)
384 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("FACTION_POINTS_%u", i
)), false );
385 nlassert(node
!= NULL
);
386 _FACTION_POINTS_
[i
].init(node
, i
);
389 for (uint i
=0; i
<6; ++i
)
391 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("RRPS_LEVELS%u", i
)), false );
392 nlassert(node
!= NULL
);
393 _RRPS_LEVELS
[i
].init(node
, i
);
396 node
= parent
->getNode( ICDBStructNode::CTextId("NPC_CONTROL"), false );
397 nlassert(node
!= NULL
);
398 _NPC_CONTROL
.init(node
);
403 void CBankAccessor_PLR::TUSER::TSKILL_POINTS_::init(ICDBStructNode
*parent
, uint index
)
405 ICDBStructNode
*node
= parent
;
411 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
412 nlassert(node
!= NULL
);
421 void CBankAccessor_PLR::TUSER::TFACTION_POINTS_::init(ICDBStructNode
*parent
, uint index
)
423 ICDBStructNode
*node
= parent
;
429 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
430 nlassert(node
!= NULL
);
439 void CBankAccessor_PLR::TUSER::TRRPS_LEVELS::init(ICDBStructNode
*parent
, uint index
)
441 ICDBStructNode
*node
= parent
;
447 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
448 nlassert(node
!= NULL
);
457 void CBankAccessor_PLR::TUSER::TNPC_CONTROL::init(ICDBStructNode
*parent
)
459 ICDBStructNode
*node
= parent
;
465 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
466 nlassert(node
!= NULL
);
469 node
= parent
->getNode( ICDBStructNode::CTextId("RUN"), false );
470 nlassert(node
!= NULL
);
473 node
= parent
->getNode( ICDBStructNode::CTextId("WALK"), false );
474 nlassert(node
!= NULL
);
483 void CBankAccessor_PLR::TDEFENSE::init(ICDBStructNode
*parent
)
485 ICDBStructNode
*node
= parent
;
491 node
= parent
->getNode( ICDBStructNode::CTextId("DEFENSE_MODE"), false );
492 nlassert(node
!= NULL
);
493 _DEFENSE_MODE
= node
;
495 node
= parent
->getNode( ICDBStructNode::CTextId("PROTECTED_SLOT"), false );
496 nlassert(node
!= NULL
);
497 _PROTECTED_SLOT
= node
;
502 node
= parent
->getNode( ICDBStructNode::CTextId("SLOTS"), false );
503 nlassert(node
!= NULL
);
509 void CBankAccessor_PLR::TDEFENSE::TSLOTS::init(ICDBStructNode
*parent
)
511 ICDBStructNode
*node
= parent
;
520 for (uint i
=0; i
<6; ++i
)
522 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
523 nlassert(node
!= NULL
);
524 _Array
[i
].init(node
, i
);
530 void CBankAccessor_PLR::TDEFENSE::TSLOTS::TArray::init(ICDBStructNode
*parent
, uint index
)
532 ICDBStructNode
*node
= parent
;
538 node
= parent
->getNode( ICDBStructNode::CTextId("MODIFIER"), false );
539 nlassert(node
!= NULL
);
548 void CBankAccessor_PLR::TFLAGS::init(ICDBStructNode
*parent
)
550 ICDBStructNode
*node
= parent
;
556 node
= parent
->getNode( ICDBStructNode::CTextId("CRITICAL"), false );
557 nlassert(node
!= NULL
);
560 node
= parent
->getNode( ICDBStructNode::CTextId("PARRY"), false );
561 nlassert(node
!= NULL
);
564 node
= parent
->getNode( ICDBStructNode::CTextId("DODGE"), false );
565 nlassert(node
!= NULL
);
571 node
= parent
->getNode( ICDBStructNode::CTextId("BRICK_TICK_RANGE"), false );
572 nlassert(node
!= NULL
);
573 _BRICK_TICK_RANGE
.init(node
);
578 void CBankAccessor_PLR::TFLAGS::TBRICK_TICK_RANGE::init(ICDBStructNode
*parent
)
580 ICDBStructNode
*node
= parent
;
589 for (uint i
=0; i
<64; ++i
)
591 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
592 nlassert(node
!= NULL
);
593 _Array
[i
].init(node
, i
);
599 void CBankAccessor_PLR::TFLAGS::TBRICK_TICK_RANGE::TArray::init(ICDBStructNode
*parent
, uint index
)
601 ICDBStructNode
*node
= parent
;
607 node
= parent
->getNode( ICDBStructNode::CTextId("TICK_RANGE"), false );
608 nlassert(node
!= NULL
);
617 void CBankAccessor_PLR::TTARGET::init(ICDBStructNode
*parent
)
619 ICDBStructNode
*node
= parent
;
625 node
= parent
->getNode( ICDBStructNode::CTextId("CONTEXT_VAL"), false );
626 nlassert(node
!= NULL
);
629 node
= parent
->getNode( ICDBStructNode::CTextId("AGGRESSIVE"), false );
630 nlassert(node
!= NULL
);
633 node
= parent
->getNode( ICDBStructNode::CTextId("FORCE_RATIO"), false );
634 nlassert(node
!= NULL
);
640 node
= parent
->getNode( ICDBStructNode::CTextId("BARS"), false );
641 nlassert(node
!= NULL
);
644 node
= parent
->getNode( ICDBStructNode::CTextId("CONTEXT_MENU"), false );
645 nlassert(node
!= NULL
);
646 _CONTEXT_MENU
.init(node
);
651 void CBankAccessor_PLR::TTARGET::TBARS::init(ICDBStructNode
*parent
)
653 ICDBStructNode
*node
= parent
;
659 node
= parent
->getNode( ICDBStructNode::CTextId("UID"), false );
660 nlassert(node
!= NULL
);
663 node
= parent
->getNode( ICDBStructNode::CTextId("HP"), false );
664 nlassert(node
!= NULL
);
667 node
= parent
->getNode( ICDBStructNode::CTextId("SAP"), false );
668 nlassert(node
!= NULL
);
671 node
= parent
->getNode( ICDBStructNode::CTextId("STA"), false );
672 nlassert(node
!= NULL
);
675 node
= parent
->getNode( ICDBStructNode::CTextId("FOCUS"), false );
676 nlassert(node
!= NULL
);
679 node
= parent
->getNode( ICDBStructNode::CTextId("PLAYER_LEVEL"), false );
680 nlassert(node
!= NULL
);
681 _PLAYER_LEVEL
= node
;
689 void CBankAccessor_PLR::TTARGET::TCONTEXT_MENU::init(ICDBStructNode
*parent
)
691 ICDBStructNode
*node
= parent
;
697 node
= parent
->getNode( ICDBStructNode::CTextId("PROGRAMMES"), false );
698 nlassert(node
!= NULL
);
701 node
= parent
->getNode( ICDBStructNode::CTextId("WEB_PAGE_TITLE"), false );
702 nlassert(node
!= NULL
);
703 _WEB_PAGE_TITLE
= node
;
705 node
= parent
->getNode( ICDBStructNode::CTextId("WEB_PAGE_URL"), false );
706 nlassert(node
!= NULL
);
707 _WEB_PAGE_URL
= node
;
709 node
= parent
->getNode( ICDBStructNode::CTextId("OUTPOST"), false );
710 nlassert(node
!= NULL
);
713 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
714 nlassert(node
!= NULL
);
720 node
= parent
->getNode( ICDBStructNode::CTextId("MISSIONS_OPTIONS"), false );
721 nlassert(node
!= NULL
);
722 _MISSIONS_OPTIONS
.init(node
);
724 node
= parent
->getNode( ICDBStructNode::CTextId("MISSION_RING"), false );
725 nlassert(node
!= NULL
);
726 _MISSION_RING
.init(node
);
731 void CBankAccessor_PLR::TTARGET::TCONTEXT_MENU::TMISSIONS_OPTIONS::init(ICDBStructNode
*parent
)
733 ICDBStructNode
*node
= parent
;
742 for (uint i
=0; i
<8; ++i
)
744 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
745 nlassert(node
!= NULL
);
746 _Array
[i
].init(node
, i
);
752 void CBankAccessor_PLR::TTARGET::TCONTEXT_MENU::TMISSIONS_OPTIONS::TArray::init(ICDBStructNode
*parent
, uint index
)
754 ICDBStructNode
*node
= parent
;
760 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
761 nlassert(node
!= NULL
);
764 node
= parent
->getNode( ICDBStructNode::CTextId("PLAYER_GIFT_NEEDED"), false );
765 nlassert(node
!= NULL
);
766 _PLAYER_GIFT_NEEDED
= node
;
768 node
= parent
->getNode( ICDBStructNode::CTextId("PRIORITY"), false );
769 nlassert(node
!= NULL
);
778 void CBankAccessor_PLR::TTARGET::TCONTEXT_MENU::TMISSION_RING::init(ICDBStructNode
*parent
)
780 ICDBStructNode
*node
= parent
;
789 for (uint i
=0; i
<4; ++i
)
791 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
792 nlassert(node
!= NULL
);
793 _Array
[i
].init(node
, i
);
799 void CBankAccessor_PLR::TTARGET::TCONTEXT_MENU::TMISSION_RING::TArray::init(ICDBStructNode
*parent
, uint index
)
801 ICDBStructNode
*node
= parent
;
807 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
808 nlassert(node
!= NULL
);
811 node
= parent
->getNode( ICDBStructNode::CTextId("ID"), false );
812 nlassert(node
!= NULL
);
821 void CBankAccessor_PLR::TGROUP::init(ICDBStructNode
*parent
)
823 ICDBStructNode
*node
= parent
;
829 node
= parent
->getNode( ICDBStructNode::CTextId("LEADER_INDEX"), false );
830 nlassert(node
!= NULL
);
831 _LEADER_INDEX
= node
;
833 node
= parent
->getNode( ICDBStructNode::CTextId("SUCCESSOR_INDEX"), false );
834 nlassert(node
!= NULL
);
835 _SUCCESSOR_INDEX
= node
;
840 for (uint i
=0; i
<8; ++i
)
842 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
843 nlassert(node
!= NULL
);
844 _Array
[i
].init(node
, i
);
847 node
= parent
->getNode( ICDBStructNode::CTextId("MISSIONS"), false );
848 nlassert(node
!= NULL
);
849 _MISSIONS
.init(node
);
854 void CBankAccessor_PLR::TGROUP::TArray::init(ICDBStructNode
*parent
, uint index
)
856 ICDBStructNode
*node
= parent
;
862 node
= parent
->getNode( ICDBStructNode::CTextId("PRESENT"), false );
863 nlassert(node
!= NULL
);
866 node
= parent
->getNode( ICDBStructNode::CTextId("UID"), false );
867 nlassert(node
!= NULL
);
870 node
= parent
->getNode( ICDBStructNode::CTextId("NAME"), false );
871 nlassert(node
!= NULL
);
874 node
= parent
->getNode( ICDBStructNode::CTextId("HP"), false );
875 nlassert(node
!= NULL
);
878 node
= parent
->getNode( ICDBStructNode::CTextId("SAP"), false );
879 nlassert(node
!= NULL
);
882 node
= parent
->getNode( ICDBStructNode::CTextId("STA"), false );
883 nlassert(node
!= NULL
);
886 node
= parent
->getNode( ICDBStructNode::CTextId("POS"), false );
887 nlassert(node
!= NULL
);
896 void CBankAccessor_PLR::TGROUP::TMISSIONS::init(ICDBStructNode
*parent
)
898 ICDBStructNode
*node
= parent
;
907 for (uint i
=0; i
<15; ++i
)
909 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
910 nlassert(node
!= NULL
);
911 _Array
[i
].init(node
, i
);
917 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::init(ICDBStructNode
*parent
, uint index
)
919 ICDBStructNode
*node
= parent
;
925 node
= parent
->getNode( ICDBStructNode::CTextId("TYPE"), false );
926 nlassert(node
!= NULL
);
929 node
= parent
->getNode( ICDBStructNode::CTextId("ICON"), false );
930 nlassert(node
!= NULL
);
933 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
934 nlassert(node
!= NULL
);
937 node
= parent
->getNode( ICDBStructNode::CTextId("DETAIL_TEXT"), false );
938 nlassert(node
!= NULL
);
941 node
= parent
->getNode( ICDBStructNode::CTextId("BEGIN_DATE"), false );
942 nlassert(node
!= NULL
);
945 node
= parent
->getNode( ICDBStructNode::CTextId("END_DATE"), false );
946 nlassert(node
!= NULL
);
949 node
= parent
->getNode( ICDBStructNode::CTextId("OR_STEPS"), false );
950 nlassert(node
!= NULL
);
953 node
= parent
->getNode( ICDBStructNode::CTextId("FINISHED"), false );
954 nlassert(node
!= NULL
);
957 node
= parent
->getNode( ICDBStructNode::CTextId("ABANDONNABLE"), false );
958 nlassert(node
!= NULL
);
959 _ABANDONNABLE
= node
;
961 node
= parent
->getNode( ICDBStructNode::CTextId("SLEEP"), false );
962 nlassert(node
!= NULL
);
968 node
= parent
->getNode( ICDBStructNode::CTextId("GOALS"), false );
969 nlassert(node
!= NULL
);
972 for (uint i
=0; i
<8; ++i
)
974 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("TARGET%u", i
)), false );
975 nlassert(node
!= NULL
);
976 _TARGET
[i
].init(node
, i
);
979 node
= parent
->getNode( ICDBStructNode::CTextId("HISTO"), false );
980 nlassert(node
!= NULL
);
986 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::TGOALS::init(ICDBStructNode
*parent
)
988 ICDBStructNode
*node
= parent
;
997 for (uint i
=0; i
<20; ++i
)
999 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1000 nlassert(node
!= NULL
);
1001 _Array
[i
].init(node
, i
);
1007 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::TGOALS::TArray::init(ICDBStructNode
*parent
, uint index
)
1009 ICDBStructNode
*node
= parent
;
1015 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
1016 nlassert(node
!= NULL
);
1019 node
= parent
->getNode( ICDBStructNode::CTextId("NPC_ALIAS"), false );
1020 nlassert(node
!= NULL
);
1029 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::TTARGET::init(ICDBStructNode
*parent
, uint index
)
1031 ICDBStructNode
*node
= parent
;
1037 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
1038 nlassert(node
!= NULL
);
1041 node
= parent
->getNode( ICDBStructNode::CTextId("X"), false );
1042 nlassert(node
!= NULL
);
1045 node
= parent
->getNode( ICDBStructNode::CTextId("Y"), false );
1046 nlassert(node
!= NULL
);
1055 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::THISTO::init(ICDBStructNode
*parent
)
1057 ICDBStructNode
*node
= parent
;
1066 for (uint i
=0; i
<30; ++i
)
1068 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1069 nlassert(node
!= NULL
);
1070 _Array
[i
].init(node
, i
);
1076 void CBankAccessor_PLR::TGROUP::TMISSIONS::TArray::THISTO::TArray::init(ICDBStructNode
*parent
, uint index
)
1078 ICDBStructNode
*node
= parent
;
1084 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
1085 nlassert(node
!= NULL
);
1094 void CBankAccessor_PLR::TDM_GIFT::init(ICDBStructNode
*parent
)
1096 ICDBStructNode
*node
= parent
;
1102 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
1103 nlassert(node
!= NULL
);
1112 void CBankAccessor_PLR::TEXCHANGE::init(ICDBStructNode
*parent
)
1114 ICDBStructNode
*node
= parent
;
1120 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
1121 nlassert(node
!= NULL
);
1124 node
= parent
->getNode( ICDBStructNode::CTextId("ID"), false );
1125 nlassert(node
!= NULL
);
1128 node
= parent
->getNode( ICDBStructNode::CTextId("BEGUN"), false );
1129 nlassert(node
!= NULL
);
1132 node
= parent
->getNode( ICDBStructNode::CTextId("ACCEPTED"), false );
1133 nlassert(node
!= NULL
);
1136 node
= parent
->getNode( ICDBStructNode::CTextId("MONEY"), false );
1137 nlassert(node
!= NULL
);
1140 node
= parent
->getNode( ICDBStructNode::CTextId("FORCE_REFUSE"), false );
1141 nlassert(node
!= NULL
);
1142 _FORCE_REFUSE
= node
;
1144 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
1145 nlassert(node
!= NULL
);
1151 node
= parent
->getNode( ICDBStructNode::CTextId("GIVE"), false );
1152 nlassert(node
!= NULL
);
1155 node
= parent
->getNode( ICDBStructNode::CTextId("RECEIVE"), false );
1156 nlassert(node
!= NULL
);
1157 _RECEIVE
.init(node
);
1162 void CBankAccessor_PLR::TEXCHANGE::TGIVE::init(ICDBStructNode
*parent
)
1164 ICDBStructNode
*node
= parent
;
1173 for (uint i
=0; i
<10; ++i
)
1175 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1176 nlassert(node
!= NULL
);
1177 _Array
[i
].init(node
, i
);
1183 void CBankAccessor_PLR::TEXCHANGE::TGIVE::TArray::init(ICDBStructNode
*parent
, uint index
)
1185 ICDBStructNode
*node
= parent
;
1191 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1192 nlassert(node
!= NULL
);
1195 node
= parent
->getNode( ICDBStructNode::CTextId("QUALITY"), false );
1196 nlassert(node
!= NULL
);
1199 node
= parent
->getNode( ICDBStructNode::CTextId("QUANTITY"), false );
1200 nlassert(node
!= NULL
);
1203 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
1204 nlassert(node
!= NULL
);
1205 _CREATE_TIME
= node
;
1207 node
= parent
->getNode( ICDBStructNode::CTextId("SERIAL"), false );
1208 nlassert(node
!= NULL
);
1211 node
= parent
->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
1212 nlassert(node
!= NULL
);
1215 node
= parent
->getNode( ICDBStructNode::CTextId("WEIGHT"), false );
1216 nlassert(node
!= NULL
);
1219 node
= parent
->getNode( ICDBStructNode::CTextId("NAMEID"), false );
1220 nlassert(node
!= NULL
);
1223 node
= parent
->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
1224 nlassert(node
!= NULL
);
1225 _INFO_VERSION
= node
;
1227 node
= parent
->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
1228 nlassert(node
!= NULL
);
1231 node
= parent
->getNode( ICDBStructNode::CTextId("RM_CLASS_TYPE"), false );
1232 nlassert(node
!= NULL
);
1233 _RM_CLASS_TYPE
= node
;
1235 node
= parent
->getNode( ICDBStructNode::CTextId("RM_FABER_STAT_TYPE"), false );
1236 nlassert(node
!= NULL
);
1237 _RM_FABER_STAT_TYPE
= node
;
1239 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQUISIT_VALID"), false );
1240 nlassert(node
!= NULL
);
1241 _PREREQUISIT_VALID
= node
;
1249 void CBankAccessor_PLR::TEXCHANGE::TRECEIVE::init(ICDBStructNode
*parent
)
1251 ICDBStructNode
*node
= parent
;
1260 for (uint i
=0; i
<10; ++i
)
1262 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1263 nlassert(node
!= NULL
);
1264 _Array
[i
].init(node
, i
);
1270 void CBankAccessor_PLR::TEXCHANGE::TRECEIVE::TArray::init(ICDBStructNode
*parent
, uint index
)
1272 ICDBStructNode
*node
= parent
;
1278 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1279 nlassert(node
!= NULL
);
1282 node
= parent
->getNode( ICDBStructNode::CTextId("QUALITY"), false );
1283 nlassert(node
!= NULL
);
1286 node
= parent
->getNode( ICDBStructNode::CTextId("QUANTITY"), false );
1287 nlassert(node
!= NULL
);
1290 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
1291 nlassert(node
!= NULL
);
1292 _CREATE_TIME
= node
;
1294 node
= parent
->getNode( ICDBStructNode::CTextId("SERIAL"), false );
1295 nlassert(node
!= NULL
);
1298 node
= parent
->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
1299 nlassert(node
!= NULL
);
1302 node
= parent
->getNode( ICDBStructNode::CTextId("WEIGHT"), false );
1303 nlassert(node
!= NULL
);
1306 node
= parent
->getNode( ICDBStructNode::CTextId("NAMEID"), false );
1307 nlassert(node
!= NULL
);
1310 node
= parent
->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
1311 nlassert(node
!= NULL
);
1312 _INFO_VERSION
= node
;
1314 node
= parent
->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
1315 nlassert(node
!= NULL
);
1318 node
= parent
->getNode( ICDBStructNode::CTextId("RM_CLASS_TYPE"), false );
1319 nlassert(node
!= NULL
);
1320 _RM_CLASS_TYPE
= node
;
1322 node
= parent
->getNode( ICDBStructNode::CTextId("RM_FABER_STAT_TYPE"), false );
1323 nlassert(node
!= NULL
);
1324 _RM_FABER_STAT_TYPE
= node
;
1326 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQUISIT_VALID"), false );
1327 nlassert(node
!= NULL
);
1328 _PREREQUISIT_VALID
= node
;
1336 void CBankAccessor_PLR::TINVENTORY::init(ICDBStructNode
*parent
)
1338 ICDBStructNode
*node
= parent
;
1344 node
= parent
->getNode( ICDBStructNode::CTextId("MONEY"), false );
1345 nlassert(node
!= NULL
);
1348 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
1349 nlassert(node
!= NULL
);
1355 node
= parent
->getNode( ICDBStructNode::CTextId("HAND"), false );
1356 nlassert(node
!= NULL
);
1359 node
= parent
->getNode( ICDBStructNode::CTextId("EQUIP"), false );
1360 nlassert(node
!= NULL
);
1363 node
= parent
->getNode( ICDBStructNode::CTextId("HOTBAR"), false );
1364 nlassert(node
!= NULL
);
1367 node
= parent
->getNode( ICDBStructNode::CTextId("TEMP"), false );
1368 nlassert(node
!= NULL
);
1371 node
= parent
->getNode( ICDBStructNode::CTextId("SHARE"), false );
1372 nlassert(node
!= NULL
);
1375 node
= parent
->getNode( ICDBStructNode::CTextId("ROOM"), false );
1376 nlassert(node
!= NULL
);
1382 void CBankAccessor_PLR::TINVENTORY::THAND::init(ICDBStructNode
*parent
)
1384 ICDBStructNode
*node
= parent
;
1393 for (uint i
=0; i
<2; ++i
)
1395 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1396 nlassert(node
!= NULL
);
1397 _Array
[i
].init(node
, i
);
1403 void CBankAccessor_PLR::TINVENTORY::THAND::TArray::init(ICDBStructNode
*parent
, uint index
)
1405 ICDBStructNode
*node
= parent
;
1411 node
= parent
->getNode( ICDBStructNode::CTextId("INDEX_IN_BAG"), false );
1412 nlassert(node
!= NULL
);
1413 _INDEX_IN_BAG
= node
;
1421 void CBankAccessor_PLR::TINVENTORY::TEQUIP::init(ICDBStructNode
*parent
)
1423 ICDBStructNode
*node
= parent
;
1432 for (uint i
=0; i
<19; ++i
)
1434 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1435 nlassert(node
!= NULL
);
1436 _Array
[i
].init(node
, i
);
1442 void CBankAccessor_PLR::TINVENTORY::TEQUIP::TArray::init(ICDBStructNode
*parent
, uint index
)
1444 ICDBStructNode
*node
= parent
;
1450 node
= parent
->getNode( ICDBStructNode::CTextId("INDEX_IN_BAG"), false );
1451 nlassert(node
!= NULL
);
1452 _INDEX_IN_BAG
= node
;
1460 void CBankAccessor_PLR::TINVENTORY::THOTBAR::init(ICDBStructNode
*parent
)
1462 ICDBStructNode
*node
= parent
;
1471 for (uint i
=0; i
<5; ++i
)
1473 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1474 nlassert(node
!= NULL
);
1475 _Array
[i
].init(node
, i
);
1481 void CBankAccessor_PLR::TINVENTORY::THOTBAR::TArray::init(ICDBStructNode
*parent
, uint index
)
1483 ICDBStructNode
*node
= parent
;
1489 node
= parent
->getNode( ICDBStructNode::CTextId("INDEX_IN_BAG"), false );
1490 nlassert(node
!= NULL
);
1491 _INDEX_IN_BAG
= node
;
1499 void CBankAccessor_PLR::TINVENTORY::TTEMP::init(ICDBStructNode
*parent
)
1501 ICDBStructNode
*node
= parent
;
1507 node
= parent
->getNode( ICDBStructNode::CTextId("TYPE"), false );
1508 nlassert(node
!= NULL
);
1511 node
= parent
->getNode( ICDBStructNode::CTextId("ENABLE_TAKE"), false );
1512 nlassert(node
!= NULL
);
1513 _ENABLE_TAKE
= node
;
1518 for (uint i
=0; i
<16; ++i
)
1520 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1521 nlassert(node
!= NULL
);
1522 _Array
[i
].init(node
, i
);
1528 void CBankAccessor_PLR::TINVENTORY::TTEMP::TArray::init(ICDBStructNode
*parent
, uint index
)
1530 ICDBStructNode
*node
= parent
;
1536 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1537 nlassert(node
!= NULL
);
1540 node
= parent
->getNode( ICDBStructNode::CTextId("QUALITY"), false );
1541 nlassert(node
!= NULL
);
1544 node
= parent
->getNode( ICDBStructNode::CTextId("QUANTITY"), false );
1545 nlassert(node
!= NULL
);
1548 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
1549 nlassert(node
!= NULL
);
1550 _CREATE_TIME
= node
;
1552 node
= parent
->getNode( ICDBStructNode::CTextId("SERIAL"), false );
1553 nlassert(node
!= NULL
);
1556 node
= parent
->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
1557 nlassert(node
!= NULL
);
1560 node
= parent
->getNode( ICDBStructNode::CTextId("WEIGHT"), false );
1561 nlassert(node
!= NULL
);
1564 node
= parent
->getNode( ICDBStructNode::CTextId("NAMEID"), false );
1565 nlassert(node
!= NULL
);
1568 node
= parent
->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
1569 nlassert(node
!= NULL
);
1570 _INFO_VERSION
= node
;
1572 node
= parent
->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
1573 nlassert(node
!= NULL
);
1576 node
= parent
->getNode( ICDBStructNode::CTextId("RM_CLASS_TYPE"), false );
1577 nlassert(node
!= NULL
);
1578 _RM_CLASS_TYPE
= node
;
1580 node
= parent
->getNode( ICDBStructNode::CTextId("RM_FABER_STAT_TYPE"), false );
1581 nlassert(node
!= NULL
);
1582 _RM_FABER_STAT_TYPE
= node
;
1584 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQUISIT_VALID"), false );
1585 nlassert(node
!= NULL
);
1586 _PREREQUISIT_VALID
= node
;
1594 void CBankAccessor_PLR::TINVENTORY::TSHARE::init(ICDBStructNode
*parent
)
1596 ICDBStructNode
*node
= parent
;
1602 node
= parent
->getNode( ICDBStructNode::CTextId("SESSION"), false );
1603 nlassert(node
!= NULL
);
1609 for (uint i
=0; i
<16; ++i
)
1611 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1612 nlassert(node
!= NULL
);
1613 _Array
[i
].init(node
, i
);
1616 for (uint i
=0; i
<8; ++i
)
1618 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("TM_%u", i
)), false );
1619 nlassert(node
!= NULL
);
1620 _TM_
[i
].init(node
, i
);
1626 void CBankAccessor_PLR::TINVENTORY::TSHARE::TArray::init(ICDBStructNode
*parent
, uint index
)
1628 ICDBStructNode
*node
= parent
;
1634 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1635 nlassert(node
!= NULL
);
1638 node
= parent
->getNode( ICDBStructNode::CTextId("QUALITY"), false );
1639 nlassert(node
!= NULL
);
1642 node
= parent
->getNode( ICDBStructNode::CTextId("QUANTITY"), false );
1643 nlassert(node
!= NULL
);
1646 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
1647 nlassert(node
!= NULL
);
1648 _CREATE_TIME
= node
;
1650 node
= parent
->getNode( ICDBStructNode::CTextId("SERIAL"), false );
1651 nlassert(node
!= NULL
);
1654 node
= parent
->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
1655 nlassert(node
!= NULL
);
1658 node
= parent
->getNode( ICDBStructNode::CTextId("WEIGHT"), false );
1659 nlassert(node
!= NULL
);
1662 node
= parent
->getNode( ICDBStructNode::CTextId("NAMEID"), false );
1663 nlassert(node
!= NULL
);
1666 node
= parent
->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
1667 nlassert(node
!= NULL
);
1668 _INFO_VERSION
= node
;
1670 node
= parent
->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
1671 nlassert(node
!= NULL
);
1674 node
= parent
->getNode( ICDBStructNode::CTextId("RM_CLASS_TYPE"), false );
1675 nlassert(node
!= NULL
);
1676 _RM_CLASS_TYPE
= node
;
1678 node
= parent
->getNode( ICDBStructNode::CTextId("RM_FABER_STAT_TYPE"), false );
1679 nlassert(node
!= NULL
);
1680 _RM_FABER_STAT_TYPE
= node
;
1682 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQUISIT_VALID"), false );
1683 nlassert(node
!= NULL
);
1684 _PREREQUISIT_VALID
= node
;
1686 node
= parent
->getNode( ICDBStructNode::CTextId("NB_MEMBER"), false );
1687 nlassert(node
!= NULL
);
1690 node
= parent
->getNode( ICDBStructNode::CTextId("WANTED"), false );
1691 nlassert(node
!= NULL
);
1694 node
= parent
->getNode( ICDBStructNode::CTextId("CHANCE"), false );
1695 nlassert(node
!= NULL
);
1704 void CBankAccessor_PLR::TINVENTORY::TSHARE::TTM_::init(ICDBStructNode
*parent
, uint index
)
1706 ICDBStructNode
*node
= parent
;
1712 node
= parent
->getNode( ICDBStructNode::CTextId("NAME"), false );
1713 nlassert(node
!= NULL
);
1716 node
= parent
->getNode( ICDBStructNode::CTextId("VALID"), false );
1717 nlassert(node
!= NULL
);
1726 void CBankAccessor_PLR::TINVENTORY::TROOM::init(ICDBStructNode
*parent
)
1728 ICDBStructNode
*node
= parent
;
1734 node
= parent
->getNode( ICDBStructNode::CTextId("SESSION"), false );
1735 nlassert(node
!= NULL
);
1738 node
= parent
->getNode( ICDBStructNode::CTextId("BULK_MAX"), false );
1739 nlassert(node
!= NULL
);
1742 node
= parent
->getNode( ICDBStructNode::CTextId("MONEY"), false );
1743 nlassert(node
!= NULL
);
1752 void CBankAccessor_PLR::TMODIFIERS::init(ICDBStructNode
*parent
)
1754 ICDBStructNode
*node
= parent
;
1760 node
= parent
->getNode( ICDBStructNode::CTextId("TOTAL_MALUS_EQUIP"), false );
1761 nlassert(node
!= NULL
);
1762 _TOTAL_MALUS_EQUIP
= node
;
1767 node
= parent
->getNode( ICDBStructNode::CTextId("BONUS"), false );
1768 nlassert(node
!= NULL
);
1771 node
= parent
->getNode( ICDBStructNode::CTextId("MALUS"), false );
1772 nlassert(node
!= NULL
);
1778 void CBankAccessor_PLR::TMODIFIERS::TBONUS::init(ICDBStructNode
*parent
)
1780 ICDBStructNode
*node
= parent
;
1789 for (uint i
=0; i
<12; ++i
)
1791 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1792 nlassert(node
!= NULL
);
1793 _Array
[i
].init(node
, i
);
1799 void CBankAccessor_PLR::TMODIFIERS::TBONUS::TArray::init(ICDBStructNode
*parent
, uint index
)
1801 ICDBStructNode
*node
= parent
;
1807 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1808 nlassert(node
!= NULL
);
1811 node
= parent
->getNode( ICDBStructNode::CTextId("DISABLED"), false );
1812 nlassert(node
!= NULL
);
1815 node
= parent
->getNode( ICDBStructNode::CTextId("DISABLED_TIME"), false );
1816 nlassert(node
!= NULL
);
1817 _DISABLED_TIME
= node
;
1825 void CBankAccessor_PLR::TMODIFIERS::TMALUS::init(ICDBStructNode
*parent
)
1827 ICDBStructNode
*node
= parent
;
1836 for (uint i
=0; i
<12; ++i
)
1838 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1839 nlassert(node
!= NULL
);
1840 _Array
[i
].init(node
, i
);
1846 void CBankAccessor_PLR::TMODIFIERS::TMALUS::TArray::init(ICDBStructNode
*parent
, uint index
)
1848 ICDBStructNode
*node
= parent
;
1854 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
1855 nlassert(node
!= NULL
);
1858 node
= parent
->getNode( ICDBStructNode::CTextId("DISABLED"), false );
1859 nlassert(node
!= NULL
);
1862 node
= parent
->getNode( ICDBStructNode::CTextId("DISABLED_TIME"), false );
1863 nlassert(node
!= NULL
);
1864 _DISABLED_TIME
= node
;
1872 void CBankAccessor_PLR::TDISABLE_CONSUMABLE::init(ICDBStructNode
*parent
)
1874 ICDBStructNode
*node
= parent
;
1883 for (uint i
=0; i
<12; ++i
)
1885 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1886 nlassert(node
!= NULL
);
1887 _Array
[i
].init(node
, i
);
1893 void CBankAccessor_PLR::TDISABLE_CONSUMABLE::TArray::init(ICDBStructNode
*parent
, uint index
)
1895 ICDBStructNode
*node
= parent
;
1901 node
= parent
->getNode( ICDBStructNode::CTextId("FAMILY"), false );
1902 nlassert(node
!= NULL
);
1905 node
= parent
->getNode( ICDBStructNode::CTextId("DISABLE_TIME"), false );
1906 nlassert(node
!= NULL
);
1907 _DISABLE_TIME
= node
;
1915 void CBankAccessor_PLR::TBOTCHAT::init(ICDBStructNode
*parent
)
1917 ICDBStructNode
*node
= parent
;
1923 node
= parent
->getNode( ICDBStructNode::CTextId("PLAYER_GIFT"), false );
1924 nlassert(node
!= NULL
);
1925 _PLAYER_GIFT
= node
;
1927 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_GUILD"), false );
1928 nlassert(node
!= NULL
);
1929 _CREATE_GUILD
= node
;
1931 node
= parent
->getNode( ICDBStructNode::CTextId("TRADE"), false );
1932 nlassert(node
!= NULL
);
1935 node
= parent
->getNode( ICDBStructNode::CTextId("CHOOSE_MISSION"), false );
1936 nlassert(node
!= NULL
);
1937 _CHOOSE_MISSION
= node
;
1939 node
= parent
->getNode( ICDBStructNode::CTextId("DM_TITLE"), false );
1940 nlassert(node
!= NULL
);
1943 node
= parent
->getNode( ICDBStructNode::CTextId("DM_DESCRIPTION"), false );
1944 nlassert(node
!= NULL
);
1945 _DM_DESCRIPTION
= node
;
1947 node
= parent
->getNode( ICDBStructNode::CTextId("ROLEMASTER_TYPE"), false );
1948 nlassert(node
!= NULL
);
1949 _ROLEMASTER_TYPE
= node
;
1954 for (uint i
=0; i
<3; ++i
)
1956 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("DM_CHOICE%u", i
)), false );
1957 nlassert(node
!= NULL
);
1958 _DM_CHOICE
[i
].init(node
, i
);
1964 void CBankAccessor_PLR::TBOTCHAT::TDM_CHOICE::init(ICDBStructNode
*parent
, uint index
)
1966 ICDBStructNode
*node
= parent
;
1972 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
1973 nlassert(node
!= NULL
);
1979 for (uint i
=0; i
<8; ++i
)
1981 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
1982 nlassert(node
!= NULL
);
1983 _Array
[i
].init(node
, i
);
1989 void CBankAccessor_PLR::TBOTCHAT::TDM_CHOICE::TArray::init(ICDBStructNode
*parent
, uint index
)
1991 ICDBStructNode
*node
= parent
;
1997 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
1998 nlassert(node
!= NULL
);
2007 void CBankAccessor_PLR::TASCENSOR::init(ICDBStructNode
*parent
)
2009 ICDBStructNode
*node
= parent
;
2015 node
= parent
->getNode( ICDBStructNode::CTextId("SESSION"), false );
2016 nlassert(node
!= NULL
);
2019 node
= parent
->getNode( ICDBStructNode::CTextId("PAGE_ID"), false );
2020 nlassert(node
!= NULL
);
2023 node
= parent
->getNode( ICDBStructNode::CTextId("HAS_NEXT"), false );
2024 nlassert(node
!= NULL
);
2030 for (uint i
=0; i
<8; ++i
)
2032 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2033 nlassert(node
!= NULL
);
2034 _Array
[i
].init(node
, i
);
2040 void CBankAccessor_PLR::TASCENSOR::TArray::init(ICDBStructNode
*parent
, uint index
)
2042 ICDBStructNode
*node
= parent
;
2048 node
= parent
->getNode( ICDBStructNode::CTextId("ICON"), false );
2049 nlassert(node
!= NULL
);
2052 node
= parent
->getNode( ICDBStructNode::CTextId("NAME"), false );
2053 nlassert(node
!= NULL
);
2062 void CBankAccessor_PLR::TCHOOSE_MISSIONS::init(ICDBStructNode
*parent
)
2064 ICDBStructNode
*node
= parent
;
2070 node
= parent
->getNode( ICDBStructNode::CTextId("SESSION"), false );
2071 nlassert(node
!= NULL
);
2074 node
= parent
->getNode( ICDBStructNode::CTextId("PAGE_ID"), false );
2075 nlassert(node
!= NULL
);
2078 node
= parent
->getNode( ICDBStructNode::CTextId("HAS_NEXT"), false );
2079 nlassert(node
!= NULL
);
2085 for (uint i
=0; i
<8; ++i
)
2087 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2088 nlassert(node
!= NULL
);
2089 _Array
[i
].init(node
, i
);
2095 void CBankAccessor_PLR::TCHOOSE_MISSIONS::TArray::init(ICDBStructNode
*parent
, uint index
)
2097 ICDBStructNode
*node
= parent
;
2103 node
= parent
->getNode( ICDBStructNode::CTextId("ICON"), false );
2104 nlassert(node
!= NULL
);
2107 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
2108 nlassert(node
!= NULL
);
2111 node
= parent
->getNode( ICDBStructNode::CTextId("DETAIL_TEXT"), false );
2112 nlassert(node
!= NULL
);
2113 _DETAIL_TEXT
= node
;
2115 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQ_STATE"), false );
2116 nlassert(node
!= NULL
);
2117 _PREREQ_STATE
= node
;
2125 void CBankAccessor_PLR::TTRADING::init(ICDBStructNode
*parent
)
2127 ICDBStructNode
*node
= parent
;
2133 node
= parent
->getNode( ICDBStructNode::CTextId("SESSION"), false );
2134 nlassert(node
!= NULL
);
2137 node
= parent
->getNode( ICDBStructNode::CTextId("PAGE_ID"), false );
2138 nlassert(node
!= NULL
);
2141 node
= parent
->getNode( ICDBStructNode::CTextId("HAS_NEXT"), false );
2142 nlassert(node
!= NULL
);
2145 node
= parent
->getNode( ICDBStructNode::CTextId("ROLEMASTER_FLAGS"), false );
2146 nlassert(node
!= NULL
);
2147 _ROLEMASTER_FLAGS
= node
;
2149 node
= parent
->getNode( ICDBStructNode::CTextId("ROLEMASTER_RACE"), false );
2150 nlassert(node
!= NULL
);
2151 _ROLEMASTER_RACE
= node
;
2153 node
= parent
->getNode( ICDBStructNode::CTextId("BUILDING_LOSS_WARNING"), false );
2154 nlassert(node
!= NULL
);
2155 _BUILDING_LOSS_WARNING
= node
;
2157 node
= parent
->getNode( ICDBStructNode::CTextId("RAW_MATERIAL_SELLER"), false );
2158 nlassert(node
!= NULL
);
2159 _RAW_MATERIAL_SELLER
= node
;
2161 node
= parent
->getNode( ICDBStructNode::CTextId("ITEM_TYPE_SELLER_BITFILED_0_63"), false );
2162 nlassert(node
!= NULL
);
2163 _ITEM_TYPE_SELLER_BITFILED_0_63
= node
;
2165 node
= parent
->getNode( ICDBStructNode::CTextId("ITEM_TYPE_SELLER_BITFILED_64_127"), false );
2166 nlassert(node
!= NULL
);
2167 _ITEM_TYPE_SELLER_BITFILED_64_127
= node
;
2169 node
= parent
->getNode( ICDBStructNode::CTextId("FAME_PRICE_FACTOR"), false );
2170 nlassert(node
!= NULL
);
2171 _FAME_PRICE_FACTOR
= node
;
2176 for (uint i
=0; i
<8; ++i
)
2178 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2179 nlassert(node
!= NULL
);
2180 _Array
[i
].init(node
, i
);
2186 void CBankAccessor_PLR::TTRADING::TArray::init(ICDBStructNode
*parent
, uint index
)
2188 ICDBStructNode
*node
= parent
;
2194 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
2195 nlassert(node
!= NULL
);
2198 node
= parent
->getNode( ICDBStructNode::CTextId("QUALITY"), false );
2199 nlassert(node
!= NULL
);
2202 node
= parent
->getNode( ICDBStructNode::CTextId("QUANTITY"), false );
2203 nlassert(node
!= NULL
);
2206 node
= parent
->getNode( ICDBStructNode::CTextId("CREATE_TIME"), false );
2207 nlassert(node
!= NULL
);
2208 _CREATE_TIME
= node
;
2210 node
= parent
->getNode( ICDBStructNode::CTextId("SERIAL"), false );
2211 nlassert(node
!= NULL
);
2214 node
= parent
->getNode( ICDBStructNode::CTextId("USER_COLOR"), false );
2215 nlassert(node
!= NULL
);
2218 node
= parent
->getNode( ICDBStructNode::CTextId("WEIGHT"), false );
2219 nlassert(node
!= NULL
);
2222 node
= parent
->getNode( ICDBStructNode::CTextId("NAMEID"), false );
2223 nlassert(node
!= NULL
);
2226 node
= parent
->getNode( ICDBStructNode::CTextId("INFO_VERSION"), false );
2227 nlassert(node
!= NULL
);
2228 _INFO_VERSION
= node
;
2230 node
= parent
->getNode( ICDBStructNode::CTextId("ENCHANT"), false );
2231 nlassert(node
!= NULL
);
2234 node
= parent
->getNode( ICDBStructNode::CTextId("RM_CLASS_TYPE"), false );
2235 nlassert(node
!= NULL
);
2236 _RM_CLASS_TYPE
= node
;
2238 node
= parent
->getNode( ICDBStructNode::CTextId("RM_FABER_STAT_TYPE"), false );
2239 nlassert(node
!= NULL
);
2240 _RM_FABER_STAT_TYPE
= node
;
2242 node
= parent
->getNode( ICDBStructNode::CTextId("PREREQUISIT_VALID"), false );
2243 nlassert(node
!= NULL
);
2244 _PREREQUISIT_VALID
= node
;
2246 node
= parent
->getNode( ICDBStructNode::CTextId("CURRENCY"), false );
2247 nlassert(node
!= NULL
);
2250 node
= parent
->getNode( ICDBStructNode::CTextId("RRP_LEVEL"), false );
2251 nlassert(node
!= NULL
);
2254 node
= parent
->getNode( ICDBStructNode::CTextId("MONEY_SHEET"), false );
2255 nlassert(node
!= NULL
);
2256 _MONEY_SHEET
= node
;
2258 node
= parent
->getNode( ICDBStructNode::CTextId("BASE_SKILL"), false );
2259 nlassert(node
!= NULL
);
2262 node
= parent
->getNode( ICDBStructNode::CTextId("FACTION_TYPE"), false );
2263 nlassert(node
!= NULL
);
2264 _FACTION_TYPE
= node
;
2266 node
= parent
->getNode( ICDBStructNode::CTextId("PRICE"), false );
2267 nlassert(node
!= NULL
);
2270 node
= parent
->getNode( ICDBStructNode::CTextId("PRICE_RETIRE"), false );
2271 nlassert(node
!= NULL
);
2272 _PRICE_RETIRE
= node
;
2274 node
= parent
->getNode( ICDBStructNode::CTextId("RESALE_TIME_LEFT"), false );
2275 nlassert(node
!= NULL
);
2276 _RESALE_TIME_LEFT
= node
;
2278 node
= parent
->getNode( ICDBStructNode::CTextId("VENDOR_NAMEID"), false );
2279 nlassert(node
!= NULL
);
2280 _VENDOR_NAMEID
= node
;
2282 node
= parent
->getNode( ICDBStructNode::CTextId("FACTION_POINT_PRICE"), false );
2283 nlassert(node
!= NULL
);
2284 _FACTION_POINT_PRICE
= node
;
2286 node
= parent
->getNode( ICDBStructNode::CTextId("SLOT_TYPE"), false );
2287 nlassert(node
!= NULL
);
2290 node
= parent
->getNode( ICDBStructNode::CTextId("SELLER_TYPE"), false );
2291 nlassert(node
!= NULL
);
2292 _SELLER_TYPE
= node
;
2300 void CBankAccessor_PLR::TBRICK_FAMILY::init(ICDBStructNode
*parent
)
2302 ICDBStructNode
*node
= parent
;
2311 for (uint i
=0; i
<1024; ++i
)
2313 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2314 nlassert(node
!= NULL
);
2315 _Array
[i
].init(node
, i
);
2321 void CBankAccessor_PLR::TBRICK_FAMILY::TArray::init(ICDBStructNode
*parent
, uint index
)
2323 ICDBStructNode
*node
= parent
;
2329 node
= parent
->getNode( ICDBStructNode::CTextId("BRICKS"), false );
2330 nlassert(node
!= NULL
);
2339 void CBankAccessor_PLR::TFABER_PLANS::init(ICDBStructNode
*parent
)
2341 ICDBStructNode
*node
= parent
;
2350 for (uint i
=0; i
<64; ++i
)
2352 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2353 nlassert(node
!= NULL
);
2354 _Array
[i
].init(node
, i
);
2360 void CBankAccessor_PLR::TFABER_PLANS::TArray::init(ICDBStructNode
*parent
, uint index
)
2362 ICDBStructNode
*node
= parent
;
2368 node
= parent
->getNode( ICDBStructNode::CTextId("KNOWN"), false );
2369 nlassert(node
!= NULL
);
2378 void CBankAccessor_PLR::TMISSIONS::init(ICDBStructNode
*parent
)
2380 ICDBStructNode
*node
= parent
;
2389 for (uint i
=0; i
<15; ++i
)
2391 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2392 nlassert(node
!= NULL
);
2393 _Array
[i
].init(node
, i
);
2399 void CBankAccessor_PLR::TMISSIONS::TArray::init(ICDBStructNode
*parent
, uint index
)
2401 ICDBStructNode
*node
= parent
;
2407 node
= parent
->getNode( ICDBStructNode::CTextId("TYPE"), false );
2408 nlassert(node
!= NULL
);
2411 node
= parent
->getNode( ICDBStructNode::CTextId("ICON"), false );
2412 nlassert(node
!= NULL
);
2415 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
2416 nlassert(node
!= NULL
);
2419 node
= parent
->getNode( ICDBStructNode::CTextId("DETAIL_TEXT"), false );
2420 nlassert(node
!= NULL
);
2421 _DETAIL_TEXT
= node
;
2423 node
= parent
->getNode( ICDBStructNode::CTextId("BEGIN_DATE"), false );
2424 nlassert(node
!= NULL
);
2427 node
= parent
->getNode( ICDBStructNode::CTextId("END_DATE"), false );
2428 nlassert(node
!= NULL
);
2431 node
= parent
->getNode( ICDBStructNode::CTextId("OR_STEPS"), false );
2432 nlassert(node
!= NULL
);
2435 node
= parent
->getNode( ICDBStructNode::CTextId("FINISHED"), false );
2436 nlassert(node
!= NULL
);
2439 node
= parent
->getNode( ICDBStructNode::CTextId("ABANDONNABLE"), false );
2440 nlassert(node
!= NULL
);
2441 _ABANDONNABLE
= node
;
2443 node
= parent
->getNode( ICDBStructNode::CTextId("SLEEP"), false );
2444 nlassert(node
!= NULL
);
2450 node
= parent
->getNode( ICDBStructNode::CTextId("GOALS"), false );
2451 nlassert(node
!= NULL
);
2454 for (uint i
=0; i
<8; ++i
)
2456 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("TARGET%u", i
)), false );
2457 nlassert(node
!= NULL
);
2458 _TARGET
[i
].init(node
, i
);
2461 node
= parent
->getNode( ICDBStructNode::CTextId("HISTO"), false );
2462 nlassert(node
!= NULL
);
2468 void CBankAccessor_PLR::TMISSIONS::TArray::TGOALS::init(ICDBStructNode
*parent
)
2470 ICDBStructNode
*node
= parent
;
2479 for (uint i
=0; i
<20; ++i
)
2481 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2482 nlassert(node
!= NULL
);
2483 _Array
[i
].init(node
, i
);
2489 void CBankAccessor_PLR::TMISSIONS::TArray::TGOALS::TArray::init(ICDBStructNode
*parent
, uint index
)
2491 ICDBStructNode
*node
= parent
;
2497 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
2498 nlassert(node
!= NULL
);
2501 node
= parent
->getNode( ICDBStructNode::CTextId("NPC_ALIAS"), false );
2502 nlassert(node
!= NULL
);
2511 void CBankAccessor_PLR::TMISSIONS::TArray::TTARGET::init(ICDBStructNode
*parent
, uint index
)
2513 ICDBStructNode
*node
= parent
;
2519 node
= parent
->getNode( ICDBStructNode::CTextId("TITLE"), false );
2520 nlassert(node
!= NULL
);
2523 node
= parent
->getNode( ICDBStructNode::CTextId("X"), false );
2524 nlassert(node
!= NULL
);
2527 node
= parent
->getNode( ICDBStructNode::CTextId("Y"), false );
2528 nlassert(node
!= NULL
);
2537 void CBankAccessor_PLR::TMISSIONS::TArray::THISTO::init(ICDBStructNode
*parent
)
2539 ICDBStructNode
*node
= parent
;
2548 for (uint i
=0; i
<30; ++i
)
2550 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2551 nlassert(node
!= NULL
);
2552 _Array
[i
].init(node
, i
);
2558 void CBankAccessor_PLR::TMISSIONS::TArray::THISTO::TArray::init(ICDBStructNode
*parent
, uint index
)
2560 ICDBStructNode
*node
= parent
;
2566 node
= parent
->getNode( ICDBStructNode::CTextId("TEXT"), false );
2567 nlassert(node
!= NULL
);
2576 void CBankAccessor_PLR::TEXECUTE_PHRASE::init(ICDBStructNode
*parent
)
2578 ICDBStructNode
*node
= parent
;
2584 node
= parent
->getNode( ICDBStructNode::CTextId("PHRASE"), false );
2585 nlassert(node
!= NULL
);
2588 node
= parent
->getNode( ICDBStructNode::CTextId("SHEET"), false );
2589 nlassert(node
!= NULL
);
2592 node
= parent
->getNode( ICDBStructNode::CTextId("NEXT_COUNTER"), false );
2593 nlassert(node
!= NULL
);
2594 _NEXT_COUNTER
= node
;
2596 node
= parent
->getNode( ICDBStructNode::CTextId("CYCLE_COUNTER"), false );
2597 nlassert(node
!= NULL
);
2598 _CYCLE_COUNTER
= node
;
2603 node
= parent
->getNode( ICDBStructNode::CTextId("LINK"), false );
2604 nlassert(node
!= NULL
);
2610 void CBankAccessor_PLR::TEXECUTE_PHRASE::TLINK::init(ICDBStructNode
*parent
)
2612 ICDBStructNode
*node
= parent
;
2621 for (uint i
=0; i
<10; ++i
)
2623 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2624 nlassert(node
!= NULL
);
2625 _Array
[i
].init(node
, i
);
2631 void CBankAccessor_PLR::TEXECUTE_PHRASE::TLINK::TArray::init(ICDBStructNode
*parent
, uint index
)
2633 ICDBStructNode
*node
= parent
;
2639 node
= parent
->getNode( ICDBStructNode::CTextId("PHRASE"), false );
2640 nlassert(node
!= NULL
);
2643 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
2644 nlassert(node
!= NULL
);
2647 node
= parent
->getNode( ICDBStructNode::CTextId("HP_COST"), false );
2648 nlassert(node
!= NULL
);
2651 node
= parent
->getNode( ICDBStructNode::CTextId("SAP_COST"), false );
2652 nlassert(node
!= NULL
);
2655 node
= parent
->getNode( ICDBStructNode::CTextId("STA_COST"), false );
2656 nlassert(node
!= NULL
);
2659 node
= parent
->getNode( ICDBStructNode::CTextId("TARGET_NAME"), false );
2660 nlassert(node
!= NULL
);
2661 _TARGET_NAME
= node
;
2663 node
= parent
->getNode( ICDBStructNode::CTextId("TARGET_HP"), false );
2664 nlassert(node
!= NULL
);
2667 node
= parent
->getNode( ICDBStructNode::CTextId("TARGET_SAP"), false );
2668 nlassert(node
!= NULL
);
2671 node
= parent
->getNode( ICDBStructNode::CTextId("TARGET_STA"), false );
2672 nlassert(node
!= NULL
);
2681 void CBankAccessor_PLR::TCHARACTER_INFO::init(ICDBStructNode
*parent
)
2683 ICDBStructNode
*node
= parent
;
2692 for (uint i
=0; i
<8; ++i
)
2694 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("CHARACTERISTICS%u", i
)), false );
2695 nlassert(node
!= NULL
);
2696 _CHARACTERISTICS
[i
].init(node
, i
);
2699 for (uint i
=0; i
<4; ++i
)
2701 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("SCORES%u", i
)), false );
2702 nlassert(node
!= NULL
);
2703 _SCORES
[i
].init(node
, i
);
2706 node
= parent
->getNode( ICDBStructNode::CTextId("MAGIC_RESISTANCE"), false );
2707 nlassert(node
!= NULL
);
2708 _MAGIC_RESISTANCE
.init(node
);
2710 node
= parent
->getNode( ICDBStructNode::CTextId("MAGIC_PROTECTION"), false );
2711 nlassert(node
!= NULL
);
2712 _MAGIC_PROTECTION
.init(node
);
2714 node
= parent
->getNode( ICDBStructNode::CTextId("DODGE"), false );
2715 nlassert(node
!= NULL
);
2718 node
= parent
->getNode( ICDBStructNode::CTextId("PARRY"), false );
2719 nlassert(node
!= NULL
);
2722 node
= parent
->getNode( ICDBStructNode::CTextId("SKILLS"), false );
2723 nlassert(node
!= NULL
);
2726 node
= parent
->getNode( ICDBStructNode::CTextId("XP_CATALYSER"), false );
2727 nlassert(node
!= NULL
);
2728 _XP_CATALYSER
.init(node
);
2730 node
= parent
->getNode( ICDBStructNode::CTextId("RING_XP_CATALYSER"), false );
2731 nlassert(node
!= NULL
);
2732 _RING_XP_CATALYSER
.init(node
);
2734 node
= parent
->getNode( ICDBStructNode::CTextId("PVP_FACTION_TAG"), false );
2735 nlassert(node
!= NULL
);
2736 _PVP_FACTION_TAG
.init(node
);
2738 node
= parent
->getNode( ICDBStructNode::CTextId("PVP_OUTPOST"), false );
2739 nlassert(node
!= NULL
);
2740 _PVP_OUTPOST
.init(node
);
2742 node
= parent
->getNode( ICDBStructNode::CTextId("SUCCESS_MODIFIER"), false );
2743 nlassert(node
!= NULL
);
2744 _SUCCESS_MODIFIER
.init(node
);
2749 void CBankAccessor_PLR::TCHARACTER_INFO::TCHARACTERISTICS::init(ICDBStructNode
*parent
, uint index
)
2751 ICDBStructNode
*node
= parent
;
2757 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
2758 nlassert(node
!= NULL
);
2767 void CBankAccessor_PLR::TCHARACTER_INFO::TSCORES::init(ICDBStructNode
*parent
, uint index
)
2769 ICDBStructNode
*node
= parent
;
2775 node
= parent
->getNode( ICDBStructNode::CTextId("Base"), false );
2776 nlassert(node
!= NULL
);
2779 node
= parent
->getNode( ICDBStructNode::CTextId("Max"), false );
2780 nlassert(node
!= NULL
);
2783 node
= parent
->getNode( ICDBStructNode::CTextId("BaseRegen"), false );
2784 nlassert(node
!= NULL
);
2787 node
= parent
->getNode( ICDBStructNode::CTextId("Regen"), false );
2788 nlassert(node
!= NULL
);
2797 void CBankAccessor_PLR::TCHARACTER_INFO::TMAGIC_RESISTANCE::init(ICDBStructNode
*parent
)
2799 ICDBStructNode
*node
= parent
;
2805 node
= parent
->getNode( ICDBStructNode::CTextId("MaxResistanceBonus"), false );
2806 nlassert(node
!= NULL
);
2807 _MaxResistanceBonus
= node
;
2812 for (uint i
=0; i
<5; ++i
)
2814 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2815 nlassert(node
!= NULL
);
2816 _Array
[i
].init(node
, i
);
2822 void CBankAccessor_PLR::TCHARACTER_INFO::TMAGIC_RESISTANCE::TArray::init(ICDBStructNode
*parent
, uint index
)
2824 ICDBStructNode
*node
= parent
;
2830 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
2831 nlassert(node
!= NULL
);
2840 void CBankAccessor_PLR::TCHARACTER_INFO::TMAGIC_PROTECTION::init(ICDBStructNode
*parent
)
2842 ICDBStructNode
*node
= parent
;
2848 node
= parent
->getNode( ICDBStructNode::CTextId("MaxProtectionClampValue"), false );
2849 nlassert(node
!= NULL
);
2850 _MaxProtectionClampValue
= node
;
2852 node
= parent
->getNode( ICDBStructNode::CTextId("MaxAbsorptionFactor"), false );
2853 nlassert(node
!= NULL
);
2854 _MaxAbsorptionFactor
= node
;
2859 for (uint i
=0; i
<7; ++i
)
2861 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2862 nlassert(node
!= NULL
);
2863 _Array
[i
].init(node
, i
);
2869 void CBankAccessor_PLR::TCHARACTER_INFO::TMAGIC_PROTECTION::TArray::init(ICDBStructNode
*parent
, uint index
)
2871 ICDBStructNode
*node
= parent
;
2877 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
2878 nlassert(node
!= NULL
);
2887 void CBankAccessor_PLR::TCHARACTER_INFO::TDODGE::init(ICDBStructNode
*parent
)
2889 ICDBStructNode
*node
= parent
;
2895 node
= parent
->getNode( ICDBStructNode::CTextId("Base"), false );
2896 nlassert(node
!= NULL
);
2899 node
= parent
->getNode( ICDBStructNode::CTextId("Current"), false );
2900 nlassert(node
!= NULL
);
2909 void CBankAccessor_PLR::TCHARACTER_INFO::TPARRY::init(ICDBStructNode
*parent
)
2911 ICDBStructNode
*node
= parent
;
2917 node
= parent
->getNode( ICDBStructNode::CTextId("Base"), false );
2918 nlassert(node
!= NULL
);
2921 node
= parent
->getNode( ICDBStructNode::CTextId("Current"), false );
2922 nlassert(node
!= NULL
);
2931 void CBankAccessor_PLR::TCHARACTER_INFO::TSKILLS::init(ICDBStructNode
*parent
)
2933 ICDBStructNode
*node
= parent
;
2942 for (uint i
=0; i
<225; ++i
)
2944 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
2945 nlassert(node
!= NULL
);
2946 _Array
[i
].init(node
, i
);
2952 void CBankAccessor_PLR::TCHARACTER_INFO::TSKILLS::TArray::init(ICDBStructNode
*parent
, uint index
)
2954 ICDBStructNode
*node
= parent
;
2960 node
= parent
->getNode( ICDBStructNode::CTextId("SKILL"), false );
2961 nlassert(node
!= NULL
);
2964 node
= parent
->getNode( ICDBStructNode::CTextId("BaseSKILL"), false );
2965 nlassert(node
!= NULL
);
2968 node
= parent
->getNode( ICDBStructNode::CTextId("PROGRESS_BAR"), false );
2969 nlassert(node
!= NULL
);
2970 _PROGRESS_BAR
= node
;
2978 void CBankAccessor_PLR::TCHARACTER_INFO::TXP_CATALYSER::init(ICDBStructNode
*parent
)
2980 ICDBStructNode
*node
= parent
;
2986 node
= parent
->getNode( ICDBStructNode::CTextId("Level"), false );
2987 nlassert(node
!= NULL
);
2990 node
= parent
->getNode( ICDBStructNode::CTextId("Count"), false );
2991 nlassert(node
!= NULL
);
3000 void CBankAccessor_PLR::TCHARACTER_INFO::TRING_XP_CATALYSER::init(ICDBStructNode
*parent
)
3002 ICDBStructNode
*node
= parent
;
3008 node
= parent
->getNode( ICDBStructNode::CTextId("Level"), false );
3009 nlassert(node
!= NULL
);
3012 node
= parent
->getNode( ICDBStructNode::CTextId("Count"), false );
3013 nlassert(node
!= NULL
);
3022 void CBankAccessor_PLR::TCHARACTER_INFO::TPVP_FACTION_TAG::init(ICDBStructNode
*parent
)
3024 ICDBStructNode
*node
= parent
;
3030 node
= parent
->getNode( ICDBStructNode::CTextId("TAG_PVP"), false );
3031 nlassert(node
!= NULL
);
3034 node
= parent
->getNode( ICDBStructNode::CTextId("ACTIVATION_TIME"), false );
3035 nlassert(node
!= NULL
);
3036 _ACTIVATION_TIME
= node
;
3038 node
= parent
->getNode( ICDBStructNode::CTextId("FLAG_PVP_TIME_LEFT"), false );
3039 nlassert(node
!= NULL
);
3040 _FLAG_PVP_TIME_LEFT
= node
;
3042 node
= parent
->getNode( ICDBStructNode::CTextId("COUNTER"), false );
3043 nlassert(node
!= NULL
);
3052 void CBankAccessor_PLR::TCHARACTER_INFO::TPVP_OUTPOST::init(ICDBStructNode
*parent
)
3054 ICDBStructNode
*node
= parent
;
3060 node
= parent
->getNode( ICDBStructNode::CTextId("FLAG_PVP"), false );
3061 nlassert(node
!= NULL
);
3064 node
= parent
->getNode( ICDBStructNode::CTextId("RIGHT_TO_BANISH"), false );
3065 nlassert(node
!= NULL
);
3066 _RIGHT_TO_BANISH
= node
;
3068 node
= parent
->getNode( ICDBStructNode::CTextId("ROUND_LVL_CUR"), false );
3069 nlassert(node
!= NULL
);
3070 _ROUND_LVL_CUR
= node
;
3072 node
= parent
->getNode( ICDBStructNode::CTextId("ROUND_END_DATE"), false );
3073 nlassert(node
!= NULL
);
3074 _ROUND_END_DATE
= node
;
3076 node
= parent
->getNode( ICDBStructNode::CTextId("FLAG_PVP_TIME_END"), false );
3077 nlassert(node
!= NULL
);
3078 _FLAG_PVP_TIME_END
= node
;
3086 void CBankAccessor_PLR::TCHARACTER_INFO::TSUCCESS_MODIFIER::init(ICDBStructNode
*parent
)
3088 ICDBStructNode
*node
= parent
;
3094 node
= parent
->getNode( ICDBStructNode::CTextId("DODGE"), false );
3095 nlassert(node
!= NULL
);
3098 node
= parent
->getNode( ICDBStructNode::CTextId("PARRY"), false );
3099 nlassert(node
!= NULL
);
3102 node
= parent
->getNode( ICDBStructNode::CTextId("CRAFT"), false );
3103 nlassert(node
!= NULL
);
3106 node
= parent
->getNode( ICDBStructNode::CTextId("MELEE"), false );
3107 nlassert(node
!= NULL
);
3110 node
= parent
->getNode( ICDBStructNode::CTextId("RANGE"), false );
3111 nlassert(node
!= NULL
);
3114 node
= parent
->getNode( ICDBStructNode::CTextId("MAGIC"), false );
3115 nlassert(node
!= NULL
);
3121 node
= parent
->getNode( ICDBStructNode::CTextId("ECO"), false );
3122 nlassert(node
!= NULL
);
3128 void CBankAccessor_PLR::TCHARACTER_INFO::TSUCCESS_MODIFIER::TECO::init(ICDBStructNode
*parent
)
3130 ICDBStructNode
*node
= parent
;
3139 for (uint i
=0; i
<7; ++i
)
3141 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
3142 nlassert(node
!= NULL
);
3143 _Array
[i
].init(node
, i
);
3149 void CBankAccessor_PLR::TCHARACTER_INFO::TSUCCESS_MODIFIER::TECO::TArray::init(ICDBStructNode
*parent
, uint index
)
3151 ICDBStructNode
*node
= parent
;
3157 node
= parent
->getNode( ICDBStructNode::CTextId("FORAGE"), false );
3158 nlassert(node
!= NULL
);
3167 void CBankAccessor_PLR::TPACK_ANIMAL::init(ICDBStructNode
*parent
)
3169 ICDBStructNode
*node
= parent
;
3178 for (uint i
=0; i
<7; ++i
)
3180 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("BEAST%u", i
)), false );
3181 nlassert(node
!= NULL
);
3182 _BEAST
[i
].init(node
, i
);
3188 void CBankAccessor_PLR::TPACK_ANIMAL::TBEAST::init(ICDBStructNode
*parent
, uint index
)
3190 ICDBStructNode
*node
= parent
;
3196 node
= parent
->getNode( ICDBStructNode::CTextId("UID"), false );
3197 nlassert(node
!= NULL
);
3200 node
= parent
->getNode( ICDBStructNode::CTextId("TYPE"), false );
3201 nlassert(node
!= NULL
);
3204 node
= parent
->getNode( ICDBStructNode::CTextId("STATUS"), false );
3205 nlassert(node
!= NULL
);
3208 node
= parent
->getNode( ICDBStructNode::CTextId("HP"), false );
3209 nlassert(node
!= NULL
);
3212 node
= parent
->getNode( ICDBStructNode::CTextId("BULK_MAX"), false );
3213 nlassert(node
!= NULL
);
3216 node
= parent
->getNode( ICDBStructNode::CTextId("POS"), false );
3217 nlassert(node
!= NULL
);
3220 node
= parent
->getNode( ICDBStructNode::CTextId("HUNGER"), false );
3221 nlassert(node
!= NULL
);
3224 node
= parent
->getNode( ICDBStructNode::CTextId("DESPAWN"), false );
3225 nlassert(node
!= NULL
);
3228 node
= parent
->getNode( ICDBStructNode::CTextId("NAME"), false );
3229 nlassert(node
!= NULL
);
3238 void CBankAccessor_PLR::TDEBUG_INFO::init(ICDBStructNode
*parent
)
3240 ICDBStructNode
*node
= parent
;
3246 node
= parent
->getNode( ICDBStructNode::CTextId("Ping"), false );
3247 nlassert(node
!= NULL
);
3256 void CBankAccessor_PLR::TMP_EVAL::init(ICDBStructNode
*parent
)
3258 ICDBStructNode
*node
= parent
;
3264 node
= parent
->getNode( ICDBStructNode::CTextId("COST"), false );
3265 nlassert(node
!= NULL
);
3271 node
= parent
->getNode( ICDBStructNode::CTextId("RESULT"), false );
3272 nlassert(node
!= NULL
);
3275 node
= parent
->getNode( ICDBStructNode::CTextId("RESULT_CRITICAL"), false );
3276 nlassert(node
!= NULL
);
3277 _RESULT_CRITICAL
.init(node
);
3282 void CBankAccessor_PLR::TMP_EVAL::TRESULT::init(ICDBStructNode
*parent
)
3284 ICDBStructNode
*node
= parent
;
3290 node
= parent
->getNode( ICDBStructNode::CTextId("VALID"), false );
3291 nlassert(node
!= NULL
);
3294 node
= parent
->getNode( ICDBStructNode::CTextId("SMALL_SEED"), false );
3295 nlassert(node
!= NULL
);
3298 node
= parent
->getNode( ICDBStructNode::CTextId("MEDIUM_SEED"), false );
3299 nlassert(node
!= NULL
);
3300 _MEDIUM_SEED
= node
;
3302 node
= parent
->getNode( ICDBStructNode::CTextId("BIG_SEED"), false );
3303 nlassert(node
!= NULL
);
3306 node
= parent
->getNode( ICDBStructNode::CTextId("VERY_BIG_SEED"), false );
3307 nlassert(node
!= NULL
);
3308 _VERY_BIG_SEED
= node
;
3310 node
= parent
->getNode( ICDBStructNode::CTextId("EXPIRY_DATE"), false );
3311 nlassert(node
!= NULL
);
3312 _EXPIRY_DATE
= node
;
3320 void CBankAccessor_PLR::TMP_EVAL::TRESULT_CRITICAL::init(ICDBStructNode
*parent
)
3322 ICDBStructNode
*node
= parent
;
3328 node
= parent
->getNode( ICDBStructNode::CTextId("VALID"), false );
3329 nlassert(node
!= NULL
);
3332 node
= parent
->getNode( ICDBStructNode::CTextId("SMALL_SEED"), false );
3333 nlassert(node
!= NULL
);
3336 node
= parent
->getNode( ICDBStructNode::CTextId("MEDIUM_SEED"), false );
3337 nlassert(node
!= NULL
);
3338 _MEDIUM_SEED
= node
;
3340 node
= parent
->getNode( ICDBStructNode::CTextId("BIG_SEED"), false );
3341 nlassert(node
!= NULL
);
3344 node
= parent
->getNode( ICDBStructNode::CTextId("VERY_BIG_SEED"), false );
3345 nlassert(node
!= NULL
);
3346 _VERY_BIG_SEED
= node
;
3348 node
= parent
->getNode( ICDBStructNode::CTextId("EXPIRY_DATE"), false );
3349 nlassert(node
!= NULL
);
3350 _EXPIRY_DATE
= node
;
3358 void CBankAccessor_PLR::TCOMPASS::init(ICDBStructNode
*parent
)
3360 ICDBStructNode
*node
= parent
;
3366 node
= parent
->getNode( ICDBStructNode::CTextId("HOME_POINT"), false );
3367 nlassert(node
!= NULL
);
3370 node
= parent
->getNode( ICDBStructNode::CTextId("BIND_POINT"), false );
3371 nlassert(node
!= NULL
);
3374 node
= parent
->getNode( ICDBStructNode::CTextId("TARGET"), false );
3375 nlassert(node
!= NULL
);
3384 void CBankAccessor_PLR::TFAME::init(ICDBStructNode
*parent
)
3386 ICDBStructNode
*node
= parent
;
3392 node
= parent
->getNode( ICDBStructNode::CTextId("CULT_ALLEGIANCE"), false );
3393 nlassert(node
!= NULL
);
3394 _CULT_ALLEGIANCE
= node
;
3396 node
= parent
->getNode( ICDBStructNode::CTextId("CIV_ALLEGIANCE"), false );
3397 nlassert(node
!= NULL
);
3398 _CIV_ALLEGIANCE
= node
;
3400 node
= parent
->getNode( ICDBStructNode::CTextId("THRESHOLD_TRADE"), false );
3401 nlassert(node
!= NULL
);
3402 _THRESHOLD_TRADE
= node
;
3404 node
= parent
->getNode( ICDBStructNode::CTextId("THRESHOLD_KOS"), false );
3405 nlassert(node
!= NULL
);
3406 _THRESHOLD_KOS
= node
;
3411 for (uint i
=0; i
<7; ++i
)
3413 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("PLAYER%u", i
)), false );
3414 nlassert(node
!= NULL
);
3415 _PLAYER
[i
].init(node
, i
);
3418 for (uint i
=0; i
<53; ++i
)
3420 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("TRIBE%u", i
)), false );
3421 nlassert(node
!= NULL
);
3422 _TRIBE
[i
].init(node
, i
);
3428 void CBankAccessor_PLR::TFAME::TPLAYER::init(ICDBStructNode
*parent
, uint index
)
3430 ICDBStructNode
*node
= parent
;
3436 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
3437 nlassert(node
!= NULL
);
3440 node
= parent
->getNode( ICDBStructNode::CTextId("THRESHOLD"), false );
3441 nlassert(node
!= NULL
);
3444 node
= parent
->getNode( ICDBStructNode::CTextId("TREND"), false );
3445 nlassert(node
!= NULL
);
3454 void CBankAccessor_PLR::TFAME::TTRIBE::init(ICDBStructNode
*parent
, uint index
)
3456 ICDBStructNode
*node
= parent
;
3462 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
3463 nlassert(node
!= NULL
);
3466 node
= parent
->getNode( ICDBStructNode::CTextId("THRESHOLD"), false );
3467 nlassert(node
!= NULL
);
3470 node
= parent
->getNode( ICDBStructNode::CTextId("TREND"), false );
3471 nlassert(node
!= NULL
);
3480 void CBankAccessor_PLR::TSTATIC_DATA::init(ICDBStructNode
*parent
)
3482 ICDBStructNode
*node
= parent
;
3488 node
= parent
->getNode( ICDBStructNode::CTextId("BAG_BULK_MAX"), false );
3489 nlassert(node
!= NULL
);
3490 _BAG_BULK_MAX
= node
;
3498 void CBankAccessor_PLR::TDYN_CHAT::init(ICDBStructNode
*parent
)
3500 ICDBStructNode
*node
= parent
;
3509 for (uint i
=0; i
<8; ++i
)
3511 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("CHANNEL%u", i
)), false );
3512 nlassert(node
!= NULL
);
3513 _CHANNEL
[i
].init(node
, i
);
3519 void CBankAccessor_PLR::TDYN_CHAT::TCHANNEL::init(ICDBStructNode
*parent
, uint index
)
3521 ICDBStructNode
*node
= parent
;
3527 node
= parent
->getNode( ICDBStructNode::CTextId("NAME"), false );
3528 nlassert(node
!= NULL
);
3531 node
= parent
->getNode( ICDBStructNode::CTextId("ID"), false );
3532 nlassert(node
!= NULL
);
3535 node
= parent
->getNode( ICDBStructNode::CTextId("WRITE_RIGHT"), false );
3536 nlassert(node
!= NULL
);
3537 _WRITE_RIGHT
= node
;
3545 void CBankAccessor_PLR::TPVP_EFFECTS::init(ICDBStructNode
*parent
)
3547 ICDBStructNode
*node
= parent
;
3556 node
= parent
->getNode( ICDBStructNode::CTextId("PVP_FACTION_POINTS"), false );
3557 nlassert(node
!= NULL
);
3558 _PVP_FACTION_POINTS
.init(node
);
3560 for (uint i
=0; i
<59; ++i
)
3562 node
= parent
->getNode( ICDBStructNode::CTextId(NLMISC::toString("%u", i
)), false );
3563 nlassert(node
!= NULL
);
3564 _Array
[i
].init(node
, i
);
3570 void CBankAccessor_PLR::TPVP_EFFECTS::TPVP_FACTION_POINTS::init(ICDBStructNode
*parent
)
3572 ICDBStructNode
*node
= parent
;
3578 node
= parent
->getNode( ICDBStructNode::CTextId("CIV"), false );
3579 nlassert(node
!= NULL
);
3582 node
= parent
->getNode( ICDBStructNode::CTextId("CIV_POINTS"), false );
3583 nlassert(node
!= NULL
);
3586 node
= parent
->getNode( ICDBStructNode::CTextId("CULT"), false );
3587 nlassert(node
!= NULL
);
3590 node
= parent
->getNode( ICDBStructNode::CTextId("CULT_POINTS"), false );
3591 nlassert(node
!= NULL
);
3592 _CULT_POINTS
= node
;
3600 void CBankAccessor_PLR::TPVP_EFFECTS::TArray::init(ICDBStructNode
*parent
, uint index
)
3602 ICDBStructNode
*node
= parent
;
3608 node
= parent
->getNode( ICDBStructNode::CTextId("ID"), false );
3609 nlassert(node
!= NULL
);
3612 node
= parent
->getNode( ICDBStructNode::CTextId("ISBONUS"), false );
3613 nlassert(node
!= NULL
);
3616 node
= parent
->getNode( ICDBStructNode::CTextId("PARAM"), false );
3617 nlassert(node
!= NULL
);
3626 void CBankAccessor_PLR::TWEATHER::init(ICDBStructNode
*parent
)
3628 ICDBStructNode
*node
= parent
;
3634 node
= parent
->getNode( ICDBStructNode::CTextId("VALUE"), false );
3635 nlassert(node
!= NULL
);