[svn] * Fixed tickethamdeling stuff.

* ArenaDb access,ticketcache, Client inventory position data cleanup from Mangos.

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-11-10 11:01:48 -06:00
parent 09a0d1122a
commit 99044f7005
5 changed files with 38 additions and 2 deletions
+2 -2
View File
@@ -128,8 +128,8 @@ void WorldSession::HandleGMTicketCreateOpcode( WorldPacket & recv_data )
DEBUG_LOG("update the ticket\n");
//TODO: Guard player map
HashMapHolder::MapType &m = ObjectAccessor::Instance().GetPlayers();
for(HashMapHolder::MapType::iterator itr = m.begin(); itr != m.end(); ++itr)
HashMapHolder<Player>::MapType &m = ObjectAccessor::Instance().GetPlayers();
for(HashMapHolder<Player>::MapType::iterator itr = m.begin(); itr != m.end(); ++itr)
{
if(itr->second->GetSession()->GetSecurity() >= SEC_GAMEMASTER && itr->second->isAcceptTickets())
ChatHandler(itr->second).PSendSysMessage(LANG_COMMAND_TICKETNEW,GetPlayer()->GetName());
+3
View File
@@ -117,6 +117,9 @@ $(srcdir)/GlobalEvents.h \
$(srcdir)/GMTicketHandler.cpp \
$(srcdir)/GMTicketMgr.cpp \
$(srcdir)/GMTicketMgr.h \
$(srcdir)/GMTicketHandler.cpp \
$(srcdir)/GMTicketMgr.cpp \
$(srcdir)/GMTicketMgr.h \
$(srcdir)/GossipDef.cpp \
$(srcdir)/GossipDef.h \
$(srcdir)/GridDefines.h \
+9
View File
@@ -252,6 +252,9 @@
<File
RelativePath="..\..\src\game\GameEvent.h">
</File>
<File
RelativePath="..\..\src\game\GMTicketHandler.cpp">
</File>
<File
RelativePath="..\..\src\game\GossipDef.cpp">
</File>
@@ -613,6 +616,12 @@
<File
RelativePath="..\..\src\game\GameObject.h">
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.cpp">
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.h">
</File>
<File
RelativePath="..\..\src\game\GuardAI.cpp">
</File>
+12
View File
@@ -514,6 +514,10 @@
RelativePath="..\..\src\game\GameEvent.h"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketHandler.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GossipDef.cpp"
>
@@ -974,6 +978,14 @@
RelativePath="..\..\src\game\GameObject.h"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.h"
>
</File>
<File
RelativePath="..\..\src\game\GuardAI.cpp"
>
+12
View File
@@ -519,6 +519,10 @@
RelativePath="..\..\src\game\GameEvent.h"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketHandler.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GossipDef.cpp"
>
@@ -979,6 +983,14 @@
RelativePath="..\..\src\game\GameObject.h"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GMTicketMgr.h"
>
</File>
<File
RelativePath="..\..\src\game\GuardAI.cpp"
>