Plasma Engine  2.0
Loading...
Searching...
No Matches
plGameObjectId Struct Reference

Internal game object id used by plGameObjectHandle. More...

#include <Declarations.h>

Public Types

using StorageType = plUInt64
 

Public Member Functions

 PL_DECLARE_ID_TYPE (plGameObjectId, 32, 8)
 
PL_FORCE_INLINE plGameObjectId (StorageType instanceIndex, plUInt8 uiGeneration, plUInt8 uiWorldIndex=0)
 

Public Attributes

union { 
 
   StorageType   m_Data 
 
   struct { 
 
      StorageType   m_InstanceIndex: 32 
 
      StorageType   m_Generation: 8 
 
      StorageType   m_WorldIndex: PL_WORLD_INDEX_BITS 
 
   }  
 
};  
 

Detailed Description

Internal game object id used by plGameObjectHandle.


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