139 PyResult FactionWarMgrService::Handle_GetMyCharacterRankOverview(
PyCallArgs& call ) {
170 rs.header.push_back(
"currentRank" );
171 rs.header.push_back(
"highestRank" );
172 rs.header.push_back(
"factionID" );
173 rs.header.push_back(
"lastModified" );
179 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetMyCharacterRankInfo() size= %u", call.
tuple->
size() );
180 call.
Dump(FACWAR__CALL_DUMP);
183 rs.header.push_back(
"currentRank" );
184 rs.header.push_back(
"highestRank" );
185 rs.header.push_back(
"factionID" );
186 rs.header.push_back(
"lastModified" );
191 PyResult FactionWarMgrService::Handle_GetFactionMilitiaCorporation(
PyCallArgs &call) {
198 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetFactionMilitiaCorporation() size= %u", call.
tuple->
size() );
199 call.
Dump(FACWAR__CALL_DUMP);
200 Call_SingleIntegerArg arg;
201 if (!arg.Decode(&call.
tuple)) {
202 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
224 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetSystemStatus()");
225 call.
Dump(FACWAR__CALL_DUMP);
239 _log(FACWAR__CALL,
"FacWarMgr::Handle_IsEnemyFaction()");
240 call.
Dump(FACWAR__CALL_DUMP);
248 _log(FACWAR__CALL,
"FacWarMgr::Handle_IsEnemyCorporation()");
249 call.
Dump(FACWAR__CALL_DUMP);
260 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetCharacterRankInfo()");
261 call.
Dump(FACWAR__CALL_DUMP);
268 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetFactionalWarStatus()");
269 call.
Dump(FACWAR__CALL_DUMP);
275 _log(FACWAR__CALL,
"FacWarMgr::Handle_JoinFactionAsCharacter()");
276 call.
Dump(FACWAR__CALL_DUMP);
283 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetCorporationWarFactionID()");
284 call.
Dump(FACWAR__CALL_DUMP);
295 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetSystemsConqueredThisRun()");
296 call.
Dump(FACWAR__CALL_DUMP);
303 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetFactionCorporations()");
304 call.
Dump(FACWAR__CALL_DUMP);
309 PyResult FactionWarMgrService::Handle_JoinFactionAsCharacterRecommendationLetter(
PyCallArgs &call) {
314 _log(FACWAR__CALL,
"FacWarMgr::Handle_JoinFactionAsCharacterRecommendationLetter()");
315 call.
Dump(FACWAR__CALL_DUMP);
322 _log(FACWAR__CALL,
"FacWarMgr::Handle_JoinFactionAsAlliance()");
323 call.
Dump(FACWAR__CALL_DUMP);
330 _log(FACWAR__CALL,
"FacWarMgr::Handle_JoinFactionAsCorporation()");
331 call.
Dump(FACWAR__CALL_DUMP);
338 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_FactionInfo()");
339 call.
Dump(FACWAR__CALL_DUMP);
344 PyResult FactionWarMgrService::Handle_GetStats_TopAndAllKillsAndVPs(
PyCallArgs &call) {
346 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_TopAndAllKillsAndVPs()");
347 call.
Dump(FACWAR__CALL_DUMP);
354 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_Character()");
355 call.
Dump(FACWAR__CALL_DUMP);
362 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_Corp()");
363 call.
Dump(FACWAR__CALL_DUMP);
370 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_Alliance()");
371 call.
Dump(FACWAR__CALL_DUMP);
378 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_Militia()");
379 call.
Dump(FACWAR__CALL_DUMP);
386 _log(FACWAR__CALL,
"FacWarMgr::Handle_GetStats_CorpPilots()");
387 call.
Dump(FACWAR__CALL_DUMP);
394 _log(FACWAR__CALL,
"FacWarMgr::Handle_LeaveFactionAsAlliance()");
395 call.
Dump(FACWAR__CALL_DUMP);
402 _log(FACWAR__CALL,
"FacWarMgr::Handle_LeaveFactionAsCorporation()");
403 call.
Dump(FACWAR__CALL_DUMP);
408 PyResult FactionWarMgrService::Handle_WithdrawJoinFactionAsAlliance(
PyCallArgs &call) {
410 _log(FACWAR__CALL,
"FacWarMgr::Handle_WithdrawJoinFactionAsAlliance()");
411 call.
Dump(FACWAR__CALL_DUMP);
416 PyResult FactionWarMgrService::Handle_WithdrawJoinFactionAsCorporation(
PyCallArgs &call) {
418 _log(FACWAR__CALL,
"FacWarMgr::Handle_WithdrawJoinFactionAsCorporation()");
419 call.
Dump(FACWAR__CALL_DUMP);
424 PyResult FactionWarMgrService::Handle_WithdrawLeaveFactionAsAlliance(
PyCallArgs &call) {
426 _log(FACWAR__CALL,
"FacWarMgr::Handle_WithdrawLeaveFactionAsAlliance()");
427 call.
Dump(FACWAR__CALL_DUMP);
432 PyResult FactionWarMgrService::Handle_WithdrawLeaveFactionAsCorporation(
PyCallArgs &call) {
434 _log(FACWAR__CALL,
"FacWarMgr::Handle_WithdrawLeaveFactionAsCorporation()");
435 call.
Dump(FACWAR__CALL_DUMP);
442 _log(FACWAR__CALL,
"FacWarMgr::Handle_RefreshCorps()");
443 call.
Dump(FACWAR__CALL_DUMP);
Dispatcher *const m_dispatch
#define _log(type, fmt,...)
uint32 GetFactionMilitiaCorporation(const uint32 factionID)
const char * GetName() const
Dispatcher *const m_dispatch
#define codelog(type, fmt,...)
PyServiceMgr *const m_manager
#define PyCallable_REG_CALL(c, m)
PyCallable_Make_InnerDispatcher(FactionWarMgrService) FactionWarMgrService
void GiveCache(const PyRep *objectID, PyRep **contents)
ObjCacheService * cache_service
void Dump(LogType type) const
PyRep * GetFacWarSystems()
PyObject * MakeObjectCachedMethodCallResult(const PyRep *objectID, const char *versionCheck="run")
bool IsCacheLoaded(const PyRep *objectID) const