Add infos into target window
[ryzomcore.git] / ryzom / server / src / entities_game_service / egs_pd.cpp
blob44a0d1a610b4129137b9d7651d9533f9f7d4ab45
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #include "stdpch.h"
20 #include "egs_pd.h"
22 namespace EGSPD
25 RY_PDS::CPDSLib PDSLib;
26 void init(uint32 overrideDbId)
28 PDSLib.registerClassMapping(0, "CFameContainerEntryPD");
29 CFameContainerEntryPD::pds_static__init();
30 PDSLib.registerClassMapping(1, "CFameContainerPD");
31 CFameContainerPD::pds_static__init();
32 PDSLib.registerClassMapping(2, "CGuildFameContainerPD");
33 CGuildFameContainerPD::pds_static__init();
34 PDSLib.registerClassMapping(3, "CGuildMemberPD");
35 CGuildMemberPD::pds_static__init();
36 PDSLib.registerClassMapping(4, "CGuildPD");
37 CGuildPD::pds_static__init();
38 PDSLib.registerClassMapping(5, "CGuildContainerPD");
39 CGuildContainerPD::pds_static__init();
40 PDSLib.registerClassMapping(6, "CActiveStepStatePD");
41 CActiveStepStatePD::pds_static__init();
42 PDSLib.registerClassMapping(7, "CActiveStepPD");
43 CActiveStepPD::pds_static__init();
44 PDSLib.registerClassMapping(8, "CDoneStepPD");
45 CDoneStepPD::pds_static__init();
46 PDSLib.registerClassMapping(9, "CMissionCompassPD");
47 CMissionCompassPD::pds_static__init();
48 PDSLib.registerClassMapping(10, "CMissionTeleportPD");
49 CMissionTeleportPD::pds_static__init();
50 PDSLib.registerClassMapping(11, "CMissionInsidePlacePD");
51 CMissionInsidePlacePD::pds_static__init();
52 PDSLib.registerClassMapping(12, "CMissionOutsidePlacePD");
53 CMissionOutsidePlacePD::pds_static__init();
54 PDSLib.registerClassMapping(13, "CHandledAIGroupPD");
55 CHandledAIGroupPD::pds_static__init();
56 PDSLib.registerClassMapping(14, "CMissionPD");
57 CMissionPD::pds_static__init();
58 PDSLib.registerClassMapping(15, "CMissionGuildPD");
59 CMissionGuildPD::pds_static__init();
60 PDSLib.registerClassMapping(16, "CMissionTeamPD");
61 CMissionTeamPD::pds_static__init();
62 PDSLib.registerClassMapping(17, "CMissionSoloPD");
63 CMissionSoloPD::pds_static__init();
64 PDSLib.registerClassMapping(18, "CMissionContainerPD");
65 CMissionContainerPD::pds_static__init();
66 std::string xmlDescription;
67 xmlDescription += "<?xml version='1.0'?>\n";
68 xmlDescription += "<dbdescription version='0.0'>\n";
69 xmlDescription += "<db name='EGSPD' types='23' classes='19'>\n";
70 xmlDescription += "<typedef name='bool' id='0' size='1' storage='bool' type='type'/>\n";
71 xmlDescription += "<typedef name='char' id='1' size='1' storage='char' type='type'/>\n";
72 xmlDescription += "<typedef name='ucchar' id='2' size='2' storage='ucchar' type='type'/>\n";
73 xmlDescription += "<typedef name='uint8' id='3' size='1' storage='uint8' type='type'/>\n";
74 xmlDescription += "<typedef name='sint8' id='4' size='1' storage='sint8' type='type'/>\n";
75 xmlDescription += "<typedef name='uint16' id='5' size='2' storage='uint16' type='type'/>\n";
76 xmlDescription += "<typedef name='sint16' id='6' size='2' storage='sint16' type='type'/>\n";
77 xmlDescription += "<typedef name='uint32' id='7' size='4' storage='uint32' type='type'/>\n";
78 xmlDescription += "<typedef name='sint32' id='8' size='4' storage='sint32' type='type'/>\n";
79 xmlDescription += "<typedef name='uint64' id='9' size='8' storage='uint64' type='type'/>\n";
80 xmlDescription += "<typedef name='sint64' id='10' size='8' storage='sint64' type='type'/>\n";
81 xmlDescription += "<typedef name='float' id='11' size='4' storage='float' type='type'/>\n";
82 xmlDescription += "<typedef name='double' id='12' size='8' storage='double' type='type'/>\n";
83 xmlDescription += "<typedef name='CEntityId' id='13' size='8' storage='CEntityId' type='type'/>\n";
84 xmlDescription += "<typedef name='CSheetId' id='14' size='4' storage='CSheetId' type='type'/>\n";
85 xmlDescription += "<typedef name='TCharacterId' id='15' size='8' storage='CEntityId' type='type'/>\n";
86 xmlDescription += "<typedef name='TGuildId' id='16' size='4' storage='uint32' type='type'/>\n";
87 xmlDescription += "<typedef name='TPeople' id='17' size='4' storage='uint32' type='enum'>\n";
88 xmlDescription += "<enumvalue name='Humanoid' value='0'/>\n";
89 xmlDescription += "<enumvalue name='Playable' value='0'/>\n";
90 xmlDescription += "<enumvalue name='Fyros' value='0'/>\n";
91 xmlDescription += "<enumvalue name='Matis' value='1'/>\n";
92 xmlDescription += "<enumvalue name='Tryker' value='2'/>\n";
93 xmlDescription += "<enumvalue name='Zorai' value='3'/>\n";
94 xmlDescription += "<enumvalue name='EndPlayable' value='4'/>\n";
95 xmlDescription += "<enumvalue name='Karavan' value='4'/>\n";
96 xmlDescription += "<enumvalue name='Tribe' value='5'/>\n";
97 xmlDescription += "<enumvalue name='Common' value='6'/>\n";
98 xmlDescription += "<enumvalue name='EndHumanoid' value='7'/>\n";
99 xmlDescription += "<enumvalue name='Creature' value='7'/>\n";
100 xmlDescription += "<enumvalue name='Fauna' value='7'/>\n";
101 xmlDescription += "<enumvalue name='Arma' value='7'/>\n";
102 xmlDescription += "<enumvalue name='Balduse' value='8'/>\n";
103 xmlDescription += "<enumvalue name='Bul' value='9'/>\n";
104 xmlDescription += "<enumvalue name='Capryni' value='10'/>\n";
105 xmlDescription += "<enumvalue name='Chonari' value='11'/>\n";
106 xmlDescription += "<enumvalue name='Clapclap' value='12'/>\n";
107 xmlDescription += "<enumvalue name='Cococlaw' value='13'/>\n";
108 xmlDescription += "<enumvalue name='Cute' value='14'/>\n";
109 xmlDescription += "<enumvalue name='Dag' value='15'/>\n";
110 xmlDescription += "<enumvalue name='Diranak' value='16'/>\n";
111 xmlDescription += "<enumvalue name='Estrasson' value='17'/>\n";
112 xmlDescription += "<enumvalue name='Filin' value='18'/>\n";
113 xmlDescription += "<enumvalue name='Frahar' value='19'/>\n";
114 xmlDescription += "<enumvalue name='Gibbai' value='20'/>\n";
115 xmlDescription += "<enumvalue name='Hachtaha' value='21'/>\n";
116 xmlDescription += "<enumvalue name='Jungler' value='22'/>\n";
117 xmlDescription += "<enumvalue name='Kakty' value='23'/>\n";
118 xmlDescription += "<enumvalue name='Kalab' value='24'/>\n";
119 xmlDescription += "<enumvalue name='Kami' value='25'/>\n";
120 xmlDescription += "<enumvalue name='Kazoar' value='26'/>\n";
121 xmlDescription += "<enumvalue name='Kitin' value='27'/>\n";
122 xmlDescription += "<enumvalue name='Kitins' value='28'/>\n";
123 xmlDescription += "<enumvalue name='Kitifly' value='28'/>\n";
124 xmlDescription += "<enumvalue name='Kitihank' value='29'/>\n";
125 xmlDescription += "<enumvalue name='Kitiharak' value='30'/>\n";
126 xmlDescription += "<enumvalue name='Kitikil' value='31'/>\n";
127 xmlDescription += "<enumvalue name='Kitimandib' value='32'/>\n";
128 xmlDescription += "<enumvalue name='Kitinagan' value='33'/>\n";
129 xmlDescription += "<enumvalue name='Kitinega' value='34'/>\n";
130 xmlDescription += "<enumvalue name='Kitinokto' value='35'/>\n";
131 xmlDescription += "<enumvalue name='EndKitins' value='36'/>\n";
132 xmlDescription += "<enumvalue name='Lightbird' value='36'/>\n";
133 xmlDescription += "<enumvalue name='Mektoub' value='37'/>\n";
134 xmlDescription += "<enumvalue name='MektoubPacker' value='38'/>\n";
135 xmlDescription += "<enumvalue name='MektoubMount' value='39'/>\n";
136 xmlDescription += "<enumvalue name='Pucetron' value='40'/>\n";
137 xmlDescription += "<enumvalue name='Regus' value='41'/>\n";
138 xmlDescription += "<enumvalue name='Ryzerb' value='42'/>\n";
139 xmlDescription += "<enumvalue name='Ryzoholo' value='43'/>\n";
140 xmlDescription += "<enumvalue name='Ryzoholok' value='44'/>\n";
141 xmlDescription += "<enumvalue name='Vampignon' value='45'/>\n";
142 xmlDescription += "<enumvalue name='Varinx' value='46'/>\n";
143 xmlDescription += "<enumvalue name='Yber' value='47'/>\n";
144 xmlDescription += "<enumvalue name='Zerx' value='48'/>\n";
145 xmlDescription += "<enumvalue name='race_c1' value='49'/>\n";
146 xmlDescription += "<enumvalue name='race_c2' value='50'/>\n";
147 xmlDescription += "<enumvalue name='race_c3' value='51'/>\n";
148 xmlDescription += "<enumvalue name='race_c4' value='52'/>\n";
149 xmlDescription += "<enumvalue name='race_c5' value='53'/>\n";
150 xmlDescription += "<enumvalue name='race_c6' value='54'/>\n";
151 xmlDescription += "<enumvalue name='race_c7' value='55'/>\n";
152 xmlDescription += "<enumvalue name='race_h1' value='56'/>\n";
153 xmlDescription += "<enumvalue name='race_h2' value='57'/>\n";
154 xmlDescription += "<enumvalue name='race_h3' value='58'/>\n";
155 xmlDescription += "<enumvalue name='race_h4' value='59'/>\n";
156 xmlDescription += "<enumvalue name='race_h5' value='60'/>\n";
157 xmlDescription += "<enumvalue name='race_h6' value='61'/>\n";
158 xmlDescription += "<enumvalue name='race_h7' value='62'/>\n";
159 xmlDescription += "<enumvalue name='race_h8' value='63'/>\n";
160 xmlDescription += "<enumvalue name='race_h9' value='64'/>\n";
161 xmlDescription += "<enumvalue name='race_h10' value='65'/>\n";
162 xmlDescription += "<enumvalue name='race_h11' value='66'/>\n";
163 xmlDescription += "<enumvalue name='race_h12' value='67'/>\n";
164 xmlDescription += "<enumvalue name='EndFauna' value='68'/>\n";
165 xmlDescription += "<enumvalue name='Flora' value='68'/>\n";
166 xmlDescription += "<enumvalue name='Cephaloplant' value='68'/>\n";
167 xmlDescription += "<enumvalue name='Electroalgs' value='69'/>\n";
168 xmlDescription += "<enumvalue name='Phytopsy' value='70'/>\n";
169 xmlDescription += "<enumvalue name='SapEnslaver' value='71'/>\n";
170 xmlDescription += "<enumvalue name='SpittingWeeds' value='72'/>\n";
171 xmlDescription += "<enumvalue name='Swarmplants' value='73'/>\n";
172 xmlDescription += "<enumvalue name='EndFlora' value='74'/>\n";
173 xmlDescription += "<enumvalue name='Goo' value='74'/>\n";
174 xmlDescription += "<enumvalue name='GooFauna' value='74'/>\n";
175 xmlDescription += "<enumvalue name='GooArma' value='74'/>\n";
176 xmlDescription += "<enumvalue name='GooBalduse' value='75'/>\n";
177 xmlDescription += "<enumvalue name='GooBul' value='76'/>\n";
178 xmlDescription += "<enumvalue name='GooCapryni' value='77'/>\n";
179 xmlDescription += "<enumvalue name='GooChonari' value='78'/>\n";
180 xmlDescription += "<enumvalue name='GooClapclap' value='79'/>\n";
181 xmlDescription += "<enumvalue name='GooCococlaw' value='80'/>\n";
182 xmlDescription += "<enumvalue name='GooCute' value='81'/>\n";
183 xmlDescription += "<enumvalue name='GooDag' value='82'/>\n";
184 xmlDescription += "<enumvalue name='GooDiranak' value='83'/>\n";
185 xmlDescription += "<enumvalue name='GooEstrasson' value='84'/>\n";
186 xmlDescription += "<enumvalue name='GooFilin' value='85'/>\n";
187 xmlDescription += "<enumvalue name='GooFrahar' value='86'/>\n";
188 xmlDescription += "<enumvalue name='GooGibbai' value='87'/>\n";
189 xmlDescription += "<enumvalue name='GooHachtaha' value='88'/>\n";
190 xmlDescription += "<enumvalue name='GooJungler' value='89'/>\n";
191 xmlDescription += "<enumvalue name='GooKakty' value='90'/>\n";
192 xmlDescription += "<enumvalue name='GooKalab' value='91'/>\n";
193 xmlDescription += "<enumvalue name='GooKami' value='92'/>\n";
194 xmlDescription += "<enumvalue name='GooKazoar' value='93'/>\n";
195 xmlDescription += "<enumvalue name='GooKitifly' value='94'/>\n";
196 xmlDescription += "<enumvalue name='GooKitihank' value='95'/>\n";
197 xmlDescription += "<enumvalue name='GooKitiharak' value='96'/>\n";
198 xmlDescription += "<enumvalue name='GooKitikil' value='97'/>\n";
199 xmlDescription += "<enumvalue name='GooKitimandib' value='98'/>\n";
200 xmlDescription += "<enumvalue name='GooKitin' value='99'/>\n";
201 xmlDescription += "<enumvalue name='GooKitinagan' value='100'/>\n";
202 xmlDescription += "<enumvalue name='GooKitinega' value='101'/>\n";
203 xmlDescription += "<enumvalue name='GooKitinokto' value='102'/>\n";
204 xmlDescription += "<enumvalue name='GooLightbird' value='103'/>\n";
205 xmlDescription += "<enumvalue name='GooMektoub' value='104'/>\n";
206 xmlDescription += "<enumvalue name='GooMektoubPacker' value='105'/>\n";
207 xmlDescription += "<enumvalue name='GooMektoubMount' value='106'/>\n";
208 xmlDescription += "<enumvalue name='GooPucetron' value='107'/>\n";
209 xmlDescription += "<enumvalue name='GooRegus' value='108'/>\n";
210 xmlDescription += "<enumvalue name='GooRyzerb' value='109'/>\n";
211 xmlDescription += "<enumvalue name='GooRyzoholo' value='110'/>\n";
212 xmlDescription += "<enumvalue name='GooRyzoholok' value='111'/>\n";
213 xmlDescription += "<enumvalue name='GooVampignon' value='112'/>\n";
214 xmlDescription += "<enumvalue name='GooVarinx' value='113'/>\n";
215 xmlDescription += "<enumvalue name='GooYber' value='114'/>\n";
216 xmlDescription += "<enumvalue name='GooZerx' value='115'/>\n";
217 xmlDescription += "<enumvalue name='Goorace_c1' value='116'/>\n";
218 xmlDescription += "<enumvalue name='Goorace_c2' value='117'/>\n";
219 xmlDescription += "<enumvalue name='Goorace_c3' value='118'/>\n";
220 xmlDescription += "<enumvalue name='Goorace_c4' value='119'/>\n";
221 xmlDescription += "<enumvalue name='Goorace_c5' value='120'/>\n";
222 xmlDescription += "<enumvalue name='Goorace_c6' value='121'/>\n";
223 xmlDescription += "<enumvalue name='Goorace_c7' value='122'/>\n";
224 xmlDescription += "<enumvalue name='Goorace_h1' value='123'/>\n";
225 xmlDescription += "<enumvalue name='Goorace_h2' value='124'/>\n";
226 xmlDescription += "<enumvalue name='Goorace_h3' value='125'/>\n";
227 xmlDescription += "<enumvalue name='Goorace_h4' value='126'/>\n";
228 xmlDescription += "<enumvalue name='Goorace_h5' value='127'/>\n";
229 xmlDescription += "<enumvalue name='Goorace_h6' value='128'/>\n";
230 xmlDescription += "<enumvalue name='Goorace_h7' value='129'/>\n";
231 xmlDescription += "<enumvalue name='Goorace_h8' value='130'/>\n";
232 xmlDescription += "<enumvalue name='Goorace_h9' value='131'/>\n";
233 xmlDescription += "<enumvalue name='Goorace_h10' value='132'/>\n";
234 xmlDescription += "<enumvalue name='Goorace_h11' value='133'/>\n";
235 xmlDescription += "<enumvalue name='Goorace_h12' value='134'/>\n";
236 xmlDescription += "<enumvalue name='EndGooFauna' value='135'/>\n";
237 xmlDescription += "<enumvalue name='GooPlant' value='135'/>\n";
238 xmlDescription += "<enumvalue name='GooCephaloplant' value='135'/>\n";
239 xmlDescription += "<enumvalue name='GooElectroalgs' value='136'/>\n";
240 xmlDescription += "<enumvalue name='GooPhytopsy' value='137'/>\n";
241 xmlDescription += "<enumvalue name='GooSapEnslaver' value='138'/>\n";
242 xmlDescription += "<enumvalue name='GooSpittingWeeds' value='139'/>\n";
243 xmlDescription += "<enumvalue name='GooSwarmplants' value='140'/>\n";
244 xmlDescription += "<enumvalue name='EndGooPlant' value='141'/>\n";
245 xmlDescription += "<enumvalue name='EndGoo' value='141'/>\n";
246 xmlDescription += "<enumvalue name='EndCreature' value='141'/>\n";
247 xmlDescription += "</typedef>\n";
248 xmlDescription += "<typedef name='TClassificationType' id='18' size='4' storage='uint32' type='enum'>\n";
249 xmlDescription += "<enumvalue name='TypeHumanoid' value='0'/>\n";
250 xmlDescription += "<enumvalue name='TypeHomin' value='1'/>\n";
251 xmlDescription += "<enumvalue name='TypeDegenerated' value='2'/>\n";
252 xmlDescription += "<enumvalue name='TypeFauna' value='3'/>\n";
253 xmlDescription += "<enumvalue name='TypeFlora' value='4'/>\n";
254 xmlDescription += "<enumvalue name='TypeDog' value='5'/>\n";
255 xmlDescription += "<enumvalue name='TypeRunner' value='6'/>\n";
256 xmlDescription += "<enumvalue name='TypeHorse' value='7'/>\n";
257 xmlDescription += "<enumvalue name='TypeBird' value='8'/>\n";
258 xmlDescription += "<enumvalue name='TypeKitin' value='9'/>\n";
259 xmlDescription += "<enumvalue name='TypeLandKitin' value='10'/>\n";
260 xmlDescription += "<enumvalue name='TypeFlyingKitin' value='11'/>\n";
261 xmlDescription += "<enumvalue name='TypeFish' value='12'/>\n";
262 xmlDescription += "<enumvalue name='TypeRyzomian' value='13'/>\n";
263 xmlDescription += "<enumvalue name='TypeGreatRyzomian' value='14'/>\n";
264 xmlDescription += "<enumvalue name='TypePachyderm' value='15'/>\n";
265 xmlDescription += "<enumvalue name='TypeShellfish' value='16'/>\n";
266 xmlDescription += "<enumvalue name='TypeKami' value='17'/>\n";
267 xmlDescription += "<enumvalue name='TypeKaravan' value='18'/>\n";
268 xmlDescription += "<enumvalue name='TypeAll' value='19'/>\n";
269 xmlDescription += "</typedef>\n";
270 xmlDescription += "<typedef name='TSPType' id='19' size='4' storage='uint32' type='enum'>\n";
271 xmlDescription += "<enumvalue name='Fight' value='0'/>\n";
272 xmlDescription += "<enumvalue name='Magic' value='1'/>\n";
273 xmlDescription += "<enumvalue name='Craft' value='2'/>\n";
274 xmlDescription += "<enumvalue name='Harvest' value='3'/>\n";
275 xmlDescription += "</typedef>\n";
276 xmlDescription += "<typedef name='TGuildGrade' id='20' size='4' storage='uint32' type='enum'>\n";
277 xmlDescription += "<enumvalue name='Leader' value='0'/>\n";
278 xmlDescription += "<enumvalue name='HighOfficer' value='1'/>\n";
279 xmlDescription += "<enumvalue name='Officer' value='2'/>\n";
280 xmlDescription += "<enumvalue name='Member' value='3'/>\n";
281 xmlDescription += "</typedef>\n";
282 xmlDescription += "<typedef name='TSeason' id='21' size='4' storage='uint32' type='enum'>\n";
283 xmlDescription += "<enumvalue name='Spring' value='0'/>\n";
284 xmlDescription += "<enumvalue name='Summer' value='1'/>\n";
285 xmlDescription += "<enumvalue name='Autumn' value='2'/>\n";
286 xmlDescription += "<enumvalue name='Winter' value='3'/>\n";
287 xmlDescription += "<enumvalue name='Invalid' value='4'/>\n";
288 xmlDescription += "</typedef>\n";
289 xmlDescription += "<typedef name='TFameTrend' id='22' size='4' storage='uint32' type='enum'>\n";
290 xmlDescription += "<enumvalue name='FameUpward' value='0'/>\n";
291 xmlDescription += "<enumvalue name='FameDownward' value='1'/>\n";
292 xmlDescription += "<enumvalue name='FameSteady' value='2'/>\n";
293 xmlDescription += "</typedef>\n";
294 xmlDescription += "<classdef name='CFameContainerEntryPD' id='0' key='0' columns='5'>\n";
295 xmlDescription += "<attribute name='Sheet' id='0' columnid='0' columns='1' type='type' typeid='14'/>\n";
296 xmlDescription += "<attribute name='Fame' id='1' columnid='1' columns='1' type='type' typeid='8'/>\n";
297 xmlDescription += "<attribute name='FameMemory' id='2' columnid='2' columns='1' type='type' typeid='8'/>\n";
298 xmlDescription += "<attribute name='LastFameChangeTrend' id='3' columnid='3' columns='1' type='type' typeid='22'/>\n";
299 xmlDescription += "<attribute name='Parent' id='4' columnid='4' columns='1' type='backref' classid='1' backreferentid='1' key='0'/>\n";
300 xmlDescription += "</classdef>\n";
301 xmlDescription += "<classdef name='CFameContainerPD' id='1' key='0' mapped='1' columns='4'>\n";
302 xmlDescription += "<attribute name='ContId' id='0' columnid='0' columns='1' type='type' typeid='13'/>\n";
303 xmlDescription += "<attribute name='Entries' id='1' columnid='1' columns='1' type='set' classid='0' forwardreferedid='4' key='0' />\n";
304 xmlDescription += "<attribute name='LastGuildStatusChange' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
305 xmlDescription += "<attribute name='LastFameChangeDate' id='3' columnid='3' columns='1' type='type' typeid='7'/>\n";
306 xmlDescription += "</classdef>\n";
307 xmlDescription += "<classdef name='CGuildFameContainerPD' id='2' inherit='1' key='0' mapped='1' columns='5'>\n";
308 xmlDescription += "<attribute name='ContId' id='0' columnid='0' columns='1' type='type' typeid='13'/>\n";
309 xmlDescription += "<attribute name='Entries' id='1' columnid='1' columns='1' type='set' classid='0' forwardreferedid='4' key='0' />\n";
310 xmlDescription += "<attribute name='LastGuildStatusChange' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
311 xmlDescription += "<attribute name='LastFameChangeDate' id='3' columnid='3' columns='1' type='type' typeid='7'/>\n";
312 xmlDescription += "<attribute name='Parent' id='4' columnid='4' columns='1' type='backref' classid='4' backreferentid='8'/>\n";
313 xmlDescription += "</classdef>\n";
314 xmlDescription += "<classdef name='CGuildMemberPD' id='3' key='0' columns='4'>\n";
315 xmlDescription += "<attribute name='Id' id='0' columnid='0' columns='1' type='type' typeid='15'/>\n";
316 xmlDescription += "<attribute name='Grade' id='1' columnid='1' columns='1' type='type' typeid='20'/>\n";
317 xmlDescription += "<attribute name='EnterTime' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
318 xmlDescription += "<attribute name='Guild' id='3' columnid='3' columns='1' type='backref' classid='4' backreferentid='7' key='0'/>\n";
319 xmlDescription += "</classdef>\n";
320 xmlDescription += "<classdef name='CGuildPD' id='4' key='0' columns='10'>\n";
321 xmlDescription += "<attribute name='Id' id='0' columnid='0' columns='1' type='type' typeid='16'/>\n";
322 xmlDescription += "<attribute name='Money' id='1' columnid='1' columns='1' type='type' typeid='9'/>\n";
323 xmlDescription += "<attribute name='CreationDate' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
324 xmlDescription += "<attribute name='Race' id='3' columnid='3' columns='1' type='type' typeid='17'/>\n";
325 xmlDescription += "<attribute name='Icon' id='4' columnid='4' columns='1' type='type' typeid='9'/>\n";
326 xmlDescription += "<attribute name='Building' id='5' columnid='5' columns='1' type='type' typeid='7'/>\n";
327 xmlDescription += "<attribute name='Version' id='6' columnid='6' columns='1' type='type' typeid='7'/>\n";
328 xmlDescription += "<attribute name='Members' id='7' columnid='7' columns='1' type='set' classid='3' forwardreferedid='3' key='0' />\n";
329 xmlDescription += "<attribute name='FameContainer' id='8' columnid='8' columns='1' type='forwardref' classid='2' forwardreferedid='4'/>\n";
330 xmlDescription += "<attribute name='Parent' id='9' columnid='9' columns='1' type='backref' classid='5' backreferentid='1' key='0'/>\n";
331 xmlDescription += "</classdef>\n";
332 xmlDescription += "<classdef name='CGuildContainerPD' id='5' key='2' mapped='5' columns='3'>\n";
333 xmlDescription += "<attribute name='GMGuild' id='0' columnid='0' columns='1' type='type' typeid='16'/>\n";
334 xmlDescription += "<attribute name='Guilds' id='1' columnid='1' columns='1' type='set' classid='4' forwardreferedid='9' key='0' />\n";
335 xmlDescription += "<attribute name='Dummy' id='2' columnid='2' columns='1' type='type' typeid='3'/>\n";
336 xmlDescription += "</classdef>\n";
337 xmlDescription += "<classdef name='CActiveStepStatePD' id='6' key='0' columns='3'>\n";
338 xmlDescription += "<attribute name='Index' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
339 xmlDescription += "<attribute name='State' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
340 xmlDescription += "<attribute name='Step' id='2' columnid='2' columns='1' type='backref' classid='7' backreferentid='1' key='0'/>\n";
341 xmlDescription += "</classdef>\n";
342 xmlDescription += "<classdef name='CActiveStepPD' id='7' key='0' columns='3'>\n";
343 xmlDescription += "<attribute name='IndexInTemplate' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
344 xmlDescription += "<attribute name='States' id='1' columnid='1' columns='1' type='set' classid='6' forwardreferedid='2' key='0' />\n";
345 xmlDescription += "<attribute name='Mission' id='2' columnid='2' columns='1' type='backref' classid='14' backreferentid='17' key='0'/>\n";
346 xmlDescription += "</classdef>\n";
347 xmlDescription += "<classdef name='CDoneStepPD' id='8' key='0' columns='2'>\n";
348 xmlDescription += "<attribute name='Index' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
349 xmlDescription += "<attribute name='Mission' id='1' columnid='1' columns='1' type='backref' classid='14' backreferentid='19' key='0'/>\n";
350 xmlDescription += "</classdef>\n";
351 xmlDescription += "<classdef name='CMissionCompassPD' id='9' key='0' columns='4'>\n";
352 xmlDescription += "<attribute name='Index' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
353 xmlDescription += "<attribute name='Place' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
354 xmlDescription += "<attribute name='BotId' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
355 xmlDescription += "<attribute name='Mission' id='3' columnid='3' columns='1' type='backref' classid='14' backreferentid='18' key='0'/>\n";
356 xmlDescription += "</classdef>\n";
357 xmlDescription += "<classdef name='CMissionTeleportPD' id='10' key='0' columns='2'>\n";
358 xmlDescription += "<attribute name='Index' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
359 xmlDescription += "<attribute name='Mission' id='1' columnid='1' columns='1' type='backref' classid='14' backreferentid='20' key='0'/>\n";
360 xmlDescription += "</classdef>\n";
361 xmlDescription += "<classdef name='CMissionInsidePlacePD' id='11' key='0' columns='3'>\n";
362 xmlDescription += "<attribute name='Alias' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
363 xmlDescription += "<attribute name='Delay' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
364 xmlDescription += "<attribute name='Mission' id='2' columnid='2' columns='1' type='backref' classid='14' backreferentid='21' key='0'/>\n";
365 xmlDescription += "</classdef>\n";
366 xmlDescription += "<classdef name='CMissionOutsidePlacePD' id='12' key='0' columns='3'>\n";
367 xmlDescription += "<attribute name='Alias' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
368 xmlDescription += "<attribute name='Delay' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
369 xmlDescription += "<attribute name='Mission' id='2' columnid='2' columns='1' type='backref' classid='14' backreferentid='22' key='0'/>\n";
370 xmlDescription += "</classdef>\n";
371 xmlDescription += "<classdef name='CHandledAIGroupPD' id='13' key='0' columns='3'>\n";
372 xmlDescription += "<attribute name='GroupAlias' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
373 xmlDescription += "<attribute name='DespawnTime' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
374 xmlDescription += "<attribute name='Mission' id='2' columnid='2' columns='1' type='backref' classid='14' backreferentid='23' key='0'/>\n";
375 xmlDescription += "</classdef>\n";
376 xmlDescription += "<classdef name='CMissionPD' id='14' key='0' columns='25'>\n";
377 xmlDescription += "<attribute name='TemplateId' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
378 xmlDescription += "<attribute name='MainMissionTemplateId' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
379 xmlDescription += "<attribute name='Giver' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
380 xmlDescription += "<attribute name='HourLowerBound' id='3' columnid='3' columns='1' type='type' typeid='11'/>\n";
381 xmlDescription += "<attribute name='HourUpperBound' id='4' columnid='4' columns='1' type='type' typeid='11'/>\n";
382 xmlDescription += "<attribute name='Season' id='5' columnid='5' columns='1' type='type' typeid='21'/>\n";
383 xmlDescription += "<attribute name='MonoEndDate' id='6' columnid='6' columns='1' type='type' typeid='7'/>\n";
384 xmlDescription += "<attribute name='EndDate' id='7' columnid='7' columns='1' type='type' typeid='7'/>\n";
385 xmlDescription += "<attribute name='CriticalPartEndDate' id='8' columnid='8' columns='1' type='type' typeid='7'/>\n";
386 xmlDescription += "<attribute name='BeginDate' id='9' columnid='9' columns='1' type='type' typeid='7'/>\n";
387 xmlDescription += "<attribute name='FailureIndex' id='10' columnid='10' columns='1' type='type' typeid='7'/>\n";
388 xmlDescription += "<attribute name='CrashHandlerIndex' id='11' columnid='11' columns='1' type='type' typeid='7'/>\n";
389 xmlDescription += "<attribute name='PlayerReconnectHandlerIndex' id='12' columnid='12' columns='1' type='type' typeid='7'/>\n";
390 xmlDescription += "<attribute name='Finished' id='13' columnid='13' columns='1' type='type' typeid='0'/>\n";
391 xmlDescription += "<attribute name='MissionSuccess' id='14' columnid='14' columns='1' type='type' typeid='0'/>\n";
392 xmlDescription += "<attribute name='DescIndex' id='15' columnid='15' columns='1' type='type' typeid='7'/>\n";
393 xmlDescription += "<attribute name='WaitingQueueId' id='16' columnid='16' columns='1' type='type' typeid='7'/>\n";
394 xmlDescription += "<attribute name='Steps' id='17' columnid='17' columns='1' type='set' classid='7' forwardreferedid='2' key='0' />\n";
395 xmlDescription += "<attribute name='Compass' id='18' columnid='18' columns='1' type='set' classid='9' forwardreferedid='3' key='0' />\n";
396 xmlDescription += "<attribute name='StepsDone' id='19' columnid='19' columns='1' type='set' classid='8' forwardreferedid='1' key='0' />\n";
397 xmlDescription += "<attribute name='Teleports' id='20' columnid='20' columns='1' type='set' classid='10' forwardreferedid='1' key='0' />\n";
398 xmlDescription += "<attribute name='InsidePlaces' id='21' columnid='21' columns='1' type='set' classid='11' forwardreferedid='2' key='0' />\n";
399 xmlDescription += "<attribute name='OutsidePlaces' id='22' columnid='22' columns='1' type='set' classid='12' forwardreferedid='2' key='0' />\n";
400 xmlDescription += "<attribute name='HandledAIGroups' id='23' columnid='23' columns='1' type='set' classid='13' forwardreferedid='2' key='0' />\n";
401 xmlDescription += "<attribute name='Container' id='24' columnid='24' columns='1' type='backref' classid='18' backreferentid='1' key='0'/>\n";
402 xmlDescription += "</classdef>\n";
403 xmlDescription += "<classdef name='CMissionGuildPD' id='15' inherit='14' key='0' columns='25'>\n";
404 xmlDescription += "<attribute name='TemplateId' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
405 xmlDescription += "<attribute name='MainMissionTemplateId' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
406 xmlDescription += "<attribute name='Giver' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
407 xmlDescription += "<attribute name='HourLowerBound' id='3' columnid='3' columns='1' type='type' typeid='11'/>\n";
408 xmlDescription += "<attribute name='HourUpperBound' id='4' columnid='4' columns='1' type='type' typeid='11'/>\n";
409 xmlDescription += "<attribute name='Season' id='5' columnid='5' columns='1' type='type' typeid='21'/>\n";
410 xmlDescription += "<attribute name='MonoEndDate' id='6' columnid='6' columns='1' type='type' typeid='7'/>\n";
411 xmlDescription += "<attribute name='EndDate' id='7' columnid='7' columns='1' type='type' typeid='7'/>\n";
412 xmlDescription += "<attribute name='CriticalPartEndDate' id='8' columnid='8' columns='1' type='type' typeid='7'/>\n";
413 xmlDescription += "<attribute name='BeginDate' id='9' columnid='9' columns='1' type='type' typeid='7'/>\n";
414 xmlDescription += "<attribute name='FailureIndex' id='10' columnid='10' columns='1' type='type' typeid='7'/>\n";
415 xmlDescription += "<attribute name='CrashHandlerIndex' id='11' columnid='11' columns='1' type='type' typeid='7'/>\n";
416 xmlDescription += "<attribute name='PlayerReconnectHandlerIndex' id='12' columnid='12' columns='1' type='type' typeid='7'/>\n";
417 xmlDescription += "<attribute name='Finished' id='13' columnid='13' columns='1' type='type' typeid='0'/>\n";
418 xmlDescription += "<attribute name='MissionSuccess' id='14' columnid='14' columns='1' type='type' typeid='0'/>\n";
419 xmlDescription += "<attribute name='DescIndex' id='15' columnid='15' columns='1' type='type' typeid='7'/>\n";
420 xmlDescription += "<attribute name='WaitingQueueId' id='16' columnid='16' columns='1' type='type' typeid='7'/>\n";
421 xmlDescription += "<attribute name='Steps' id='17' columnid='17' columns='1' type='set' classid='7' forwardreferedid='2' key='0' />\n";
422 xmlDescription += "<attribute name='Compass' id='18' columnid='18' columns='1' type='set' classid='9' forwardreferedid='3' key='0' />\n";
423 xmlDescription += "<attribute name='StepsDone' id='19' columnid='19' columns='1' type='set' classid='8' forwardreferedid='1' key='0' />\n";
424 xmlDescription += "<attribute name='Teleports' id='20' columnid='20' columns='1' type='set' classid='10' forwardreferedid='1' key='0' />\n";
425 xmlDescription += "<attribute name='InsidePlaces' id='21' columnid='21' columns='1' type='set' classid='11' forwardreferedid='2' key='0' />\n";
426 xmlDescription += "<attribute name='OutsidePlaces' id='22' columnid='22' columns='1' type='set' classid='12' forwardreferedid='2' key='0' />\n";
427 xmlDescription += "<attribute name='HandledAIGroups' id='23' columnid='23' columns='1' type='set' classid='13' forwardreferedid='2' key='0' />\n";
428 xmlDescription += "<attribute name='Container' id='24' columnid='24' columns='1' type='backref' classid='18' backreferentid='1' key='0'/>\n";
429 xmlDescription += "</classdef>\n";
430 xmlDescription += "<classdef name='CMissionTeamPD' id='16' inherit='14' key='0' columns='25'>\n";
431 xmlDescription += "<attribute name='TemplateId' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
432 xmlDescription += "<attribute name='MainMissionTemplateId' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
433 xmlDescription += "<attribute name='Giver' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
434 xmlDescription += "<attribute name='HourLowerBound' id='3' columnid='3' columns='1' type='type' typeid='11'/>\n";
435 xmlDescription += "<attribute name='HourUpperBound' id='4' columnid='4' columns='1' type='type' typeid='11'/>\n";
436 xmlDescription += "<attribute name='Season' id='5' columnid='5' columns='1' type='type' typeid='21'/>\n";
437 xmlDescription += "<attribute name='MonoEndDate' id='6' columnid='6' columns='1' type='type' typeid='7'/>\n";
438 xmlDescription += "<attribute name='EndDate' id='7' columnid='7' columns='1' type='type' typeid='7'/>\n";
439 xmlDescription += "<attribute name='CriticalPartEndDate' id='8' columnid='8' columns='1' type='type' typeid='7'/>\n";
440 xmlDescription += "<attribute name='BeginDate' id='9' columnid='9' columns='1' type='type' typeid='7'/>\n";
441 xmlDescription += "<attribute name='FailureIndex' id='10' columnid='10' columns='1' type='type' typeid='7'/>\n";
442 xmlDescription += "<attribute name='CrashHandlerIndex' id='11' columnid='11' columns='1' type='type' typeid='7'/>\n";
443 xmlDescription += "<attribute name='PlayerReconnectHandlerIndex' id='12' columnid='12' columns='1' type='type' typeid='7'/>\n";
444 xmlDescription += "<attribute name='Finished' id='13' columnid='13' columns='1' type='type' typeid='0'/>\n";
445 xmlDescription += "<attribute name='MissionSuccess' id='14' columnid='14' columns='1' type='type' typeid='0'/>\n";
446 xmlDescription += "<attribute name='DescIndex' id='15' columnid='15' columns='1' type='type' typeid='7'/>\n";
447 xmlDescription += "<attribute name='WaitingQueueId' id='16' columnid='16' columns='1' type='type' typeid='7'/>\n";
448 xmlDescription += "<attribute name='Steps' id='17' columnid='17' columns='1' type='set' classid='7' forwardreferedid='2' key='0' />\n";
449 xmlDescription += "<attribute name='Compass' id='18' columnid='18' columns='1' type='set' classid='9' forwardreferedid='3' key='0' />\n";
450 xmlDescription += "<attribute name='StepsDone' id='19' columnid='19' columns='1' type='set' classid='8' forwardreferedid='1' key='0' />\n";
451 xmlDescription += "<attribute name='Teleports' id='20' columnid='20' columns='1' type='set' classid='10' forwardreferedid='1' key='0' />\n";
452 xmlDescription += "<attribute name='InsidePlaces' id='21' columnid='21' columns='1' type='set' classid='11' forwardreferedid='2' key='0' />\n";
453 xmlDescription += "<attribute name='OutsidePlaces' id='22' columnid='22' columns='1' type='set' classid='12' forwardreferedid='2' key='0' />\n";
454 xmlDescription += "<attribute name='HandledAIGroups' id='23' columnid='23' columns='1' type='set' classid='13' forwardreferedid='2' key='0' />\n";
455 xmlDescription += "<attribute name='Container' id='24' columnid='24' columns='1' type='backref' classid='18' backreferentid='1' key='0'/>\n";
456 xmlDescription += "</classdef>\n";
457 xmlDescription += "<classdef name='CMissionSoloPD' id='17' inherit='14' key='0' columns='25'>\n";
458 xmlDescription += "<attribute name='TemplateId' id='0' columnid='0' columns='1' type='type' typeid='7'/>\n";
459 xmlDescription += "<attribute name='MainMissionTemplateId' id='1' columnid='1' columns='1' type='type' typeid='7'/>\n";
460 xmlDescription += "<attribute name='Giver' id='2' columnid='2' columns='1' type='type' typeid='7'/>\n";
461 xmlDescription += "<attribute name='HourLowerBound' id='3' columnid='3' columns='1' type='type' typeid='11'/>\n";
462 xmlDescription += "<attribute name='HourUpperBound' id='4' columnid='4' columns='1' type='type' typeid='11'/>\n";
463 xmlDescription += "<attribute name='Season' id='5' columnid='5' columns='1' type='type' typeid='21'/>\n";
464 xmlDescription += "<attribute name='MonoEndDate' id='6' columnid='6' columns='1' type='type' typeid='7'/>\n";
465 xmlDescription += "<attribute name='EndDate' id='7' columnid='7' columns='1' type='type' typeid='7'/>\n";
466 xmlDescription += "<attribute name='CriticalPartEndDate' id='8' columnid='8' columns='1' type='type' typeid='7'/>\n";
467 xmlDescription += "<attribute name='BeginDate' id='9' columnid='9' columns='1' type='type' typeid='7'/>\n";
468 xmlDescription += "<attribute name='FailureIndex' id='10' columnid='10' columns='1' type='type' typeid='7'/>\n";
469 xmlDescription += "<attribute name='CrashHandlerIndex' id='11' columnid='11' columns='1' type='type' typeid='7'/>\n";
470 xmlDescription += "<attribute name='PlayerReconnectHandlerIndex' id='12' columnid='12' columns='1' type='type' typeid='7'/>\n";
471 xmlDescription += "<attribute name='Finished' id='13' columnid='13' columns='1' type='type' typeid='0'/>\n";
472 xmlDescription += "<attribute name='MissionSuccess' id='14' columnid='14' columns='1' type='type' typeid='0'/>\n";
473 xmlDescription += "<attribute name='DescIndex' id='15' columnid='15' columns='1' type='type' typeid='7'/>\n";
474 xmlDescription += "<attribute name='WaitingQueueId' id='16' columnid='16' columns='1' type='type' typeid='7'/>\n";
475 xmlDescription += "<attribute name='Steps' id='17' columnid='17' columns='1' type='set' classid='7' forwardreferedid='2' key='0' />\n";
476 xmlDescription += "<attribute name='Compass' id='18' columnid='18' columns='1' type='set' classid='9' forwardreferedid='3' key='0' />\n";
477 xmlDescription += "<attribute name='StepsDone' id='19' columnid='19' columns='1' type='set' classid='8' forwardreferedid='1' key='0' />\n";
478 xmlDescription += "<attribute name='Teleports' id='20' columnid='20' columns='1' type='set' classid='10' forwardreferedid='1' key='0' />\n";
479 xmlDescription += "<attribute name='InsidePlaces' id='21' columnid='21' columns='1' type='set' classid='11' forwardreferedid='2' key='0' />\n";
480 xmlDescription += "<attribute name='OutsidePlaces' id='22' columnid='22' columns='1' type='set' classid='12' forwardreferedid='2' key='0' />\n";
481 xmlDescription += "<attribute name='HandledAIGroups' id='23' columnid='23' columns='1' type='set' classid='13' forwardreferedid='2' key='0' />\n";
482 xmlDescription += "<attribute name='Container' id='24' columnid='24' columns='1' type='backref' classid='18' backreferentid='1' key='0'/>\n";
483 xmlDescription += "</classdef>\n";
484 xmlDescription += "<classdef name='CMissionContainerPD' id='18' key='0' mapped='18' columns='2'>\n";
485 xmlDescription += "<attribute name='CharId' id='0' columnid='0' columns='1' type='type' typeid='13'/>\n";
486 xmlDescription += "<attribute name='Missions' id='1' columnid='1' columns='1' type='set' classid='14' forwardreferedid='24' key='0' />\n";
487 xmlDescription += "</classdef>\n";
488 xmlDescription += "</db>\n";
489 xmlDescription += "</dbdescription>\n";
490 PDSLib.init(xmlDescription, overrideDbId);
493 bool ready()
495 return PDSLib.PDSReady();
498 void update()
500 PDSLib.update();
503 void logChat(const ucstring& sentence, const NLMISC::CEntityId& from, const std::vector<NLMISC::CEntityId>& to)
505 PDSLib.logChat(sentence, from, to);
508 void logTell(const ucstring& sentence, const NLMISC::CEntityId& from, const NLMISC::CEntityId& to)
510 std::vector<NLMISC::CEntityId> ids;
511 ids.push_back(to);
512 PDSLib.logChat(sentence, from, ids);
515 void release()
517 PDSLib.release();
521 } // End of EGSPD