TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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::CalendarInvite ( CalendarInvite const calendarInvite,
uint64  inviteId,
uint64  eventId 
)
inline
135  {
136  _inviteId = inviteId;
137  _eventId = eventId;
138  _invitee = calendarInvite.GetInviteeGUID();
139  _senderGUID = calendarInvite.GetSenderGUID();
140  _responseTime = calendarInvite.GetResponseTime();
141  _status = calendarInvite.GetStatus();
142  _rank = calendarInvite.GetRank();
143  _note = calendarInvite.GetNote();
144  }
std::string _note
Definition: CalendarMgr.h:188
CalendarModerationRank _rank
Definition: CalendarMgr.h:187
uint64 _eventId
Definition: CalendarMgr.h:182
time_t _responseTime
Definition: CalendarMgr.h:185
CalendarInviteStatus _status
Definition: CalendarMgr.h:186
ObjectGuid _senderGUID
Definition: CalendarMgr.h:184
ObjectGuid _invitee
Definition: CalendarMgr.h:183
uint64 _inviteId
Definition: CalendarMgr.h:181

+ Here is the call graph for this function:

CalendarInvite::CalendarInvite ( )
inline
std::string _note
Definition: CalendarMgr.h:188
CalendarModerationRank _rank
Definition: CalendarMgr.h:187
uint64 _eventId
Definition: CalendarMgr.h:182
time_t _responseTime
Definition: CalendarMgr.h:185
CalendarInviteStatus _status
Definition: CalendarMgr.h:186
ObjectGuid _senderGUID
Definition: CalendarMgr.h:184
ObjectGuid _invitee
Definition: CalendarMgr.h:183
Definition: CalendarMgr.h:76
Definition: CalendarMgr.h:44
uint64 _inviteId
Definition: CalendarMgr.h:181
CalendarInvite::CalendarInvite ( uint64  inviteId,
uint64  eventId,
ObjectGuid  invitee,
ObjectGuid  senderGUID,
time_t  responseTime,
CalendarInviteStatus  status,
CalendarModerationRank  rank,
std::string  note 
)
inline
150  :
151  _inviteId(inviteId), _eventId(eventId), _invitee(invitee), _senderGUID(senderGUID), _responseTime(responseTime),
152  _status(status), _rank(rank), _note(note) { }
std::string _note
Definition: CalendarMgr.h:188
CalendarModerationRank _rank
Definition: CalendarMgr.h:187
uint64 _eventId
Definition: CalendarMgr.h:182
time_t _responseTime
Definition: CalendarMgr.h:185
CalendarInviteStatus _status
Definition: CalendarMgr.h:186
ObjectGuid _senderGUID
Definition: CalendarMgr.h:184
ObjectGuid _invitee
Definition: CalendarMgr.h:183
uint64 _inviteId
Definition: CalendarMgr.h:181
CalendarInvite::~CalendarInvite ( )
28 {
29  sCalendarMgr->FreeInviteId(_inviteId);
30 }
#define sCalendarMgr
Definition: CalendarMgr.h:334
uint64 _inviteId
Definition: CalendarMgr.h:181

Member Function Documentation

uint64 CalendarInvite::GetEventId ( ) const
inline
160 { return _eventId; }
uint64 _eventId
Definition: CalendarMgr.h:182

+ Here is the caller graph for this function:

ObjectGuid CalendarInvite::GetInviteeGUID ( ) const
inline
166 { return _invitee; }
ObjectGuid _invitee
Definition: CalendarMgr.h:183

+ Here is the caller graph for this function:

uint64 CalendarInvite::GetInviteId ( ) const
inline
157 { return _inviteId; }
uint64 _inviteId
Definition: CalendarMgr.h:181

+ Here is the caller graph for this function:

std::string CalendarInvite::GetNote ( ) const
inline
172 { return _note; }
std::string _note
Definition: CalendarMgr.h:188

+ Here is the caller graph for this function:

CalendarModerationRank CalendarInvite::GetRank ( ) const
inline
178 { return _rank; }
CalendarModerationRank _rank
Definition: CalendarMgr.h:187

+ Here is the caller graph for this function:

time_t CalendarInvite::GetResponseTime ( ) const
inline
169 { return _responseTime; }
time_t _responseTime
Definition: CalendarMgr.h:185

+ Here is the caller graph for this function:

ObjectGuid CalendarInvite::GetSenderGUID ( ) const
inline
163 { return _senderGUID; }
ObjectGuid _senderGUID
Definition: CalendarMgr.h:184

+ Here is the caller graph for this function:

CalendarInviteStatus CalendarInvite::GetStatus ( ) const
inline
175 { return _status; }
CalendarInviteStatus _status
Definition: CalendarMgr.h:186

+ Here is the caller graph for this function:

void CalendarInvite::SetEventId ( uint64  eventId)
inline
159 { _eventId = eventId; }
uint64 _eventId
Definition: CalendarMgr.h:182
void CalendarInvite::SetInvitee ( ObjectGuid  guid)
inline
165 { _invitee = guid; }
ObjectGuid _invitee
Definition: CalendarMgr.h:183
void CalendarInvite::SetInviteId ( uint64  inviteId)
inline
156 { _inviteId = inviteId; }
uint64 _inviteId
Definition: CalendarMgr.h:181
void CalendarInvite::SetNote ( std::string const note)
inline
171 { _note = note; }
std::string _note
Definition: CalendarMgr.h:188
void CalendarInvite::SetRank ( CalendarModerationRank  rank)
inline
177 { _rank = rank; }
CalendarModerationRank _rank
Definition: CalendarMgr.h:187
void CalendarInvite::SetResponseTime ( time_t  responseTime)
inline
168 { _responseTime = responseTime; }
time_t _responseTime
Definition: CalendarMgr.h:185
void CalendarInvite::SetSenderGUID ( ObjectGuid  guid)
inline
162 { _senderGUID = guid; }
ObjectGuid _senderGUID
Definition: CalendarMgr.h:184
void CalendarInvite::SetStatus ( CalendarInviteStatus  status)
inline
174 { _status = status; }
CalendarInviteStatus _status
Definition: CalendarMgr.h:186

Member Data Documentation

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

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