Core/Packets: converted SMSG_PARTY_MEMBER_STATE and SMSG_PARTY_MEMBER_FULL_STATE to packet class

* handle GROUP_UPDATE_FLAG_PHASE when changing phases
* define and implement GROUP_UPDATE_FLAG_WMO_GROUP_ID
This commit is contained in:
Ovahlord committed 2021-01-09 16:42:53 +01:00
1 parent 4f50bafd03
commit c3831d30e5
15 files changed
+452 -409

No files matched your search

+4
View File
@@ -12435,6 +12435,10 @@ void Unit::OnPhaseChange()
{
if (!IsInWorld())
return;
// Inform player groups that a member's phase has changed so the next PartyMemberState packet will update the phasing accordingly
if (IsPlayer() && ToPlayer()->GetGroup())
ToPlayer()->SetGroupUpdateFlag(GROUP_UPDATE_FLAG_PHASE);
}
void Unit::UpdateObjectVisibility(bool forced)