31 #include "packets/Calendar.h"
65 Call_TwoIntegerArgs
args;
66 if (!args.Decode(&call.
tuple)) {
67 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
76 Call_TwoIntegerArgs
args;
77 if (!args.Decode(&call.
tuple)) {
78 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
92 Call_SendEventResponse
args;
93 if (!args.Decode(&call.
tuple)) {
94 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
109 sLog.Cyan(
"CalendarMgrService::Handle_CreatePersonalEvent()",
"size= %u", call.
tuple->
size() );
110 call.
Dump(SERVICE__CALL_DUMP);
112 Call_CreateEventWithInvites
args;
113 if (!args.Decode(&call.
tuple)) {
114 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
124 Call_CreateEvent
args;
125 if (!args.Decode(&call.
tuple)) {
126 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
136 Call_CreateEvent
args;
137 if (!args.Decode(&call.
tuple)) {
138 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
150 sLog.Cyan(
"CalendarMgrService::Handle_EditPersonalEvent()",
"size= %u", call.
tuple->
size() );
151 call.
Dump(SERVICE__CALL_DUMP);
154 if (!args.Decode(&call.
tuple)) {
155 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
166 sLog.Cyan(
"CalendarMgrService::Handle_EditCorporationEvent()",
"size= %u", call.
tuple->
size() );
167 call.
Dump(SERVICE__CALL_DUMP);
170 if (!args.Decode(&call.
tuple)) {
171 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
182 sLog.Cyan(
"CalendarMgrService::Handle_EditAllianceEvent()",
"size= %u", call.
tuple->
size() );
183 call.
Dump(SERVICE__CALL_DUMP);
186 if (!args.Decode(&call.
tuple)) {
187 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
198 sLog.Cyan(
"CalendarMgrService::Handle_UpdateEventParticipants()",
"size= %u", call.
tuple->
size() );
199 call.
Dump(SERVICE__CALL_DUMP);
201 Call_UpdateEventParticipants
args;
202 if (!args.Decode(&call.
tuple)) {
203 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
Dispatcher *const m_dispatch
void SendNotification(const PyAddress &dest, EVENotificationStream ¬i, bool seq=true)
static PyRep * SaveNewEvent(uint32 ownerID, Call_CreateEventWithInvites &args)
static void SaveEventResponse(uint32 charID, Call_SendEventResponse &args)
int32 GetCharacterID() const
int32 GetCorporationID() const
const char * GetName() const
int32 GetAllianceID() const
static void UpdateEventParticipants(Call_UpdateEventParticipants &args)
#define sLog
Evaluates to a NewLog instance.
static PyRep * GetResponsesForCharacter(uint32 charID)
#define codelog(type, fmt,...)
#define PyCallable_REG_CALL(c, m)
PyCallable_Make_InnerDispatcher(CalendarMgrService) CalendarMgrService
static PyRep * GetResponsesToEvent(uint32 eventID)
void Dump(LogType type) const
Dispatcher *const m_dispatch
static void DeleteEvent(uint32 eventID)