![]() |
TrinityCore
|
#include <WowCSEntityDefinitions.h>
Classes | |
| struct | UpdateableFragments |
Public Member Functions | |
| void | Add (EntityFragment fragment, bool update, void const *data=nullptr) |
| void | Remove (EntityFragment fragment) |
| std::span< EntityFragment const > | GetIds () const |
Public Attributes | |
| std::array< EntityFragment, 8 > | Ids |
| UpdateableFragments | Updateable |
| uint8 | Count = 0 |
| bool | IdsChanged = false |
| uint8 | UpdateableCount = 0 |
| uint8 | ContentsChangedMask = 0 |
Definition at line 113 of file WowCSEntityDefinitions.h.
| void WowCS::EntityFragmentsHolder::Add | ( | EntityFragment | fragment, |
| bool | update, | ||
| void const * | data = nullptr |
||
| ) |
Definition at line 24 of file WowCSEntityDefinitions.cpp.
References ASSERT, ContentsChangedMask, Count, WowCS::EntityFragmentsHolder::UpdateableFragments::Data, Ids, WowCS::EntityFragmentsHolder::UpdateableFragments::Ids, IdsChanged, WowCS::IsIndirectFragment(), WowCS::IsUpdateableFragment(), WowCS::EntityFragmentsHolder::UpdateableFragments::Masks, Updateable, and UpdateableCount.
Referenced by Battlenet::Account::Account(), AreaTrigger::AreaTrigger(), AzeriteEmpoweredItem::AzeriteEmpoweredItem(), AzeriteItem::AzeriteItem(), Bag::Bag(), Conversation::Conversation(), Corpse::Corpse(), DynamicObject::DynamicObject(), GameObject::GameObject(), Item::Item(), Object::Object(), Player::Player(), SceneObject::SceneObject(), Creature::SetPetitioner(), Creature::SetVendor(), and Unit::Unit().
|
inline |
Definition at line 145 of file WowCSEntityDefinitions.h.
Referenced by BaseEntity::BuildCreateUpdateBlockForPlayer(), and BaseEntity::BuildValuesUpdateBlockForPlayer().
| void WowCS::EntityFragmentsHolder::Remove | ( | EntityFragment | fragment | ) |
Definition at line 78 of file WowCSEntityDefinitions.cpp.
References ContentsChangedMask, Count, WowCS::EntityFragmentsHolder::UpdateableFragments::Data, WowCS::End, Ids, WowCS::EntityFragmentsHolder::UpdateableFragments::Ids, IdsChanged, WowCS::IsIndirectFragment(), WowCS::IsUpdateableFragment(), WowCS::EntityFragmentsHolder::UpdateableFragments::Masks, Updateable, and UpdateableCount.
Referenced by Creature::SetPetitioner(), and Creature::SetVendor().
| uint8 WowCS::EntityFragmentsHolder::ContentsChangedMask = 0 |
Definition at line 139 of file WowCSEntityDefinitions.h.
Referenced by Add(), BaseEntity::BuildUpdateChangesMask(), BaseEntity::BuildValuesUpdateBlockForPlayer(), and Remove().
| uint8 WowCS::EntityFragmentsHolder::Count = 0 |
Definition at line 135 of file WowCSEntityDefinitions.h.
| std::array<EntityFragment, 8> WowCS::EntityFragmentsHolder::Ids |
Definition at line 115 of file WowCSEntityDefinitions.h.
| bool WowCS::EntityFragmentsHolder::IdsChanged = false |
Definition at line 136 of file WowCSEntityDefinitions.h.
Referenced by Add(), BaseEntity::BuildValuesUpdateBlockForPlayer(), BaseEntity::ClearUpdateMask(), and Remove().
| UpdateableFragments WowCS::EntityFragmentsHolder::Updateable |
Definition at line 133 of file WowCSEntityDefinitions.h.
Referenced by Add(), BaseEntity::BuildCreateUpdateBlockForPlayer(), Object::BuildEntityFragmentsForValuesUpdateForPlayerWithMask(), BaseEntity::BuildUpdateChangesMask(), BaseEntity::BuildValuesUpdateBlockForPlayer(), BaseEntity::ClearUpdateMask(), and Remove().
| uint8 WowCS::EntityFragmentsHolder::UpdateableCount = 0 |
Definition at line 138 of file WowCSEntityDefinitions.h.
Referenced by Add(), BaseEntity::BuildCreateUpdateBlockForPlayer(), Object::BuildEntityFragmentsForValuesUpdateForPlayerWithMask(), BaseEntity::BuildUpdateChangesMask(), BaseEntity::BuildValuesUpdateBlockForPlayer(), BaseEntity::ClearUpdateMask(), and Remove().