[svn] * Fixed tickethamdeling stuff.
* ArenaDb access,ticketcache, Client inventory position data cleanup from Mangos. --HG-- branch : trunk
This commit is contained in:
@@ -128,8 +128,8 @@ void WorldSession::HandleGMTicketCreateOpcode( WorldPacket & recv_data )
|
|||||||
DEBUG_LOG("update the ticket\n");
|
DEBUG_LOG("update the ticket\n");
|
||||||
|
|
||||||
//TODO: Guard player map
|
//TODO: Guard player map
|
||||||
HashMapHolder::MapType &m = ObjectAccessor::Instance().GetPlayers();
|
HashMapHolder<Player>::MapType &m = ObjectAccessor::Instance().GetPlayers();
|
||||||
for(HashMapHolder::MapType::iterator itr = m.begin(); itr != m.end(); ++itr)
|
for(HashMapHolder<Player>::MapType::iterator itr = m.begin(); itr != m.end(); ++itr)
|
||||||
{
|
{
|
||||||
if(itr->second->GetSession()->GetSecurity() >= SEC_GAMEMASTER && itr->second->isAcceptTickets())
|
if(itr->second->GetSession()->GetSecurity() >= SEC_GAMEMASTER && itr->second->isAcceptTickets())
|
||||||
ChatHandler(itr->second).PSendSysMessage(LANG_COMMAND_TICKETNEW,GetPlayer()->GetName());
|
ChatHandler(itr->second).PSendSysMessage(LANG_COMMAND_TICKETNEW,GetPlayer()->GetName());
|
||||||
|
|||||||
@@ -117,6 +117,9 @@ $(srcdir)/GlobalEvents.h \
|
|||||||
$(srcdir)/GMTicketHandler.cpp \
|
$(srcdir)/GMTicketHandler.cpp \
|
||||||
$(srcdir)/GMTicketMgr.cpp \
|
$(srcdir)/GMTicketMgr.cpp \
|
||||||
$(srcdir)/GMTicketMgr.h \
|
$(srcdir)/GMTicketMgr.h \
|
||||||
|
$(srcdir)/GMTicketHandler.cpp \
|
||||||
|
$(srcdir)/GMTicketMgr.cpp \
|
||||||
|
$(srcdir)/GMTicketMgr.h \
|
||||||
$(srcdir)/GossipDef.cpp \
|
$(srcdir)/GossipDef.cpp \
|
||||||
$(srcdir)/GossipDef.h \
|
$(srcdir)/GossipDef.h \
|
||||||
$(srcdir)/GridDefines.h \
|
$(srcdir)/GridDefines.h \
|
||||||
|
|||||||
@@ -252,6 +252,9 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GameEvent.h">
|
RelativePath="..\..\src\game\GameEvent.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketHandler.cpp">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GossipDef.cpp">
|
RelativePath="..\..\src\game\GossipDef.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -613,6 +616,12 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GameObject.h">
|
RelativePath="..\..\src\game\GameObject.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GuardAI.cpp">
|
RelativePath="..\..\src\game\GuardAI.cpp">
|
||||||
</File>
|
</File>
|
||||||
|
|||||||
@@ -514,6 +514,10 @@
|
|||||||
RelativePath="..\..\src\game\GameEvent.h"
|
RelativePath="..\..\src\game\GameEvent.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketHandler.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GossipDef.cpp"
|
RelativePath="..\..\src\game\GossipDef.cpp"
|
||||||
>
|
>
|
||||||
@@ -974,6 +978,14 @@
|
|||||||
RelativePath="..\..\src\game\GameObject.h"
|
RelativePath="..\..\src\game\GameObject.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GuardAI.cpp"
|
RelativePath="..\..\src\game\GuardAI.cpp"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -519,6 +519,10 @@
|
|||||||
RelativePath="..\..\src\game\GameEvent.h"
|
RelativePath="..\..\src\game\GameEvent.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketHandler.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GossipDef.cpp"
|
RelativePath="..\..\src\game\GossipDef.cpp"
|
||||||
>
|
>
|
||||||
@@ -979,6 +983,14 @@
|
|||||||
RelativePath="..\..\src\game\GameObject.h"
|
RelativePath="..\..\src\game\GameObject.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\game\GMTicketMgr.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\game\GuardAI.cpp"
|
RelativePath="..\..\src\game\GuardAI.cpp"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user