2 * Copyright (C) 2005-2009 MaNGOS <http://www.mangosproject.org/>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "WorldPacket.h"
23 #include "WorldSession.h"
26 void WorldSession::HandleCalendarGetCalendar(WorldPacket
&recv_data
)
28 sLog
.outDebug("WORLD: CMSG_CALENDAR_GET_CALENDAR");
32 void WorldSession::HandleCalendarGetEvent(WorldPacket
&recv_data
)
34 sLog
.outDebug("WORLD: CMSG_CALENDAR_GET_EVENT");
38 void WorldSession::HandleCalendarGuildFilter(WorldPacket
&recv_data
)
40 sLog
.outDebug("WORLD: CMSG_CALENDAR_GUILD_FILTER");
44 void WorldSession::HandleCalendarArenaTeam(WorldPacket
&recv_data
)
46 sLog
.outDebug("WORLD: CMSG_CALENDAR_ARENA_TEAM");
50 void WorldSession::HandleCalendarAddEvent(WorldPacket
&recv_data
)
52 sLog
.outDebug("WORLD: CMSG_CALENDAR_ADD_EVENT");
56 void WorldSession::HandleCalendarUpdateEvent(WorldPacket
&recv_data
)
58 sLog
.outDebug("WORLD: CMSG_CALENDAR_UPDATE_EVENT");
62 void WorldSession::HandleCalendarRemoveEvent(WorldPacket
&recv_data
)
64 sLog
.outDebug("WORLD: CMSG_CALENDAR_REMOVE_EVENT");
68 void WorldSession::HandleCalendarCopyEvent(WorldPacket
&recv_data
)
70 sLog
.outDebug("WORLD: CMSG_CALENDAR_COPY_EVENT");
74 void WorldSession::HandleCalendarEventInvite(WorldPacket
&recv_data
)
76 sLog
.outDebug("WORLD: CMSG_CALENDAR_EVENT_INVITE");
80 void WorldSession::HandleCalendarEventRsvp(WorldPacket
&recv_data
)
82 sLog
.outDebug("WORLD: CMSG_CALENDAR_EVENT_RSVP");
86 void WorldSession::HandleCalendarEventRemoveInvite(WorldPacket
&recv_data
)
88 sLog
.outDebug("WORLD: CMSG_CALENDAR_EVENT_REMOVE_INVITE");
92 void WorldSession::HandleCalendarEventStatus(WorldPacket
&recv_data
)
94 sLog
.outDebug("WORLD: CMSG_CALENDAR_EVENT_STATUS");
98 void WorldSession::HandleCalendarEventModeratorStatus(WorldPacket
&recv_data
)
100 sLog
.outDebug("WORLD: CMSG_CALENDAR_EVENT_MODERATOR_STATUS");
104 void WorldSession::HandleCalendarComplain(WorldPacket
&recv_data
)
106 sLog
.outDebug("WORLD: CMSG_CALENDAR_COMPLAIN");
110 void WorldSession::HandleCalendarGetNumPending(WorldPacket
&recv_data
)
112 sLog
.outDebug("WORLD: CMSG_CALENDAR_GET_NUM_PENDING");
115 WorldPacket
data(SMSG_CALENDAR_SEND_NUM_PENDING
, 4);
116 data
<< uint32(0); // 0 - no pending invites, 1 - some pending invites