Struct ComponentSnapshot
Full snapshot of a single component's data. Used in EntityDelta for Added entities.
[MemoryPackable(GenerateType.Object)]
public struct ComponentSnapshot : IMemoryPackable<ComponentSnapshot>, IMemoryPackFormatterRegister
- Implements
-
IMemoryPackable<ComponentSnapshot>IMemoryPackFormatterRegister
- Inherited Members
Remarks
MemoryPack GenerateType: Object
ushort ComponentId
byte[] Data
Fields
ComponentId
Component type identifier, assigned when the component type is registered.
public ushort ComponentId
Field Value
Data
Raw component bytes (full struct data, ComponentStorageSize bytes).
public byte[] Data
Field Value
- byte[]