*Merge.
--HG-- branch : trunk
This commit is contained in:
+28
-28
@@ -29,14 +29,14 @@
|
||||
|
||||
struct GM_Ticket
|
||||
{
|
||||
uint64 guid;
|
||||
uint64 playerGuid;
|
||||
std::string name;
|
||||
std::string message;
|
||||
uint64 timestamp;
|
||||
uint16 closed;
|
||||
uint64 assignedToGM;
|
||||
std::string comment;
|
||||
uint64 guid;
|
||||
uint64 playerGuid;
|
||||
std::string name;
|
||||
std::string message;
|
||||
uint64 timestamp;
|
||||
uint16 closed;
|
||||
uint64 assignedToGM;
|
||||
std::string comment;
|
||||
};
|
||||
|
||||
// Map Typedef
|
||||
@@ -44,31 +44,31 @@ typedef std::list<GM_Ticket*> GmTicketList
|
||||
|
||||
class TicketMgr
|
||||
{
|
||||
public:
|
||||
TicketMgr(){m_ticketid = 1;} //constructor
|
||||
~TicketMgr(){} //destructor
|
||||
public:
|
||||
TicketMgr(){m_ticketid = 1;} //constructor
|
||||
~TicketMgr(){} //destructor
|
||||
|
||||
// Object Holder
|
||||
GmTicketList GM_TicketList;
|
||||
// Object Holder
|
||||
GmTicketList GM_TicketList;
|
||||
|
||||
void AddGMTicket(GM_Ticket *ticket, bool startup);
|
||||
void DeleteAllRemovedGMTickets();
|
||||
void DeleteGMTicketPermanently(uint64 ticketGuid);
|
||||
void LoadGMTickets();
|
||||
void RemoveGMTicketByPlayer(uint64 playerGuid, uint64 GMguid);
|
||||
void RemoveGMTicket(uint64 ticketGuid, uint64 GMguid);
|
||||
void UpdateGMTicket(GM_Ticket *ticket);
|
||||
void SaveGMTicket(GM_Ticket* ticket);
|
||||
void AddGMTicket(GM_Ticket *ticket, bool startup);
|
||||
void DeleteAllRemovedGMTickets();
|
||||
void DeleteGMTicketPermanently(uint64 ticketGuid);
|
||||
void LoadGMTickets();
|
||||
void RemoveGMTicketByPlayer(uint64 playerGuid, uint64 GMguid);
|
||||
void RemoveGMTicket(uint64 ticketGuid, uint64 GMguid);
|
||||
void UpdateGMTicket(GM_Ticket *ticket);
|
||||
void SaveGMTicket(GM_Ticket* ticket);
|
||||
|
||||
uint64 GenerateTicketID();
|
||||
void InitTicketID();
|
||||
GM_Ticket* GetGMTicket(uint64 ticketGuid);
|
||||
GM_Ticket* GetGMTicketByPlayer(uint64 playerGuid);
|
||||
GM_Ticket* GetGMTicketByName(const char *name);
|
||||
uint64 GenerateTicketID();
|
||||
void InitTicketID();
|
||||
GM_Ticket* GetGMTicket(uint64 ticketGuid);
|
||||
GM_Ticket* GetGMTicketByPlayer(uint64 playerGuid);
|
||||
GM_Ticket* GetGMTicketByName(const char *name);
|
||||
|
||||
|
||||
protected:
|
||||
uint64 m_ticketid;
|
||||
protected:
|
||||
uint64 m_ticketid;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user