73 Call_SingleIntegerArg arg;
74 if (!arg.Decode(&call.
tuple)) {
75 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
84 Call_SingleIntegerArg arg;
85 if (!arg.Decode(&call.
tuple)) {
86 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
94 Call_SingleIntegerArg arg;
95 if (!arg.Decode(&call.
tuple)) {
96 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
106 _log(CORP__CALL,
"CorpMgrService::Handle_AuditMember()");
107 call.
Dump(CORP__CALL_DUMP);
109 Call_AuditMember
args;
110 if (!args.Decode(&call.
tuple)) {
111 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
120 tuple->
Dump(CORP__RSP_DUMP,
" ");
128 _log(CORP__CALL,
"CorpMgrService::Handle_GetAssetInventory()");
129 call.
Dump(CORP__CALL_DUMP);
131 Call_GetAssetInventory
args;
132 if (!args.Decode(&call.
tuple)) {
133 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
138 std::ostringstream flags;
140 if (args.flag.compare(
"offices") == 0) {
144 }
else if (args.flag.compare(
"junk") == 0) {
147 }
else if (args.flag.compare(
"property") == 0) {
151 }
else if (args.flag.compare(
"deliveries") == 0) {
155 _log(CORP__ERROR,
"CorpMgrService::Handle_GetAssetInventory: flag is %s", args.flag.c_str());
163 rsp->
Dump(CORP__RSP_DUMP,
" ");
171 _log(CORP__CALL,
"CorpMgrService::Handle_GetAssetInventoryForLocation()");
172 call.
Dump(CORP__CALL_DUMP);
174 Call_GetAssetInventoryForLocation
args;
175 if (!args.Decode(&call.
tuple)) {
176 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
181 std::ostringstream flags;
183 if (args.flag.compare(
"offices") == 0) {
187 }
else if (args.flag.compare(
"junk") == 0) {
190 }
else if (args.flag.compare(
"property") == 0) {
194 }
else if (args.flag.compare(
"deliveries") == 0) {
198 _log(CORP__ERROR,
"CorpMgrService::Handle_GetAssetInventory: flag is %s", args.flag.c_str());
218 _log(CORP__CALL,
"CorpMgrService::Handle_GetCorporationStations()");
219 call.
Dump(CORP__CALL_DUMP);
224 _log(CORP__WARNING,
"CorpMgrService::Handle_GetCorporationStations() calling for NPC Corp");
232 _log(CORP__CALL,
"CorpMgrService::Handle_SearchAssets()");
233 call.
Dump(CORP__CALL_DUMP);
PyRep * Fetch(uint32 corpID, uint32 from, uint32 count)
Dispatcher *const m_dispatch
PyRep * GetCorporations(uint32 corpID)
PyRep * GetCorpInfo(uint32 corpID)
#define _log(type, fmt,...)
int32 GetCorporationID() const
const char * GetName() const
int32 GetCorpIDforChar(int32 charID)
void Dump(FILE *into, const char *pfx) const
Dumps object to file.
#define is_log_enabled(type)
PyRep * GetAssetInventoryForLocation(uint32 corpID, uint32 locationID, const char *flags)
#define codelog(type, fmt,...)
void SetItem(size_t index, PyRep *object)
Stores Python object.
PyRep * GetRoleHistroy(uint32 corpID, uint32 charID, int64 fromDate, int64 toDate, uint8 rowsPerPage)
#define IsPlayerCorp(itemID)
virtual ~CorpMgrService()
#define PyCallable_REG_CALL(c, m)
PyRep * GetAssetInventory(uint32 corpID, EVEItemFlags locFlag, const char *flags)
PyRep * GetItemEvents(uint32 corpID, uint32 charID, int64 fromDate, int64 toDate, uint8 rowsPerPage)
void Dump(LogType type) const
PyCallable_Make_InnerDispatcher(CorpMgrService) CorpMgrService
Dispatcher *const m_dispatch