![]() |
TrinityCore
|
#include <SupportMgr.h>
Static Public Member Functions | |
| static SupportMgr * | instance () |
Private Member Functions | |
| SupportMgr () | |
| ~SupportMgr () | |
Definition at line 241 of file SupportMgr.h.
|
private |
Definition at line 397 of file SupportMgr.cpp.
|
private |
Definition at line 401 of file SupportMgr.cpp.
References _bugTicketList, _complaintTicketList, and _suggestionTicketList.
|
delete |
|
delete |
| void SupportMgr::AddTicket | ( | BugTicket * | ticket | ) |
Definition at line 614 of file SupportMgr.cpp.
References _bugTicketList, _openBugTicketCount, Ticket::GetId(), Ticket::IsClosed(), and BugTicket::SaveToDB().
| void SupportMgr::AddTicket | ( | ComplaintTicket * | ticket | ) |
Definition at line 623 of file SupportMgr.cpp.
References _complaintTicketList, _openComplaintTicketCount, Ticket::GetId(), Ticket::IsClosed(), and ComplaintTicket::SaveToDB().
| void SupportMgr::AddTicket | ( | SuggestionTicket * | ticket | ) |
Definition at line 632 of file SupportMgr.cpp.
References _openSuggestionTicketCount, _suggestionTicketList, Ticket::GetId(), Ticket::IsClosed(), and SuggestionTicket::SaveToDB().
| TC_GAME_API void SupportMgr::CloseTicket | ( | uint32 | ticketId, |
| ObjectGuid | closedBy | ||
| ) |
Definition at line 675 of file SupportMgr.cpp.
References _openBugTicketCount, and ObjectGuid::IsEmpty().
| TC_GAME_API void SupportMgr::CloseTicket | ( | uint32 | ticketId, |
| ObjectGuid | closedBy | ||
| ) |
Definition at line 687 of file SupportMgr.cpp.
References _openComplaintTicketCount, and ObjectGuid::IsEmpty().
| TC_GAME_API void SupportMgr::CloseTicket | ( | uint32 | ticketId, |
| ObjectGuid | closedBy | ||
| ) |
Definition at line 699 of file SupportMgr.cpp.
References _openSuggestionTicketCount, and ObjectGuid::IsEmpty().
| void SupportMgr::CloseTicket | ( | uint32 | ticketId, |
| ObjectGuid | closedBy | ||
| ) |
|
inline |
Definition at line 305 of file SupportMgr.h.
|
inline |
Definition at line 306 of file SupportMgr.h.
|
inline |
Definition at line 307 of file SupportMgr.h.
|
inline |
Definition at line 264 of file SupportMgr.h.
| ComplaintTicketList SupportMgr::GetComplaintsByPlayerGuid | ( | ObjectGuid | playerGuid | ) | const |
Definition at line 451 of file SupportMgr.cpp.
References _complaintTicketList.
|
inline |
Definition at line 265 of file SupportMgr.h.
|
inline |
Definition at line 267 of file SupportMgr.h.
| TC_GAME_API uint32 SupportMgr::GetOpenTicketCount | ( | ) | const |
Definition at line 471 of file SupportMgr.cpp.
References _openBugTicketCount.
| TC_GAME_API uint32 SupportMgr::GetOpenTicketCount | ( | ) | const |
Definition at line 474 of file SupportMgr.cpp.
References _openComplaintTicketCount.
| TC_GAME_API uint32 SupportMgr::GetOpenTicketCount | ( | ) | const |
Definition at line 477 of file SupportMgr.cpp.
References _openSuggestionTicketCount.
| uint32 SupportMgr::GetOpenTicketCount | ( | ) | const |
|
inline |
Definition at line 266 of file SupportMgr.h.
|
inline |
Definition at line 262 of file SupportMgr.h.
| TC_GAME_API BugTicket * SupportMgr::GetTicket | ( | uint32 | bugId | ) |
Definition at line 420 of file SupportMgr.cpp.
References _bugTicketList.
| TC_GAME_API ComplaintTicket * SupportMgr::GetTicket | ( | uint32 | complaintId | ) |
Definition at line 431 of file SupportMgr.cpp.
References _complaintTicketList.
| TC_GAME_API SuggestionTicket * SupportMgr::GetTicket | ( | uint32 | suggestionId | ) |
Definition at line 441 of file SupportMgr.cpp.
References _suggestionTicketList.
| T * SupportMgr::GetTicket | ( | uint32 | ticketId | ) |
|
inline |
Definition at line 263 of file SupportMgr.h.
| void SupportMgr::Initialize | ( | ) |
Definition at line 461 of file SupportMgr.cpp.
References CONFIG_SUPPORT_BUGS_ENABLED, CONFIG_SUPPORT_COMPLAINTS_ENABLED, CONFIG_SUPPORT_ENABLED, CONFIG_SUPPORT_SUGGESTIONS_ENABLED, CONFIG_SUPPORT_TICKETS_ENABLED, SetBugSystemStatus(), SetComplaintSystemStatus(), SetSuggestionSystemStatus(), SetSupportSystemStatus(), SetTicketSystemStatus(), and sWorld.
|
static |
| void SupportMgr::LoadBugTickets | ( | ) |
Definition at line 479 of file SupportMgr.cpp.
References _bugTicketList, _lastBugId, _openBugTicketCount, CHAR_SEL_GM_BUGS, CharacterDatabase, Ticket::GetId(), getMSTime(), GetMSTimeDiffToNow(), Ticket::IsClosed(), BugTicket::LoadFromDB(), and TC_LOG_INFO.
| void SupportMgr::LoadComplaintTickets | ( | ) |
Definition at line 519 of file SupportMgr.cpp.
References _complaintTicketList, _lastComplaintId, _openComplaintTicketCount, CHAR_SEL_GM_COMPLAINT_CHATLINES, CHAR_SEL_GM_COMPLAINTS, CharacterDatabase, Ticket::GetId(), getMSTime(), GetMSTimeDiffToNow(), Ticket::IsClosed(), ComplaintTicket::LoadChatLineFromDB(), ComplaintTicket::LoadFromDB(), PreparedStatementBase::setUInt32(), and TC_LOG_INFO.
| void SupportMgr::LoadSuggestionTickets | ( | ) |
Definition at line 574 of file SupportMgr.cpp.
References _lastSuggestionId, _openSuggestionTicketCount, _suggestionTicketList, CHAR_SEL_GM_SUGGESTIONS, CharacterDatabase, Ticket::GetId(), getMSTime(), GetMSTimeDiffToNow(), Ticket::IsClosed(), SuggestionTicket::LoadFromDB(), and TC_LOG_INFO.
|
delete |
|
delete |
| TC_GAME_API void SupportMgr::RemoveTicket | ( | uint32 | ticketId | ) |
Definition at line 642 of file SupportMgr.cpp.
References _bugTicketList.
| TC_GAME_API void SupportMgr::RemoveTicket | ( | uint32 | ticketId | ) |
Definition at line 653 of file SupportMgr.cpp.
References _complaintTicketList.
| TC_GAME_API void SupportMgr::RemoveTicket | ( | uint32 | ticketId | ) |
Definition at line 664 of file SupportMgr.cpp.
References _suggestionTicketList.
| void SupportMgr::RemoveTicket | ( | uint32 | ticketId | ) |
| TC_GAME_API void SupportMgr::ResetTickets | ( | ) |
Definition at line 711 of file SupportMgr.cpp.
References _bugTicketList, _lastBugId, CHAR_DEL_ALL_GM_BUGS, and CharacterDatabase.
| TC_GAME_API void SupportMgr::ResetTickets | ( | ) |
Definition at line 724 of file SupportMgr.cpp.
References _complaintTicketList, _lastComplaintId, CHAR_DEL_ALL_GM_COMPLAINT_CHATLOGS, CHAR_DEL_ALL_GM_COMPLAINTS, and CharacterDatabase.
| TC_GAME_API void SupportMgr::ResetTickets | ( | ) |
Definition at line 739 of file SupportMgr.cpp.
References _lastSuggestionId, _suggestionTicketList, CHAR_DEL_ALL_GM_SUGGESTIONS, and CharacterDatabase.
| void SupportMgr::ResetTickets | ( | ) |
|
inline |
Definition at line 273 of file SupportMgr.h.
Referenced by Initialize().
|
inline |
Definition at line 274 of file SupportMgr.h.
Referenced by Initialize().
|
inline |
Definition at line 275 of file SupportMgr.h.
Referenced by Initialize().
|
inline |
Definition at line 271 of file SupportMgr.h.
Referenced by Initialize().
|
inline |
Definition at line 272 of file SupportMgr.h.
Referenced by Initialize().
| TC_GAME_API void SupportMgr::ShowClosedList | ( | ChatHandler & | handler | ) | const |
Definition at line 779 of file SupportMgr.cpp.
References _bugTicketList, LANG_COMMAND_TICKETSHOWCLOSEDLIST, and ChatHandler::SendSysMessage().
| TC_GAME_API void SupportMgr::ShowClosedList | ( | ChatHandler & | handler | ) | const |
Definition at line 788 of file SupportMgr.cpp.
References _complaintTicketList, LANG_COMMAND_TICKETSHOWCLOSEDLIST, and ChatHandler::SendSysMessage().
| TC_GAME_API void SupportMgr::ShowClosedList | ( | ChatHandler & | handler | ) | const |
Definition at line 797 of file SupportMgr.cpp.
References _suggestionTicketList, LANG_COMMAND_TICKETSHOWCLOSEDLIST, and ChatHandler::SendSysMessage().
| void SupportMgr::ShowClosedList | ( | ChatHandler & | handler | ) | const |
| TC_GAME_API void SupportMgr::ShowList | ( | ChatHandler & | handler | ) | const |
Definition at line 752 of file SupportMgr.cpp.
References _bugTicketList, LANG_COMMAND_TICKETSHOWLIST, and ChatHandler::SendSysMessage().
| TC_GAME_API void SupportMgr::ShowList | ( | ChatHandler & | handler | ) | const |
Definition at line 761 of file SupportMgr.cpp.
References _complaintTicketList, LANG_COMMAND_TICKETSHOWLIST, and ChatHandler::SendSysMessage().
| TC_GAME_API void SupportMgr::ShowList | ( | ChatHandler & | handler | ) | const |
Definition at line 770 of file SupportMgr.cpp.
References _suggestionTicketList, LANG_COMMAND_TICKETSHOWLIST, and ChatHandler::SendSysMessage().
| void SupportMgr::ShowList | ( | ChatHandler & | handler | ) | const |
| void SupportMgr::ShowList | ( | ChatHandler & | handler, |
| bool | onlineOnly | ||
| ) | const |
| void SupportMgr::UpdateLastChange | ( | ) |
Definition at line 805 of file SupportMgr.cpp.
References _lastChange, and GameTime::GetGameTime().
|
private |
Definition at line 312 of file SupportMgr.h.
|
private |
Definition at line 315 of file SupportMgr.h.
Referenced by AddTicket(), GetTicket(), LoadBugTickets(), RemoveTicket(), ResetTickets(), ShowClosedList(), ShowList(), and ~SupportMgr().
|
private |
Definition at line 313 of file SupportMgr.h.
|
private |
Definition at line 316 of file SupportMgr.h.
Referenced by AddTicket(), GetComplaintsByPlayerGuid(), GetTicket(), LoadComplaintTickets(), RemoveTicket(), ResetTickets(), ShowClosedList(), ShowList(), and ~SupportMgr().
|
private |
Definition at line 318 of file SupportMgr.h.
Referenced by LoadBugTickets(), and ResetTickets().
|
private |
Definition at line 321 of file SupportMgr.h.
Referenced by UpdateLastChange().
|
private |
Definition at line 319 of file SupportMgr.h.
Referenced by LoadComplaintTickets(), and ResetTickets().
|
private |
Definition at line 320 of file SupportMgr.h.
Referenced by LoadSuggestionTickets(), and ResetTickets().
|
private |
Definition at line 322 of file SupportMgr.h.
Referenced by AddTicket(), CloseTicket(), GetOpenTicketCount(), and LoadBugTickets().
|
private |
Definition at line 323 of file SupportMgr.h.
Referenced by AddTicket(), CloseTicket(), GetOpenTicketCount(), and LoadComplaintTickets().
|
private |
Definition at line 324 of file SupportMgr.h.
Referenced by AddTicket(), CloseTicket(), GetOpenTicketCount(), and LoadSuggestionTickets().
|
private |
Definition at line 314 of file SupportMgr.h.
|
private |
Definition at line 317 of file SupportMgr.h.
Referenced by AddTicket(), GetTicket(), LoadSuggestionTickets(), RemoveTicket(), ResetTickets(), ShowClosedList(), ShowList(), and ~SupportMgr().
|
private |
Definition at line 310 of file SupportMgr.h.
|
private |
Definition at line 311 of file SupportMgr.h.