8000 Tags · ientium/mangos-tbc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: ientium/mangos-tbc

Tags

Last_mangos-tbc_PreBuild

Toggle Last_mangos-tbc_PreBuild's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Follow-up refactoring for client control patch

* Player::IsClientControl() moved to Unit::IsClientControlled(), semantics is now reversed and functionality is now extended to include general-purpose check
* Unit::GetControllingClientPlayer() renamed to Unit::GetClientControlling() to match previous func and to prevent potential confusion with Unit::GetControllingPlayer()
* Battleground control removal was investigated more closely and previous hack was removed.
* All unit flags associated with the loss of client control over unit are now confirmed and documented:
- Rename UNIT_FLAG_NON_MOVING_DEPRECATED -> UNIT_FLAG_CLIENT_CONTROL_LOST and documented
- Documented UNIT_FLAG_UNK_0, added to cleanup list
- Additional documentation for UNIT_FLAG_STUNNED, UNIT_FLAG_TAXI_FLIGHT, UNIT_FLAG_CONFUSED, UNIT_FLAG_FLEEING, UNIT_FLAG_POSSESSED
0