|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <TicketInfo.h>
Public Member Functions | |
| BugTicket () | |
| BugTicket (Player *player, WorldPacket &bugPacket) | |
| void | DeleteFromDB () OVERRIDE |
| std::string | FormatMessageString (ChatHandler &handler, bool detailed=false) const OVERRIDE |
| virtual std::string | FormatMessageString (ChatHandler &handler, const char *szClosedName, const char *szAssignedToName, const char *szUnassignedName, const char *szDeletedName) const |
| std::string const & | GetNote () const |
| void | LoadFromDB (Field *fields) OVERRIDE |
| void | SaveToDB (SQLTransaction &trans) const OVERRIDE |
| void | SetNote (std::string const &bugnote) |
| void | SetOrientation (float Orientation) |
| ~BugTicket () | |
| Public Member Functions inherited from TicketInfo | |
| Player * | GetAssignedPlayer () const |
| uint64 | GetAssignedToGUID () const |
| std::string | GetAssignedToName () const |
| std::string const & | GetComment () const |
| uint32 | GetMapId () const |
| Player * | GetPlayer () const |
| uint64 | GetPlayerGuid () const |
| std::string const & | GetPlayerName () const |
| uint32 | GetTicketId () const |
| bool | IsAssigned () const |
| bool | IsAssignedNotTo (uint64 guid) const |
| bool | IsAssignedTo (uint64 guid) const |
| bool | IsClosed () const |
| bool | IsFromPlayer (uint64 guid) const |
| virtual void | SetAssignedTo (uint64 assignedTo, bool=false) |
| void | SetClosedBy (uint64 closer) |
| void | SetComment (std::string &comment) |
| void | SetComment (std::string comment) |
| void | SetPosition (uint32 MapID, G3D::Vector3 pos) |
| virtual void | SetUnassigned () |
| void | TeleportTo (Player *player) const |
| TicketInfo () | |
| TicketInfo (Player *player) | |
| virtual | ~TicketInfo () |
Private Attributes | |
| std::string | _bugnote |
| float | _Orientation |
Additional Inherited Members | |
| Protected Attributes inherited from TicketInfo | |
| uint64 | _assignedTo |
| uint64 | _closedBy |
| std::string | _comment |
| uint32 | _mapId |
| uint64 | _playerGuid |
| std::string | _playerName |
| G3D::Vector3 | _pos |
| uint32 | _ticketCreateTime |
| uint32 | _ticketId |
Definition at line 168 of file TicketInfo.h.
| BugTicket::BugTicket | ( | ) |
Definition at line 223 of file TicketInfo.cpp.
References _Orientation.
| BugTicket::BugTicket | ( | Player * | player, |
| WorldPacket & | bugPacket ) |
Definition at line 225 of file TicketInfo.cpp.
References _bugnote, TicketInfo::_mapId, _Orientation, TicketInfo::_pos, TicketInfo::_ticketId, ByteBuffer::ReadBits(), ByteBuffer::ReadString(), sTicketMgr, and TicketInfo::TicketInfo().
| BugTicket::~BugTicket | ( | ) |
Definition at line 238 of file TicketInfo.cpp.
|
virtual |
Implements TicketInfo.
Definition at line 281 of file TicketInfo.cpp.
References TicketInfo::_ticketId, CHAR_DEL_GM_BUG, CharacterDatabase, and PreparedStatement::setUInt32().
|
virtual |
Implements TicketInfo.
Definition at line 288 of file TicketInfo.cpp.
References TicketInfo::_assignedTo, _bugnote, TicketInfo::_comment, TicketInfo::_ticketCreateTime, TicketInfo::_ticketId, WorldObject::GetName(), TicketInfo::GetPlayer(), LANG_COMMAND_TICKETLISTAGECREATE, LANG_COMMAND_TICKETLISTASSIGNEDTO, LANG_COMMAND_TICKETLISTCOMMENT, LANG_COMMAND_TICKETLISTGUID, LANG_COMMAND_TICKETLISTMESSAGE, LANG_COMMAND_TICKETLISTNAME, ChatHandler::PGetParseString(), secsToTimeString(), and sObjectMgr.
|
virtual |
Reimplemented from TicketInfo.
Definition at line 108 of file TicketInfo.cpp.
References TicketInfo::_assignedTo, TicketInfo::_closedBy, TicketInfo::_comment, TicketInfo::_mapId, TicketInfo::_pos, TicketInfo::_ticketCreateTime, and HIGHGUID_PLAYER.
|
inline |
Definition at line 175 of file TicketInfo.h.
References _bugnote.
|
virtual |
Implements TicketInfo.
Definition at line 240 of file TicketInfo.cpp.
References TicketInfo::_assignedTo, _bugnote, TicketInfo::_closedBy, TicketInfo::_comment, TicketInfo::_mapId, _Orientation, TicketInfo::_playerGuid, TicketInfo::_pos, TicketInfo::_ticketCreateTime, TicketInfo::_ticketId, Field::GetFloat(), Field::GetInt64(), Field::GetString(), Field::GetUInt32(), Field::GetUInt64(), HIGHGUID_PLAYER, and MAKE_NEW_GUID().
Referenced by TicketMgr::LoadBugTickets().
|
virtual |
Implements TicketInfo.
Definition at line 262 of file TicketInfo.cpp.
References TicketInfo::_assignedTo, _bugnote, TicketInfo::_closedBy, TicketInfo::_comment, TicketInfo::_mapId, _Orientation, TicketInfo::_playerGuid, TicketInfo::_pos, TicketInfo::_ticketId, CHAR_REP_GM_BUG, CharacterDatabase, GUID_LOPART(), PreparedStatement::setFloat(), PreparedStatement::setString(), and PreparedStatement::setUInt32().
Referenced by TicketMgr::AddTicket().
|
inline |
Definition at line 178 of file TicketInfo.h.
References _bugnote.
|
inline |
Definition at line 177 of file TicketInfo.h.
References _Orientation.
|
private |
Definition at line 189 of file TicketInfo.h.
Referenced by BugTicket(), FormatMessageString(), GetNote(), LoadFromDB(), SaveToDB(), and SetNote().
|
private |
Definition at line 188 of file TicketInfo.h.
Referenced by BugTicket(), BugTicket(), LoadFromDB(), SaveToDB(), and SetOrientation().