mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10318] Gender field in SMSG_WHO packet.
Also fix warning in class declaration forward Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ad7b628ebf
commit
29ab336b27
3 changed files with 8 additions and 7 deletions
|
|
@ -181,6 +181,7 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data )
|
|||
continue;
|
||||
|
||||
uint32 pzoneid = itr->second->GetZoneId();
|
||||
uint8 gender = itr->second->getGender();
|
||||
|
||||
bool z_show = true;
|
||||
for(uint32 i = 0; i < zones_count; ++i)
|
||||
|
|
@ -238,11 +239,11 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data )
|
|||
|
||||
data << pname; // player name
|
||||
data << gname; // guild name
|
||||
data << uint32( lvl ); // player level
|
||||
data << uint32( class_ ); // player class
|
||||
data << uint32( race ); // player race
|
||||
data << uint8(0); // new 2.4.0
|
||||
data << uint32( pzoneid ); // player zone id
|
||||
data << uint32(lvl); // player level
|
||||
data << uint32(class_); // player class
|
||||
data << uint32(race); // player race
|
||||
data << uint8(gender); // player gender
|
||||
data << uint32(pzoneid); // player zone id
|
||||
|
||||
// 50 is maximum player count sent to client
|
||||
if ((++clientcount) == 50)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue