template<typename Derived>
Construct class
Derived classes
Public static variables
- static ConstructLifetime Lifetime constexpr
Constructors, destructors, conversion operators
- Construct() protected defaulted
- ~Construct() protected
Public functions
- void PreInitBase()
- void Initialize(WorldBase* InWorld)
- void Shutdown()
- void RegisterView(ConstructViewRef ref)
- void CollectViewHandles(std::vector<EntityHandle>& out) const
- void DeregisterView(void* viewPtr)
- auto GetWorld() const -> WorldBase*
- auto GetRegistry() const -> Registry*
- auto IsInitialized() const -> bool
- auto GetConstructID() const -> uint32_t
- void SetConstructID(uint32_t id)
- auto GetOwnerSoul() const -> Soul*
- void SetOwnerSoul(Soul* soul)
Function documentation
template<typename Derived>
void Construct<Derived>:: CollectViewHandles(std::vector<EntityHandle>& out) const
Collect the ECS EntityHandle for each registered View. Used by ReplicationSystem to build the ConstructSpawnPayload.