66 sLog.Error(
"AllianceRegistry::CreateBoundObject",
"%s: bind_args is not tuple: '%s'. ", pClient->
GetName(), bind_args->
TypeString() );
67 pClient->
SendErrorMsg(
"Could not bind object for Ally Registry. Ref: ServerError 02808.");
86 _log(ALLY__CALL,
"AllianceRegistry::Handle_GetAlliance() size=%u", call.
tuple->
size() );
87 call.
Dump(ALLY__CALL_DUMP);
89 Call_SingleIntegerArg
args;
90 if (!args.Decode(&call.
tuple)) {
91 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
99 _log(ALLY__CALL,
"AllianceRegistry::Handle_GetAllianceMembers() size=%u", call.
tuple->
size() );
100 call.
Dump(ALLY__CALL_DUMP);
102 Call_SingleIntegerArg
args;
103 if (!args.Decode(&call.
tuple)) {
104 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
119 _log(ALLY__CALL,
"AllianceRegistry::Handle_GetRankedAlliances() size=%u", call.
tuple->
size() );
120 call.
Dump(ALLY__CALL_DUMP);
128 _log(ALLY__CALL,
"AllianceRegistry::Handle_GetEmploymentRecord() size=%u", call.
tuple->
size() );
129 call.
Dump(ALLY__CALL_DUMP);
131 Call_SingleIntegerArg arg;
132 if (!arg.Decode(&call.
tuple)) {
133 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
Dispatcher *const m_dispatch
PyCallable_Make_InnerDispatcher(AllianceRegistry) AllianceRegistry
void SendErrorMsg(const char *fmt,...)
#define _log(type, fmt,...)
PyRep * GetItem(size_t index) const
Returns Python object.
const char * GetName() const
PyRep * GetAllianceMembers(uint32 allyID)
#define sLog
Evaluates to a NewLog instance.
PyRep * GetRankedAlliances()
#define codelog(type, fmt,...)
PyRep * GetAlliance(uint32 allyID)
PyServiceMgr *const m_manager
const char * GetName() const
#define PyCallable_REG_CALL(c, m)
PyRep * GetEmploymentRecord(uint32 corpID)
void Dump(LogType type) const
virtual PyBoundObject * CreateBoundObject(Client *pClient, const PyRep *bind_args)
static int64 IntegerValue(PyRep *pRep)
Dispatcher *const m_dispatch
const char * TypeString() const