AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "CalendarMgr.h"
Public Member Functions | |
CalendarEvent (CalendarEvent const &calendarEvent, uint64 eventId) | |
CalendarEvent (uint64 eventId, ObjectGuid creatorGUID, uint32 guildId, CalendarEventType type, int32 dungeonId, time_t eventTime, uint32 flags, time_t timezoneTime, std::string title, std::string description) | |
CalendarEvent () | |
~CalendarEvent () | |
void | SetEventId (uint64 eventId) |
uint64 | GetEventId () const |
void | SetCreatorGUID (ObjectGuid guid) |
ObjectGuid | GetCreatorGUID () const |
void | SetGuildId (uint32 guildId) |
uint32 | GetGuildId () const |
void | SetTitle (const std::string &title) |
std::string | GetTitle () const |
void | SetDescription (const std::string &description) |
std::string | GetDescription () const |
void | SetType (CalendarEventType type) |
CalendarEventType | GetType () const |
void | SetDungeonId (int32 dungeonId) |
int32 | GetDungeonId () const |
void | SetEventTime (time_t eventTime) |
time_t | GetEventTime () const |
void | SetFlags (uint32 flags) |
uint32 | GetFlags () const |
void | SetTimeZoneTime (time_t timezoneTime) |
time_t | GetTimeZoneTime () const |
bool | IsGuildEvent () const |
bool | IsGuildAnnouncement () const |
std::string | BuildCalendarMailSubject (ObjectGuid remover) const |
std::string | BuildCalendarMailBody () const |
Static Public Member Functions | |
static bool | IsGuildEvent (uint32 flags) |
static bool | IsGuildAnnouncement (uint32 flags) |
Private Attributes | |
uint64 | _eventId |
ObjectGuid | _creatorGUID |
uint32 | _guildId |
CalendarEventType | _type |
int32 | _dungeonId |
time_t | _eventTime |
uint32 | _flags |
time_t | _timezoneTime |
std::string | _title |
std::string | _description |
|
inline |
References _creatorGUID, _description, _dungeonId, _eventId, _eventTime, _flags, _guildId, _timezoneTime, _title, _type, GetCreatorGUID(), GetDescription(), GetDungeonId(), GetEventTime(), GetFlags(), GetGuildId(), GetTimeZoneTime(), GetTitle(), and GetType().
|
inline |
|
inline |
CalendarEvent::~CalendarEvent | ( | ) |
References _eventId, and sCalendarMgr.
std::string CalendarEvent::BuildCalendarMailBody | ( | ) | const |
References _eventTime, and ByteBuffer::AppendPackedTime().
Referenced by CalendarMgr::RemoveEvent().
std::string CalendarEvent::BuildCalendarMailSubject | ( | ObjectGuid | remover | ) | const |
References _title, and ObjectGuid::ToString().
Referenced by CalendarMgr::RemoveEvent().
|
inline |
References _creatorGUID.
Referenced by CalendarMgr::AddEvent(), CalendarMgr::AddInvite(), CalendarEvent(), WorldSession::HandleCalendarGetCalendar(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInvite(), CalendarMgr::SendCalendarEventInviteAlert(), and CalendarMgr::UpdateEvent().
|
inline |
References _description.
Referenced by CalendarEvent(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventUpdateAlert(), and CalendarMgr::UpdateEvent().
|
inline |
|
inline |
References _eventId.
Referenced by WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCalendarCopyEvent(), WorldSession::HandleCalendarGetCalendar(), CalendarMgr::RemoveEvent(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), CalendarMgr::SendCalendarEventRemovedAlert(), CalendarMgr::SendCalendarEventStatus(), CalendarMgr::SendCalendarEventUpdateAlert(), CalendarMgr::SendPacketToAllEventRelatives(), and CalendarMgr::UpdateEvent().
|
inline |
References _eventTime.
Referenced by CalendarEvent(), WorldSession::HandleCalendarGetCalendar(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), CalendarMgr::SendCalendarEventRemovedAlert(), CalendarMgr::SendCalendarEventStatus(), CalendarMgr::SendCalendarEventUpdateAlert(), and CalendarMgr::UpdateEvent().
|
inline |
References _flags.
Referenced by CalendarEvent(), WorldSession::HandleCalendarGetCalendar(), CalendarMgr::RemoveInvite(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), CalendarMgr::SendCalendarEventStatus(), CalendarMgr::SendCalendarEventUpdateAlert(), and CalendarMgr::UpdateEvent().
|
inline |
References _guildId.
Referenced by CalendarEvent(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInviteAlert(), and CalendarMgr::SendPacketToAllEventRelatives().
|
inline |
References _timezoneTime.
Referenced by CalendarEvent(), CalendarMgr::SendCalendarEvent(), and CalendarMgr::UpdateEvent().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
References CALENDAR_FLAG_WITHOUT_INVITES.
|
inline |
|
inlinestatic |
References CALENDAR_FLAG_GUILD_EVENT.
|
inline |
References _creatorGUID.
|
inline |
References _description.
|
inline |
References _dungeonId.
|
inline |
|
inline |
References _eventTime.
Referenced by WorldSession::HandleCalendarCopyEvent().
|
inline |
References _guildId.
Referenced by WorldSession::HandleCalendarAddEvent().
|
inline |
References _timezoneTime.
|
inline |
|
inline |
|
private |
Referenced by CalendarEvent(), GetCreatorGUID(), and SetCreatorGUID().
|
private |
Referenced by CalendarEvent(), GetDescription(), and SetDescription().
|
private |
Referenced by CalendarEvent(), GetDungeonId(), and SetDungeonId().
|
private |
Referenced by CalendarEvent(), GetEventId(), SetEventId(), and ~CalendarEvent().
|
private |
Referenced by BuildCalendarMailBody(), CalendarEvent(), GetEventTime(), and SetEventTime().
|
private |
Referenced by CalendarEvent(), GetFlags(), IsGuildAnnouncement(), IsGuildEvent(), and SetFlags().
|
private |
Referenced by CalendarEvent(), GetGuildId(), and SetGuildId().
|
private |
Referenced by CalendarEvent(), GetTimeZoneTime(), and SetTimeZoneTime().
|
private |
Referenced by BuildCalendarMailSubject(), CalendarEvent(), GetTitle(), and SetTitle().
|
private |
Referenced by CalendarEvent(), GetType(), and SetType().