1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2019 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/>.
17 #ifndef CL_OUTPOST_MANAGER_H
18 #define CL_OUTPOST_MANAGER_H
20 #include "nel/misc/types_nl.h"
21 #include "game_share/outpost.h"
24 // ***************************************************************************
26 * Singleton for managing outpost
27 * \author Lionel Berenguier
28 * \author Nevrax France
34 // when this tick is reached, abort the proposal, and force player to be neutral
35 uint32 _EndTickForPvpJoinProposal
;
42 /// Called when the server ask to join for PVP in a Outpost Zone
43 void startPvpJoinProposal(OUTPOSTENUMS::TPVPType type
, bool outpostInFire
, bool playerGuildInConflict
, bool playerGuildIsAttacker
,
44 uint32 ownerGuildNameId
, uint32 attackerGuildNameId
, uint32 declTimer
);
46 /// Called when the client answer to the join for PVP in a Outpost Zone
47 void endPvpJoinProposal(bool bNeutral
, OUTPOSTENUMS::TPVPSide pvpSide
);
49 /// Update the manager
55 extern COutpostManager OutpostManager
;
58 #endif // NL_OUTPOST_MANAGER_H
60 /* End of outpost_manager.h */