TrinityCore
WowCS Namespace Reference

Classes

struct  EntityFragmentsHolder
 

Enumerations

enum class  EntityFragment : uint8 {
  CGObject = 0 , Tag_Item = 1 , Tag_Container = 2 , Tag_AzeriteEmpoweredItem = 3 ,
  Tag_AzeriteItem = 4 , Tag_Unit = 5 , Tag_Player = 6 , Tag_GameObject = 7 ,
  Tag_DynamicObject = 8 , Tag_Corpse = 9 , Tag_AreaTrigger = 10 , Tag_SceneObject = 11 ,
  Tag_Conversation = 12 , Tag_AIGroup = 13 , Tag_Scenario = 14 , Tag_LootObject = 15 ,
  Tag_ActivePlayer = 16 , Tag_ActiveClient_S = 17 , Tag_ActiveObject_C = 18 , Tag_VisibleObject_C = 19 ,
  Tag_UnitVehicle = 20 , FEntityPosition = 112 , FEntityLocalMatrix = 113 , FEntityWorldMatrix = 114 ,
  CActor = 115 , FVendor_C = 117 , FMirroredObject_C = 119 , End = 255
}
 
enum class  EntityFragmentSerializationType : uint8 { Full = 0 , Partial = 1 }
 

Functions

constexpr bool IsUpdateableFragment (EntityFragment frag)
 
constexpr bool IsIndirectFragment (EntityFragment frag)
 

Variables

constexpr uint8 CGObjectActiveMask = 0x1
 
constexpr uint8 CGObjectChangedMask = 0x2
 
constexpr uint8 CGObjectUpdateMask = CGObjectActiveMask | CGObjectChangedMask
 

Enumeration Type Documentation

◆ EntityFragment

enum class WowCS::EntityFragment : uint8
strong
Enumerator
CGObject 
Tag_Item 
Tag_Container 
Tag_AzeriteEmpoweredItem 
Tag_AzeriteItem 
Tag_Unit 
Tag_Player 
Tag_GameObject 
Tag_DynamicObject 
Tag_Corpse 
Tag_AreaTrigger 
Tag_SceneObject 
Tag_Conversation 
Tag_AIGroup 
Tag_Scenario 
Tag_LootObject 
Tag_ActivePlayer 
Tag_ActiveClient_S 
Tag_ActiveObject_C 
Tag_VisibleObject_C 
Tag_UnitVehicle 
FEntityPosition 
FEntityLocalMatrix 
FEntityWorldMatrix 
CActor 
FVendor_C 
FMirroredObject_C 
End 

Definition at line 27 of file WowCSEntityDefinitions.h.

◆ EntityFragmentSerializationType

Enumerator
Full 
Partial 

Definition at line 108 of file WowCSEntityDefinitions.h.

Function Documentation

◆ IsIndirectFragment()

constexpr bool WowCS::IsIndirectFragment ( EntityFragment  frag)
inlineconstexpr

Definition at line 64 of file WowCSEntityDefinitions.h.

+ Here is the caller graph for this function:

◆ IsUpdateableFragment()

constexpr bool WowCS::IsUpdateableFragment ( EntityFragment  frag)
inlineconstexpr

Definition at line 59 of file WowCSEntityDefinitions.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ CGObjectActiveMask

constexpr uint8 WowCS::CGObjectActiveMask = 0x1
inlineconstexpr

Definition at line 70 of file WowCSEntityDefinitions.h.

◆ CGObjectChangedMask

constexpr uint8 WowCS::CGObjectChangedMask = 0x2
inlineconstexpr

Definition at line 71 of file WowCSEntityDefinitions.h.

◆ CGObjectUpdateMask

constexpr uint8 WowCS::CGObjectUpdateMask = CGObjectActiveMask | CGObjectChangedMask
inlineconstexpr

Definition at line 72 of file WowCSEntityDefinitions.h.