TrinityCore
CalendarInvite Struct Reference

#include <CalendarMgr.h>

Public Member Functions

 CalendarInvite (CalendarInvite const &calendarInvite, uint64 inviteId, uint64 eventId)
 
 CalendarInvite ()
 
 CalendarInvite (uint64 inviteId, uint64 eventId, ObjectGuid invitee, ObjectGuid senderGUID, time_t responseTime, CalendarInviteStatus status, CalendarModerationRank rank, std::string note)
 
 ~CalendarInvite ()
 
void SetInviteId (uint64 inviteId)
 
uint64 GetInviteId () const
 
void SetEventId (uint64 eventId)
 
uint64 GetEventId () const
 
void SetSenderGUID (ObjectGuid guid)
 
ObjectGuid GetSenderGUID () const
 
void SetInvitee (ObjectGuid guid)
 
ObjectGuid GetInviteeGUID () const
 
void SetResponseTime (time_t responseTime)
 
time_t GetResponseTime () const
 
void SetNote (std::string const &note)
 
std::string GetNote () const
 
void SetStatus (CalendarInviteStatus status)
 
CalendarInviteStatus GetStatus () const
 
void SetRank (CalendarModerationRank rank)
 
CalendarModerationRank GetRank () const
 

Private Attributes

uint64 _inviteId
 
uint64 _eventId
 
ObjectGuid _invitee
 
ObjectGuid _senderGUID
 
time_t _responseTime
 
CalendarInviteStatus _status
 
CalendarModerationRank _rank
 
std::string _note
 

Constructor & Destructor Documentation

◆ CalendarInvite() [1/3]

CalendarInvite::CalendarInvite ( CalendarInvite const &  calendarInvite,
uint64  inviteId,
uint64  eventId 
)
inline
140  {
141  _inviteId = inviteId;
142  _eventId = eventId;
143  _invitee = calendarInvite.GetInviteeGUID();
144  _senderGUID = calendarInvite.GetSenderGUID();
145  _responseTime = calendarInvite.GetResponseTime();
146  _status = calendarInvite.GetStatus();
147  _rank = calendarInvite.GetRank();
148  _note = calendarInvite.GetNote();
149  }
std::string _note
Definition: CalendarMgr.h:192
CalendarModerationRank _rank
Definition: CalendarMgr.h:191
uint64 _eventId
Definition: CalendarMgr.h:186
time_t _responseTime
Definition: CalendarMgr.h:189
CalendarInviteStatus _status
Definition: CalendarMgr.h:190
ObjectGuid _senderGUID
Definition: CalendarMgr.h:188
ObjectGuid _invitee
Definition: CalendarMgr.h:187
uint64 _inviteId
Definition: CalendarMgr.h:185
+ Here is the call graph for this function:

◆ CalendarInvite() [2/3]

CalendarInvite::CalendarInvite ( )
std::string _note
Definition: CalendarMgr.h:192
CalendarModerationRank _rank
Definition: CalendarMgr.h:191
uint64 _eventId
Definition: CalendarMgr.h:186
time_t _responseTime
Definition: CalendarMgr.h:189
CalendarInviteStatus _status
Definition: CalendarMgr.h:190
ObjectGuid _senderGUID
Definition: CalendarMgr.h:188
ObjectGuid _invitee
Definition: CalendarMgr.h:187
Definition: CalendarMgr.h:81
Definition: CalendarMgr.h:49
uint64 _inviteId
Definition: CalendarMgr.h:185

◆ CalendarInvite() [3/3]

CalendarInvite::CalendarInvite ( uint64  inviteId,
uint64  eventId,
ObjectGuid  invitee,
ObjectGuid  senderGUID,
time_t  responseTime,
CalendarInviteStatus  status,
CalendarModerationRank  rank,
std::string  note 
)
inline
154  :
155  _inviteId(inviteId), _eventId(eventId), _invitee(invitee), _senderGUID(senderGUID), _responseTime(responseTime),
156  _status(status), _rank(rank), _note(note) { }
std::string _note
Definition: CalendarMgr.h:192
CalendarModerationRank _rank
Definition: CalendarMgr.h:191
uint64 _eventId
Definition: CalendarMgr.h:186
time_t _responseTime
Definition: CalendarMgr.h:189
CalendarInviteStatus _status
Definition: CalendarMgr.h:190
ObjectGuid _senderGUID
Definition: CalendarMgr.h:188
ObjectGuid _invitee
Definition: CalendarMgr.h:187
uint64 _inviteId
Definition: CalendarMgr.h:185

◆ ~CalendarInvite()

CalendarInvite::~CalendarInvite ( )
34 {
35  sCalendarMgr->FreeInviteId(_inviteId);
36 }
#define sCalendarMgr
Definition: CalendarMgr.h:338
uint64 _inviteId
Definition: CalendarMgr.h:185

Member Function Documentation

◆ GetEventId()

uint64 CalendarInvite::GetEventId ( ) const
inline
164 { return _eventId; }
uint64 _eventId
Definition: CalendarMgr.h:186
+ Here is the caller graph for this function:

◆ GetInviteeGUID()

ObjectGuid CalendarInvite::GetInviteeGUID ( ) const
inline
170 { return _invitee; }
ObjectGuid _invitee
Definition: CalendarMgr.h:187
+ Here is the caller graph for this function:

◆ GetInviteId()

uint64 CalendarInvite::GetInviteId ( ) const
inline
161 { return _inviteId; }
uint64 _inviteId
Definition: CalendarMgr.h:185
+ Here is the caller graph for this function:

◆ GetNote()

std::string CalendarInvite::GetNote ( ) const
inline
176 { return _note; }
std::string _note
Definition: CalendarMgr.h:192
+ Here is the caller graph for this function:

◆ GetRank()

CalendarModerationRank CalendarInvite::GetRank ( ) const
inline
182 { return _rank; }
CalendarModerationRank _rank
Definition: CalendarMgr.h:191
+ Here is the caller graph for this function:

◆ GetResponseTime()

time_t CalendarInvite::GetResponseTime ( ) const
inline
173 { return _responseTime; }
time_t _responseTime
Definition: CalendarMgr.h:189
+ Here is the caller graph for this function:

◆ GetSenderGUID()

ObjectGuid CalendarInvite::GetSenderGUID ( ) const
inline
167 { return _senderGUID; }
ObjectGuid _senderGUID
Definition: CalendarMgr.h:188
+ Here is the caller graph for this function:

◆ GetStatus()

CalendarInviteStatus CalendarInvite::GetStatus ( ) const
inline
179 { return _status; }
CalendarInviteStatus _status
Definition: CalendarMgr.h:190
+ Here is the caller graph for this function:

◆ SetEventId()

void CalendarInvite::SetEventId ( uint64  eventId)
inline
163 { _eventId = eventId; }
uint64 _eventId
Definition: CalendarMgr.h:186

◆ SetInvitee()

void CalendarInvite::SetInvitee ( ObjectGuid  guid)
inline
169 { _invitee = guid; }
ObjectGuid _invitee
Definition: CalendarMgr.h:187

◆ SetInviteId()

void CalendarInvite::SetInviteId ( uint64  inviteId)
inline
160 { _inviteId = inviteId; }
uint64 _inviteId
Definition: CalendarMgr.h:185

◆ SetNote()

void CalendarInvite::SetNote ( std::string const &  note)
inline
175 { _note = note; }
std::string _note
Definition: CalendarMgr.h:192

◆ SetRank()

void CalendarInvite::SetRank ( CalendarModerationRank  rank)
inline
181 { _rank = rank; }
CalendarModerationRank _rank
Definition: CalendarMgr.h:191

◆ SetResponseTime()

void CalendarInvite::SetResponseTime ( time_t  responseTime)
inline
172 { _responseTime = responseTime; }
time_t _responseTime
Definition: CalendarMgr.h:189

◆ SetSenderGUID()

void CalendarInvite::SetSenderGUID ( ObjectGuid  guid)
inline
166 { _senderGUID = guid; }
ObjectGuid _senderGUID
Definition: CalendarMgr.h:188

◆ SetStatus()

void CalendarInvite::SetStatus ( CalendarInviteStatus  status)
inline
178 { _status = status; }
CalendarInviteStatus _status
Definition: CalendarMgr.h:190

Member Data Documentation

◆ _eventId

uint64 CalendarInvite::_eventId
private

◆ _invitee

ObjectGuid CalendarInvite::_invitee
private

◆ _inviteId

uint64 CalendarInvite::_inviteId
private

◆ _note

std::string CalendarInvite::_note
private

◆ _rank

CalendarModerationRank CalendarInvite::_rank
private

◆ _responseTime

time_t CalendarInvite::_responseTime
private

◆ _senderGUID

ObjectGuid CalendarInvite::_senderGUID
private

◆ _status

CalendarInviteStatus CalendarInvite::_status
private

The documentation for this struct was generated from the following files: