#include <CalendarMgr.h>
|
| CalendarEvent (CalendarEvent const &calendarEvent, uint64 eventId) |
|
| CalendarEvent (uint64 eventId, ObjectGuid ownerGUID, ObjectGuid::LowType guildId, CalendarEventType type, int32 textureId, time_t date, uint32 flags, std::string title, std::string description, time_t lockDate) |
|
| CalendarEvent () |
|
| ~CalendarEvent () |
|
void | SetEventId (uint64 eventId) |
|
uint64 | GetEventId () const |
|
void | SetOwnerGUID (ObjectGuid guid) |
|
ObjectGuid | GetOwnerGUID () const |
|
void | SetGuildId (ObjectGuid::LowType guildId) |
|
ObjectGuid::LowType | GetGuildId () const |
|
void | SetTitle (std::string const &title) |
|
std::string | GetTitle () const |
|
void | SetDescription (std::string const &description) |
|
std::string | GetDescription () const |
|
void | SetType (CalendarEventType eventType) |
|
CalendarEventType | GetType () const |
|
void | SetTextureId (int32 textureId) |
|
int32 | GetTextureId () const |
|
void | SetDate (time_t date) |
|
time_t | GetDate () const |
|
void | SetFlags (uint32 flags) |
|
uint32 | GetFlags () const |
|
bool | IsGuildEvent () const |
|
bool | IsGuildAnnouncement () const |
|
bool | IsLocked () const |
|
void | SetLockDate (time_t lockDate) |
|
time_t | GetLockDate () const |
|
std::string | BuildCalendarMailSubject (ObjectGuid remover) const |
|
std::string | BuildCalendarMailBody () const |
|
201 _date = calendarEvent.GetDate();
202 _flags = calendarEvent.GetFlags();
203 _title = calendarEvent.GetTitle();
time_t _date
Definition: CalendarMgr.h:261
uint32 _flags
Definition: CalendarMgr.h:262
ObjectGuid _ownerGUID
Definition: CalendarMgr.h:257
std::string _description
Definition: CalendarMgr.h:264
time_t _lockDate
Definition: CalendarMgr.h:265
ObjectGuid::LowType _eventGuildId
Definition: CalendarMgr.h:258
uint64 _eventId
Definition: CalendarMgr.h:256
CalendarEventType _eventType
Definition: CalendarMgr.h:259
std::string _title
Definition: CalendarMgr.h:263
int32 _textureId
Definition: CalendarMgr.h:260
time_t _date
Definition: CalendarMgr.h:261
uint32 _flags
Definition: CalendarMgr.h:262
ObjectGuid _ownerGUID
Definition: CalendarMgr.h:257
std::string _description
Definition: CalendarMgr.h:264
time_t _lockDate
Definition: CalendarMgr.h:265
ObjectGuid::LowType _eventGuildId
Definition: CalendarMgr.h:258
uint64 _eventId
Definition: CalendarMgr.h:256
CalendarEventType _eventType
Definition: CalendarMgr.h:259
std::string _title
Definition: CalendarMgr.h:263
uint8 flags
Definition: DisableMgr.cpp:44
int32 _textureId
Definition: CalendarMgr.h:260
CalendarEvent::CalendarEvent |
( |
| ) |
|
|
inline |
time_t _date
Definition: CalendarMgr.h:261
uint32 _flags
Definition: CalendarMgr.h:262
ObjectGuid _ownerGUID
Definition: CalendarMgr.h:257
std::string _description
Definition: CalendarMgr.h:264
time_t _lockDate
Definition: CalendarMgr.h:265
#define UI64LIT(N)
Definition: Define.h:138
Definition: CalendarMgr.h:62
ObjectGuid::LowType _eventGuildId
Definition: CalendarMgr.h:258
uint64 _eventId
Definition: CalendarMgr.h:256
CalendarEventType _eventType
Definition: CalendarMgr.h:259
std::string _title
Definition: CalendarMgr.h:263
int32 _textureId
Definition: CalendarMgr.h:260
CalendarEvent::~CalendarEvent |
( |
| ) |
|
#define sCalendarMgr
Definition: CalendarMgr.h:334
uint64 _eventId
Definition: CalendarMgr.h:256
std::string CalendarEvent::BuildCalendarMailBody |
( |
| ) |
const |
418 std::ostringstream strm;
time_t _date
Definition: CalendarMgr.h:261
uint32_t uint32
Definition: Define.h:150
void AppendPackedTime(time_t time)
Definition: ByteBuffer.h:680
Definition: WorldPacket.h:26
std::string CalendarEvent::BuildCalendarMailSubject |
( |
ObjectGuid |
remover | ) |
const |
409 std::ostringstream strm;
410 strm << remover <<
':' <<
_title;
std::string _title
Definition: CalendarMgr.h:263
time_t CalendarEvent::GetDate |
( |
| ) |
const |
|
inline |
time_t _date
Definition: CalendarMgr.h:261
std::string CalendarEvent::GetDescription |
( |
| ) |
const |
|
inline |
std::string _description
Definition: CalendarMgr.h:264
uint64 CalendarEvent::GetEventId |
( |
| ) |
const |
|
inline |
uint64 _eventId
Definition: CalendarMgr.h:256
uint32 CalendarEvent::GetFlags |
( |
| ) |
const |
|
inline |
uint32 _flags
Definition: CalendarMgr.h:262
ObjectGuid::LowType _eventGuildId
Definition: CalendarMgr.h:258
time_t CalendarEvent::GetLockDate |
( |
| ) |
const |
|
inline |
time_t _lockDate
Definition: CalendarMgr.h:265
ObjectGuid _ownerGUID
Definition: CalendarMgr.h:257
int32 CalendarEvent::GetTextureId |
( |
| ) |
const |
|
inline |
int32 _textureId
Definition: CalendarMgr.h:260
std::string CalendarEvent::GetTitle |
( |
| ) |
const |
|
inline |
std::string _title
Definition: CalendarMgr.h:263
CalendarEventType _eventType
Definition: CalendarMgr.h:259
bool CalendarEvent::IsGuildAnnouncement |
( |
| ) |
const |
|
inline |
uint32 _flags
Definition: CalendarMgr.h:262
Definition: CalendarMgr.h:38
bool CalendarEvent::IsGuildEvent |
( |
| ) |
const |
|
inline |
uint32 _flags
Definition: CalendarMgr.h:262
Definition: CalendarMgr.h:39
bool CalendarEvent::IsLocked |
( |
| ) |
const |
|
inline |
uint32 _flags
Definition: CalendarMgr.h:262
Definition: CalendarMgr.h:37
void CalendarEvent::SetDate |
( |
time_t |
date | ) |
|
|
inline |
time_t _date
Definition: CalendarMgr.h:261
void CalendarEvent::SetDescription |
( |
std::string const & |
description | ) |
|
|
inline |
std::string _description
Definition: CalendarMgr.h:264
void CalendarEvent::SetEventId |
( |
uint64 |
eventId | ) |
|
|
inline |
uint64 _eventId
Definition: CalendarMgr.h:256
void CalendarEvent::SetFlags |
( |
uint32 |
flags | ) |
|
|
inline |
uint32 _flags
Definition: CalendarMgr.h:262
uint8 flags
Definition: DisableMgr.cpp:44
ObjectGuid::LowType _eventGuildId
Definition: CalendarMgr.h:258
void CalendarEvent::SetLockDate |
( |
time_t |
lockDate | ) |
|
|
inline |
time_t _lockDate
Definition: CalendarMgr.h:265
void CalendarEvent::SetOwnerGUID |
( |
ObjectGuid |
guid | ) |
|
|
inline |
ObjectGuid _ownerGUID
Definition: CalendarMgr.h:257
void CalendarEvent::SetTextureId |
( |
int32 |
textureId | ) |
|
|
inline |
int32 _textureId
Definition: CalendarMgr.h:260
void CalendarEvent::SetTitle |
( |
std::string const & |
title | ) |
|
|
inline |
std::string _title
Definition: CalendarMgr.h:263
CalendarEventType _eventType
Definition: CalendarMgr.h:259
time_t CalendarEvent::_date |
|
private |
std::string CalendarEvent::_description |
|
private |
uint64 CalendarEvent::_eventId |
|
private |
time_t CalendarEvent::_lockDate |
|
private |
int32 CalendarEvent::_textureId |
|
private |
std::string CalendarEvent::_title |
|
private |
The documentation for this struct was generated from the following files: