mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
updated SMSG_BATTLEFIELD_LIST structure (rbg needs to be merged from two)
updated CMSG_BATTLEMASTER_HELLO
This commit is contained in:
parent
2c5336a54e
commit
19ae62c590
3 changed files with 6 additions and 6 deletions
|
|
@ -1988,8 +1988,8 @@ void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket* data, ObjectGuid
|
|||
*data << uint32(0); // 4.3.4 lossHonor random
|
||||
*data << uint32(0); // 4.3.4 winHonor random
|
||||
*data << uint32(0); // 4.3.4 winHonor weekend
|
||||
*data << uint8(0); // max level
|
||||
*data << uint8(0); // min level
|
||||
*data << uint8(bgTemplate->GetMaxLevel()); // max level
|
||||
*data << uint8(bgTemplate->GetMinLevel()); // min level
|
||||
data->WriteGuidMask<0, 1, 7>(guid);
|
||||
data->WriteBit(false); // has holiday bg currency bonus ??
|
||||
data->WriteBit(false); // has random bg currency bonus ??
|
||||
|
|
@ -2013,9 +2013,9 @@ void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket* data, ObjectGuid
|
|||
|
||||
data->WriteBits(count, 24);
|
||||
data->WriteGuidMask<6, 4, 2, 3>(guid);
|
||||
data->WriteBit(true); // unk
|
||||
data->WriteBit(false); // unk
|
||||
data->WriteGuidMask<5>(guid);
|
||||
data->WriteBit(true); // signals EVENT_PVPQUEUE_ANYWHERE_SHOW if set
|
||||
data->WriteBit(true); // hide battleground list window
|
||||
|
||||
data->WriteGuidBytes<6, 1, 7, 5>(guid);
|
||||
data->FlushBits();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue