AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
TicketMgr.h File Reference
#include "CharacterCache.h"
#include "ObjectMgr.h"
#include <string>

Go to the source code of this file.

Classes

class  GmTicket
 
class  TicketMgr
 

Macros

#define sTicketMgr   TicketMgr::instance()
 

Typedefs

typedef std::map< uint32, GmTicket * > GmTicketList
 

Enumerations

enum  GMTicketSystemStatus {
  GMTICKET_QUEUE_STATUS_DISABLED = 0 ,
  GMTICKET_QUEUE_STATUS_ENABLED = 1
}
 
enum  GMTicketStatus {
  GMTICKET_STATUS_HASTEXT = 0x06 ,
  GMTICKET_STATUS_DEFAULT = 0x0A
}
 
enum  GMTicketResponse {
  GMTICKET_RESPONSE_ALREADY_EXIST = 1 ,
  GMTICKET_RESPONSE_CREATE_SUCCESS = 2 ,
  GMTICKET_RESPONSE_CREATE_ERROR = 3 ,
  GMTICKET_RESPONSE_UPDATE_SUCCESS = 4 ,
  GMTICKET_RESPONSE_UPDATE_ERROR = 5 ,
  GMTICKET_RESPONSE_TICKET_DELETED = 9
}
 
enum  GMTicketEscalationStatus {
  TICKET_UNASSIGNED = 0 ,
  TICKET_ASSIGNED = 1 ,
  TICKET_IN_ESCALATION_QUEUE = 2 ,
  TICKET_ESCALATED_ASSIGNED = 3
}
 
enum  GMTicketOpenedByGMStatus {
  GMTICKET_OPENEDBYGM_STATUS_NOT_OPENED = 0 ,
  GMTICKET_OPENEDBYGM_STATUS_OPENED = 1
}
 
enum  LagReportType {
  LAG_REPORT_TYPE_LOOT = 1 ,
  LAG_REPORT_TYPE_AUCTION_HOUSE = 2 ,
  LAG_REPORT_TYPE_MAIL = 3 ,
  LAG_REPORT_TYPE_CHAT = 4 ,
  LAG_REPORT_TYPE_MOVEMENT = 5 ,
  LAG_REPORT_TYPE_SPELL = 6
}
 
enum  TicketType {
  TICKET_TYPE_OPEN = 0 ,
  TICKET_TYPE_CLOSED = 1 ,
  TICKET_TYPE_CHARACTER_DELETED = 2
}
 

Macro Definition Documentation

◆ sTicketMgr

#define sTicketMgr   TicketMgr::instance()

Typedef Documentation

◆ GmTicketList

typedef std::map<uint32, GmTicket*> GmTicketList

Enumeration Type Documentation

◆ GMTicketEscalationStatus

Enumerator
TICKET_UNASSIGNED 
TICKET_ASSIGNED 
TICKET_IN_ESCALATION_QUEUE 
TICKET_ESCALATED_ASSIGNED 
56{
61};
@ TICKET_ESCALATED_ASSIGNED
Definition: TicketMgr.h:60
@ TICKET_IN_ESCALATION_QUEUE
Definition: TicketMgr.h:59
@ TICKET_UNASSIGNED
Definition: TicketMgr.h:57
@ TICKET_ASSIGNED
Definition: TicketMgr.h:58

◆ GMTicketOpenedByGMStatus

Enumerator
GMTICKET_OPENEDBYGM_STATUS_NOT_OPENED 
GMTICKET_OPENEDBYGM_STATUS_OPENED 
65{
66 GMTICKET_OPENEDBYGM_STATUS_NOT_OPENED = 0, // ticket has never been opened by a gm
67 GMTICKET_OPENEDBYGM_STATUS_OPENED = 1 // ticket has been opened by a gm
68};
@ GMTICKET_OPENEDBYGM_STATUS_NOT_OPENED
Definition: TicketMgr.h:66
@ GMTICKET_OPENEDBYGM_STATUS_OPENED
Definition: TicketMgr.h:67

◆ GMTicketResponse

Enumerator
GMTICKET_RESPONSE_ALREADY_EXIST 
GMTICKET_RESPONSE_CREATE_SUCCESS 
GMTICKET_RESPONSE_CREATE_ERROR 
GMTICKET_RESPONSE_UPDATE_SUCCESS 
GMTICKET_RESPONSE_UPDATE_ERROR 
GMTICKET_RESPONSE_TICKET_DELETED 
41{
48};
@ GMTICKET_RESPONSE_CREATE_ERROR
Definition: TicketMgr.h:44
@ GMTICKET_RESPONSE_ALREADY_EXIST
Definition: TicketMgr.h:42
@ GMTICKET_RESPONSE_CREATE_SUCCESS
Definition: TicketMgr.h:43
@ GMTICKET_RESPONSE_TICKET_DELETED
Definition: TicketMgr.h:47
@ GMTICKET_RESPONSE_UPDATE_SUCCESS
Definition: TicketMgr.h:45
@ GMTICKET_RESPONSE_UPDATE_ERROR
Definition: TicketMgr.h:46

◆ GMTicketStatus

Enumerator
GMTICKET_STATUS_HASTEXT 
GMTICKET_STATUS_DEFAULT 
35{
38};
@ GMTICKET_STATUS_DEFAULT
Definition: TicketMgr.h:37
@ GMTICKET_STATUS_HASTEXT
Definition: TicketMgr.h:36

◆ GMTicketSystemStatus

Enumerator
GMTICKET_QUEUE_STATUS_DISABLED 
GMTICKET_QUEUE_STATUS_ENABLED 
29{
32};
@ GMTICKET_QUEUE_STATUS_ENABLED
Definition: TicketMgr.h:31
@ GMTICKET_QUEUE_STATUS_DISABLED
Definition: TicketMgr.h:30

◆ LagReportType

Enumerator
LAG_REPORT_TYPE_LOOT 
LAG_REPORT_TYPE_AUCTION_HOUSE 
LAG_REPORT_TYPE_MAIL 
LAG_REPORT_TYPE_CHAT 
LAG_REPORT_TYPE_MOVEMENT 
LAG_REPORT_TYPE_SPELL 
71{
78};
@ LAG_REPORT_TYPE_MAIL
Definition: TicketMgr.h:74
@ LAG_REPORT_TYPE_LOOT
Definition: TicketMgr.h:72
@ LAG_REPORT_TYPE_SPELL
Definition: TicketMgr.h:77
@ LAG_REPORT_TYPE_AUCTION_HOUSE
Definition: TicketMgr.h:73
@ LAG_REPORT_TYPE_MOVEMENT
Definition: TicketMgr.h:76
@ LAG_REPORT_TYPE_CHAT
Definition: TicketMgr.h:75

◆ TicketType

enum TicketType
Enumerator
TICKET_TYPE_OPEN 
TICKET_TYPE_CLOSED 
TICKET_TYPE_CHARACTER_DELETED 
81{
85};
@ TICKET_TYPE_OPEN
Definition: TicketMgr.h:82
@ TICKET_TYPE_CHARACTER_DELETED
Definition: TicketMgr.h:84
@ TICKET_TYPE_CLOSED
Definition: TicketMgr.h:83