Merge pull request #14710 from et65/6.x

Core/PacketsIO: Implemented or updated most of party related packets.
This commit is contained in:
Duarte Duarte
2015-05-19 18:40:51 +01:00
44 changed files with 2422 additions and 1358 deletions

View File

@@ -485,7 +485,7 @@ public:
char const* msg = "testtest";
uint8 type = atoi(args);
WorldPackets::Chat::Chat packet;
packet.Initalize(ChatMsg(type), LANG_UNIVERSAL, handler->GetSession()->GetPlayer(), handler->GetSession()->GetPlayer(), msg, 0, "chan");
packet.Initialize(ChatMsg(type), LANG_UNIVERSAL, handler->GetSession()->GetPlayer(), handler->GetSession()->GetPlayer(), msg, 0, "chan");
handler->GetSession()->SendPacket(packet.Write());
return true;
}