feat(Core/CFBG): Added support module mod-cfbg (#2064)
https://github.com/Winfidonarleyan/mod-cfbg - Original module https://github.com/azerothcore/mod-cfbg - the fork in AC
This commit is contained in:
parent
34184d4afe
commit
d40e894618
8 changed files with 164 additions and 52 deletions
|
|
@ -32,10 +32,12 @@ void WorldSession::SendNameQueryOpcode(uint64 guid)
|
|||
return;
|
||||
}
|
||||
|
||||
Player* player = ObjectAccessor::FindPlayerInOrOutOfWorld(guid);
|
||||
|
||||
data << uint8(0); // name known
|
||||
data << playerData->name; // played name
|
||||
data << uint8(0); // realm name - only set for cross realm interaction (such as Battlegrounds)
|
||||
data << uint8(playerData->race);
|
||||
data << uint8(player ? player->getRace() : playerData->race);
|
||||
data << uint8(playerData->gender);
|
||||
data << uint8(playerData->playerClass);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue