![]() |
TrinityCore
|
#include <CalendarMgr.h>
Static Public Member Functions | |
| static CalendarMgr * | instance () |
Private Member Functions | |
| CalendarMgr () | |
| ~CalendarMgr () | |
Private Attributes | |
| CalendarEventStore | _events |
| CalendarEventInviteStore | _invites |
| std::deque< uint64 > | _freeEventIds |
| std::deque< uint64 > | _freeInviteIds |
| uint64 | _maxEventId |
| uint64 | _maxInviteId |
Definition at line 282 of file CalendarMgr.h.
|
private |
Definition at line 49 of file CalendarMgr.cpp.
|
private |
Definition at line 51 of file CalendarMgr.cpp.
|
delete |
|
delete |
| void CalendarMgr::AddEvent | ( | CalendarEvent * | calendarEvent, |
| CalendarSendEventType | sendType | ||
| ) |
| void CalendarMgr::AddInvite | ( | CalendarEvent * | calendarEvent, |
| CalendarInvite * | invite, | ||
| CharacterDatabaseTransaction | trans = nullptr |
||
| ) |
| void CalendarMgr::DeleteOldEvents | ( | ) |
| void CalendarMgr::FreeEventId | ( | uint64 | id | ) |
Definition at line 334 of file CalendarMgr.cpp.
| void CalendarMgr::FreeInviteId | ( | uint64 | id | ) |
Definition at line 352 of file CalendarMgr.cpp.
| std::vector< Player * > CalendarMgr::GetAllEventRelatives | ( | CalendarEvent const & | calendarEvent | ) | const |
Definition at line 743 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| CalendarEvent * CalendarMgr::GetEvent | ( | uint64 | eventId | ) | const |
| CalendarInviteStore CalendarMgr::GetEventInvites | ( | uint64 | eventId | ) | const |
|
inline |
Definition at line 308 of file CalendarMgr.h.
| CalendarEventStore CalendarMgr::GetEventsCreatedBy | ( | ObjectGuid | guid, |
| bool | includeGuildEvents = false |
||
| ) | const |
Definition at line 383 of file CalendarMgr.cpp.
| uint64 CalendarMgr::GetFreeEventId | ( | ) |
Definition at line 342 of file CalendarMgr.cpp.
| uint64 CalendarMgr::GetFreeInviteId | ( | ) |
Definition at line 360 of file CalendarMgr.cpp.
| CalendarEventStore CalendarMgr::GetGuildEvents | ( | ObjectGuid::LowType | guildId | ) | const |
Definition at line 393 of file CalendarMgr.cpp.
| CalendarInvite * CalendarMgr::GetInvite | ( | uint64 | inviteId | ) | const |
|
inline |
Definition at line 314 of file CalendarMgr.h.
| CalendarEventStore CalendarMgr::GetPlayerEvents | ( | ObjectGuid | guid | ) | const |
| CalendarInviteStore CalendarMgr::GetPlayerInvites | ( | ObjectGuid | guid | ) | const |
| uint32 CalendarMgr::GetPlayerNumPending | ( | ObjectGuid | guid | ) |
|
static |
Definition at line 61 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::LoadFromDB | ( | ) |
|
delete |
|
delete |
| void CalendarMgr::RemoveAllPlayerEventsAndInvites | ( | ObjectGuid | guid | ) |
| void CalendarMgr::RemoveEvent | ( | CalendarEvent * | calendarEvent, |
| ObjectGuid | remover | ||
| ) |
| void CalendarMgr::RemoveEvent | ( | uint64 | eventId, |
| ObjectGuid | remover | ||
| ) |
Definition at line 165 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::RemoveInvite | ( | uint64 | inviteId, |
| uint64 | eventId, | ||
| ObjectGuid | remover | ||
| ) |
Definition at line 221 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::RemovePlayerGuildEventsAndSignups | ( | ObjectGuid | guid, |
| ObjectGuid::LowType | guildId | ||
| ) |
| void CalendarMgr::SendCalendarClearPendingAction | ( | ObjectGuid | guid | ) | const |
| void CalendarMgr::SendCalendarCommandResult | ( | ObjectGuid | guid, |
| CalendarError | err, | ||
| char const * | param = nullptr |
||
| ) | const |
Definition at line 714 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEvent | ( | ObjectGuid | guid, |
| CalendarEvent const & | calendarEvent, | ||
| CalendarSendEventType | sendType | ||
| ) | const |
Definition at line 643 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventInvite | ( | CalendarInvite const & | invite | ) | const |
Definition at line 485 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventInviteAlert | ( | CalendarEvent const & | calendarEvent, |
| CalendarInvite const & | invite | ||
| ) | const |
Definition at line 612 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventInviteRemove | ( | CalendarEvent const & | calendarEvent, |
| CalendarInvite const & | invite, | ||
| uint32 | flags | ||
| ) | const |
Definition at line 590 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventInviteRemoveAlert | ( | ObjectGuid | guid, |
| CalendarEvent const & | calendarEvent, | ||
| CalendarInviteStatus | status | ||
| ) | const |
Definition at line 693 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventModeratorStatusAlert | ( | CalendarEvent const & | calendarEvent, |
| CalendarInvite const & | invite | ||
| ) | const |
| void CalendarMgr::SendCalendarEventRemovedAlert | ( | CalendarEvent const & | calendarEvent | ) | const |
Definition at line 573 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::SendCalendarEventStatus | ( | CalendarEvent const & | calendarEvent, |
| CalendarInvite const & | invite | ||
| ) | const |
| void CalendarMgr::SendCalendarEventUpdateAlert | ( | CalendarEvent const & | calendarEvent, |
| time_t | originalDate | ||
| ) | const |
| void CalendarMgr::SendPacketToAllEventRelatives | ( | WorldPacket const * | packet, |
| CalendarEvent const & | calendarEvent | ||
| ) | const |
Definition at line 737 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::UpdateEvent | ( | CalendarEvent * | calendarEvent | ) |
Definition at line 256 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CalendarMgr::UpdateInvite | ( | CalendarInvite * | invite, |
| CharacterDatabaseTransaction | trans = nullptr |
||
| ) |
Definition at line 271 of file CalendarMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 288 of file CalendarMgr.h.
|
private |
Definition at line 291 of file CalendarMgr.h.
|
private |
Definition at line 292 of file CalendarMgr.h.
|
private |
Definition at line 289 of file CalendarMgr.h.
|
private |
Definition at line 293 of file CalendarMgr.h.
|
private |
Definition at line 294 of file CalendarMgr.h.