TrinityCore
Loading...
Searching...
No Matches
WowCS::EntityFragmentInfos Struct Reference

#include <WowCSEntityDefinitions.h>

Static Public Member Functions

static void Register (EntityFragment fragment, EntityFragmentSerializeFn serializeCreate, EntityFragmentSerializeFn serializeUpdate, EntityFragmentIsChangedFn isChanged, EntityFragmentClearChangedFn clearChanged)
 
template<typename SerializationTraits >
static void Register (EntityFragment fragment, SerializationTraits)
 

Public Attributes

std::array< EntityFragmentSerializeFn, NSerializeCreate = { }
 
std::array< EntityFragmentSerializeFn, NSerializeUpdate = { }
 
std::array< EntityFragmentIsChangedFn, NIsChanged = { }
 
std::array< EntityFragmentClearChangedFn, NClearChanged = { }
 

Static Public Attributes

static constexpr std::size_t N = static_cast<std::size_t>(EntityFragment::End) + 1
 

Private Member Functions

 EntityFragmentInfos ()
 

Detailed Description

Definition at line 187 of file WowCSEntityDefinitions.h.

Constructor & Destructor Documentation

◆ EntityFragmentInfos()

WowCS::EntityFragmentInfos::EntityFragmentInfos ( )
private

Definition at line 142 of file WowCSEntityDefinitions.cpp.

Member Function Documentation

◆ Register() [1/2]

void WowCS::EntityFragmentInfos::Register ( EntityFragment  fragment,
EntityFragmentSerializeFn  serializeCreate,
EntityFragmentSerializeFn  serializeUpdate,
EntityFragmentIsChangedFn  isChanged,
EntityFragmentClearChangedFn  clearChanged 
)
static

Definition at line 130 of file WowCSEntityDefinitions.cpp.

+ Here is the caller graph for this function:

◆ Register() [2/2]

template<typename SerializationTraits >
static void WowCS::EntityFragmentInfos::Register ( EntityFragment  fragment,
SerializationTraits   
)
inlinestatic

Definition at line 201 of file WowCSEntityDefinitions.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ ClearChanged

std::array<EntityFragmentClearChangedFn, N> WowCS::EntityFragmentInfos::ClearChanged = { }

Definition at line 194 of file WowCSEntityDefinitions.h.

◆ IsChanged

std::array<EntityFragmentIsChangedFn, N> WowCS::EntityFragmentInfos::IsChanged = { }

Definition at line 193 of file WowCSEntityDefinitions.h.

◆ N

constexpr std::size_t WowCS::EntityFragmentInfos::N = static_cast<std::size_t>(EntityFragment::End) + 1
staticconstexpr

Definition at line 189 of file WowCSEntityDefinitions.h.

◆ SerializeCreate

std::array<EntityFragmentSerializeFn, N> WowCS::EntityFragmentInfos::SerializeCreate = { }

Definition at line 191 of file WowCSEntityDefinitions.h.

◆ SerializeUpdate

std::array<EntityFragmentSerializeFn, N> WowCS::EntityFragmentInfos::SerializeUpdate = { }

Definition at line 192 of file WowCSEntityDefinitions.h.


The documentation for this struct was generated from the following files: