1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
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.
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/>.
21 #include <nel/misc/types_nl.h>
22 #include <pd_lib/pd_lib.h>
29 // Global Forward Declarations
32 class CFameContainerEntryPD
;
33 class CFameContainerPD
;
34 class CGuildFameContainerPD
;
37 class CGuildContainerPD
;
38 class CActiveStepStatePD
;
41 class CMissionCompassPD
;
42 class CMissionTeleportPD
;
43 class CMissionInsidePlacePD
;
44 class CMissionOutsidePlacePD
;
45 class CHandledAIGroupPD
;
47 class CMissionGuildPD
;
50 class CMissionContainerPD
;
54 /// \name Public API for EGSPD database
58 * Initialise the whole database engine.
59 * Call this function at service init.
61 void init(uint32 overrideDbId
);
64 * Tells if database engine is ready to work.
65 * Engine may not be ready because PDS is down, not yet ready
66 * or message queue to PDS is full.
71 * Update the database engine.
72 * Call this method once per tick, only if engine is ready (see also ready() above).
77 * Logs chat sentence with sender and receipiants.
79 void logChat(const ucstring
& sentence
, const NLMISC::CEntityId
& from
, const std::vector
<NLMISC::CEntityId
>& to
);
82 * Logs tell sentence with sender and single recipient (might be player or group).
84 void logTell(const ucstring
& sentence
, const NLMISC::CEntityId
& from
, const NLMISC::CEntityId
& to
);
87 * Release the whole database engine.
88 * Call this function at service release.
94 extern RY_PDS::CPDSLib PDSLib
;
102 #include "common_pd.h"
103 #include "game_share/people_pd.h"
104 #include "game_share/sp_type.h"
105 #include "game_share/guild_grade.h"
106 #include "game_share/season.h"
108 #include "guild_member_pd.h"
109 #include "guild_pd.h"
110 #include "guild_container_pd.h"
111 #include "mission_pd.h"
113 #include "fame_pd_inline.h"
114 #include "guild_member_pd_inline.h"
115 #include "guild_pd_inline.h"
116 #include "guild_container_pd_inline.h"
117 #include "mission_pd_inline.h"
122 #include "egs_pd_inline.h"