mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10281] Send proper account amount in guild in SMSG_GUILD_INFO packet.
Data seen for example in client command /guildinfo output. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
8b3fffb0ba
commit
6302659d58
5 changed files with 36 additions and 6 deletions
|
|
@ -230,7 +230,7 @@ void WorldSession::HandleGuildInfoOpcode(WorldPacket& /*recvPacket*/)
|
|||
data << guild->GetName();
|
||||
data << uint32(secsToTimeBitFields(guild->GetCreatedDate())); // 3.x (prev. day + month + year)
|
||||
data << uint32(guild->GetMemberSize()); // amount of chars
|
||||
data << uint32(guild->GetMemberSize()); // amount of accounts (TODO: implement)
|
||||
data << uint32(guild->GetAccountsNumber()); // amount of accounts
|
||||
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue