aboutsummaryrefslogtreecommitdiff
path: root/src/game/TicketMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/TicketMgr.h')
-rw-r--r--src/game/TicketMgr.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/game/TicketMgr.h b/src/game/TicketMgr.h
index f3fa7d98f7d..491e6657f40 100644
--- a/src/game/TicketMgr.h
+++ b/src/game/TicketMgr.h
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS
+ * Copyright (C) 2005-2009 MaNGOS
*
- * Copyright (C) 2008 Trinity
+ * Copyright (C) 2008-2009 Trinity
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -32,9 +32,14 @@ struct GM_Ticket
uint64 guid;
uint64 playerGuid;
std::string name;
+ float pos_x;
+ float pos_y;
+ float pos_z;
+ uint32 map;
std::string message;
+ uint64 createtime;
uint64 timestamp;
- uint16 closed;
+ uint64 closed;
uint64 assignedToGM;
std::string comment;
};
@@ -45,7 +50,7 @@ typedef std::list<GM_Ticket*> GmTicketList
class TicketMgr
{
public:
- TicketMgr(){m_ticketid = 1;} //constructor
+ TicketMgr(){ InitTicketID();} //constructor
~TicketMgr(){} //destructor
// Object Holder