84 if (!bind_args->
IsInt()) {
91 if (pAgent ==
nullptr) {
92 _log(AGENT__ERROR,
"%s: Unable to obtain agent %u", pClient->
GetName(), agentID);
106 Call_SingleIntegerArg
args;
107 if (!args.Decode(&call.
tuple)) {
108 _log(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
112 return sDataMgr.GetAgentSystemID(args.arg);
118 _log(AGENT__INFO,
"AgentMgrService::Handle_GetMyJournalDetails() - size= %u", call.
tuple->
size() );
119 call.
Dump(AGENT__DUMP);
140 std::vector<MissionOffer> data;
142 for (
auto cur : data) {
150 mData->
SetItem(6, cur.bookmarks->Clone());
162 tuple->
Dump(AGENT__RSP_DUMP,
" ");
284 _log(AGENT__INFO,
"AgentMgrBound::Handle_GetMyEpicJournalDetails() - size= %u", call.
tuple->
size() );
291 _log(AGENT__INFO,
"AgentMgrBound::Handle_GetCareerAgents() - size= %u", call.
tuple->
size() );
292 call.
Dump(AGENT__DUMP);
317 _log(AGENT__INFO,
"EpicArcService::Handle_AgentHasEpicMissionsForCharacter() - size= %u", call.
tuple->
size() );
318 call.
Dump(AGENT__DUMP);
Dispatcher *const m_dispatch
#define _log(type, fmt,...)
Dispatcher *const m_dispatch
int32 GetCharacterID() const
PyCallable_Make_InnerDispatcher(AgentMgrService) AgentMgrService
const char * GetName() const
void Dump(FILE *into, const char *pfx) const
Dumps object to file.
virtual PyBoundObject * CreateBoundObject(Client *pClient, const PyRep *bind_args)
#define is_log_enabled(type)
void SetItem(size_t index, PyRep *object)
Stores Python object.
virtual ~AgentMgrService()
PyServiceMgr *const m_manager
const char * GetName() const
#define PyCallable_REG_CALL(c, m)
Dispatcher *const m_dispatch
void Dump(LogType type) const
virtual ~EpicArcService()
const char * TypeString() const