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/>.
19 #ifndef _LOG_GEN_OUTPOST_H
20 #define _LOG_GEN_OUTPOST_H
22 #include "nel/misc/types_nl.h"
23 #include "nel/misc/entity_id.h"
24 #include "nel/misc/sheet_id.h"
25 #include "game_share/inventories.h"
29 /// No context context. Use this to disable any contextual log underneath
30 struct TLogNoContext_Outpost
32 TLogNoContext_Outpost();
33 ~TLogNoContext_Outpost();
38 void _log_Outpost_Challenge(const std::string
&outpostName
, const std::string
&ownerGuildName
, const std::string
&challengerGuildName
, const char *_filename_
, uint _lineNo_
);
39 #define log_Outpost_Challenge(outpostName, ownerGuildName, challengerGuildName) \
40 _log_Outpost_Challenge(outpostName, ownerGuildName, challengerGuildName, __FILE__, __LINE__)
42 void _log_Outpost_ChallengeWin(const std::string
&outpostName
, const std::string
&oldOwnerGuildName
, const std::string
&newOwnerGuildName
, uint32 winLevel
, const char *_filename_
, uint _lineNo_
);
43 #define log_Outpost_ChallengeWin(outpostName, oldOwnerGuildName, newOwnerGuildName, winLevel) \
44 _log_Outpost_ChallengeWin(outpostName, oldOwnerGuildName, newOwnerGuildName, winLevel, __FILE__, __LINE__)
46 void _log_Outpost_ChallengeLost(const std::string
&outpostName
, const std::string
&ownerGuildName
, const std::string
&challengerGuildName
, const char *_filename_
, uint _lineNo_
);
47 #define log_Outpost_ChallengeLost(outpostName, ownerGuildName, challengerGuildName) \
48 _log_Outpost_ChallengeLost(outpostName, ownerGuildName, challengerGuildName, __FILE__, __LINE__)
50 void _log_Outpost_BuyOption(const std::string
&outpostName
, const std::string
&ownerGuildName
, NLMISC::CSheetId buildingSheet
, const char *_filename_
, uint _lineNo_
);
51 #define log_Outpost_BuyOption(outpostName, ownerGuildName, buildingSheet) \
52 _log_Outpost_BuyOption(outpostName, ownerGuildName, buildingSheet, __FILE__, __LINE__)