#include <TicketMgr.h>
|
| | GmTicket () |
| |
| | GmTicket (Player *player) |
| |
| | ~GmTicket () |
| |
| bool | IsClosed () const |
| |
| bool | IsCompleted () const |
| |
| bool | IsFromPlayer (ObjectGuid guid) const |
| |
| bool | IsAssigned () const |
| |
| bool | IsAssignedTo (ObjectGuid guid) const |
| |
| bool | IsAssignedNotTo (ObjectGuid guid) const |
| |
| uint32 | GetId () const |
| |
| Player * | GetPlayer () const |
| |
| std::string const & | GetPlayerName () const |
| |
| std::string const & | GetMessage () const |
| |
| Player * | GetAssignedPlayer () const |
| |
| ObjectGuid | GetAssignedToGUID () const |
| |
| std::string | GetAssignedToName () const |
| |
| uint64 | GetLastModifiedTime () const |
| |
| GMTicketEscalationStatus | GetEscalatedStatus () const |
| |
| void | SetEscalatedStatus (GMTicketEscalationStatus escalatedStatus) |
| |
| void | SetAssignedTo (ObjectGuid guid, bool isAdmin) |
| |
| void | SetClosedBy (ObjectGuid value) |
| |
| void | SetResolvedBy (ObjectGuid value) |
| |
| void | SetCompleted () |
| |
| void | SetMessage (std::string const &message) |
| |
| void | SetComment (std::string const &comment) |
| |
| void | SetViewed () |
| |
| void | SetUnassigned () |
| |
| void | SetPosition (uint32 mapId, float x, float y, float z) |
| |
| void | SetGmAction (uint32 needResponse, bool needMoreHelp) |
| |
| void | AppendResponse (std::string const &response) |
| |
| bool | LoadFromDB (Field *fields) |
| |
| void | SaveToDB (CharacterDatabaseTransaction trans) const |
| |
| void | DeleteFromDB () |
| |
| void | WritePacket (WorldPacket &data) const |
| |
| void | SendResponse (WorldSession *session) const |
| |
| void | TeleportTo (Player *player) const |
| |
| std::string | FormatMessageString (ChatHandler &handler, bool detailed=false) const |
| |
| std::string | FormatMessageString (ChatHandler &handler, char const *szClosedName, char const *szAssignedToName, char const *szUnassignedName, char const *szDeletedName, char const *szCompletedName) const |
| |
| void | SetChatLog (std::list< uint32 > time, std::string const &log) |
| |
| std::string const & | GetChatLog () const |
| |
Definition at line 90 of file TicketMgr.h.
◆ GmTicket() [1/2]
◆ GmTicket() [2/2]
| GmTicket::GmTicket |
( |
Player * |
player | ) |
|
◆ ~GmTicket()
◆ AppendResponse()
| void GmTicket::AppendResponse |
( |
std::string const & |
response | ) |
|
|
inline |
◆ DeleteFromDB()
| void GmTicket::DeleteFromDB |
( |
| ) |
|
◆ FormatMessageString() [1/2]
| std::string GmTicket::FormatMessageString |
( |
ChatHandler & |
handler, |
|
|
bool |
detailed = false |
|
) |
| const |
◆ FormatMessageString() [2/2]
| std::string GmTicket::FormatMessageString |
( |
ChatHandler & |
handler, |
|
|
char const * |
szClosedName, |
|
|
char const * |
szAssignedToName, |
|
|
char const * |
szUnassignedName, |
|
|
char const * |
szDeletedName, |
|
|
char const * |
szCompletedName |
|
) |
| const |
◆ GetAssignedPlayer()
| Player * GmTicket::GetAssignedPlayer |
( |
| ) |
const |
◆ GetAssignedToGUID()
◆ GetAssignedToName()
| std::string GmTicket::GetAssignedToName |
( |
| ) |
const |
◆ GetChatLog()
| std::string const & GmTicket::GetChatLog |
( |
| ) |
const |
|
inline |
◆ GetEscalatedStatus()
◆ GetId()
| uint32 GmTicket::GetId |
( |
| ) |
const |
|
inline |
◆ GetLastModifiedTime()
| uint64 GmTicket::GetLastModifiedTime |
( |
| ) |
const |
|
inline |
◆ GetMessage()
| std::string const & GmTicket::GetMessage |
( |
| ) |
const |
|
inline |
◆ GetPlayer()
| Player * GmTicket::GetPlayer |
( |
| ) |
const |
◆ GetPlayerName()
| std::string const & GmTicket::GetPlayerName |
( |
| ) |
const |
|
inline |
◆ IsAssigned()
| bool GmTicket::IsAssigned |
( |
| ) |
const |
|
inline |
◆ IsAssignedNotTo()
| bool GmTicket::IsAssignedNotTo |
( |
ObjectGuid |
guid | ) |
const |
|
inline |
◆ IsAssignedTo()
| bool GmTicket::IsAssignedTo |
( |
ObjectGuid |
guid | ) |
const |
|
inline |
◆ IsClosed()
| bool GmTicket::IsClosed |
( |
| ) |
const |
|
inline |
◆ IsCompleted()
| bool GmTicket::IsCompleted |
( |
| ) |
const |
|
inline |
◆ IsFromPlayer()
| bool GmTicket::IsFromPlayer |
( |
ObjectGuid |
guid | ) |
const |
|
inline |
◆ LoadFromDB()
| bool GmTicket::LoadFromDB |
( |
Field * |
fields | ) |
|
◆ SaveToDB()
◆ SendResponse()
◆ SetAssignedTo()
| void GmTicket::SetAssignedTo |
( |
ObjectGuid |
guid, |
|
|
bool |
isAdmin |
|
) |
| |
|
inline |
◆ SetChatLog()
| void GmTicket::SetChatLog |
( |
std::list< uint32 > |
time, |
|
|
std::string const & |
log |
|
) |
| |
◆ SetClosedBy()
◆ SetComment()
| void GmTicket::SetComment |
( |
std::string const & |
comment | ) |
|
|
inline |
◆ SetCompleted()
| void GmTicket::SetCompleted |
( |
| ) |
|
|
inline |
◆ SetEscalatedStatus()
◆ SetGmAction()
| void GmTicket::SetGmAction |
( |
uint32 |
needResponse, |
|
|
bool |
needMoreHelp |
|
) |
| |
◆ SetMessage()
| void GmTicket::SetMessage |
( |
std::string const & |
message | ) |
|
◆ SetPosition()
| void GmTicket::SetPosition |
( |
uint32 |
mapId, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ SetResolvedBy()
◆ SetUnassigned()
| void GmTicket::SetUnassigned |
( |
| ) |
|
◆ SetViewed()
| void GmTicket::SetViewed |
( |
| ) |
|
|
inline |
◆ TeleportTo()
| void GmTicket::TeleportTo |
( |
Player * |
player | ) |
const |
◆ WritePacket()
◆ _assignedTo
◆ _chatLog
| std::string GmTicket::_chatLog |
|
private |
◆ _closedBy
◆ _comment
| std::string GmTicket::_comment |
|
private |
◆ _completed
| bool GmTicket::_completed |
|
private |
◆ _createTime
◆ _escalatedStatus
◆ _id
◆ _lastModifiedTime
| uint64 GmTicket::_lastModifiedTime |
|
private |
◆ _mapId
◆ _message
| std::string GmTicket::_message |
|
private |
◆ _needMoreHelp
| bool GmTicket::_needMoreHelp |
|
private |
- Todo:
- find out the use of this, and then store it in DB
Definition at line 169 of file TicketMgr.h.
◆ _needResponse
| bool GmTicket::_needResponse |
|
private |
◆ _playerGuid
◆ _playerName
| std::string GmTicket::_playerName |
|
private |
◆ _posX
◆ _posY
◆ _posZ
◆ _resolvedBy
◆ _response
| std::string GmTicket::_response |
|
private |
◆ _type
◆ _viewed
The documentation for this class was generated from the following files: