Table of Contents

Struct EntityState

Namespace
Coherence.Entities
Assembly
Coherence.Entities.dll
public struct EntityState

Fields

Components

public DeltaComponents Components

Field Value

DeltaComponents

Operation

public EntityOperation Operation

Field Value

EntityOperation

Priority

public long Priority

Field Value

long

SimulationFrame

public AbsoluteSimulationFrame SimulationFrame

Field Value

AbsoluteSimulationFrame

Properties

HasExistencenceOperation

public bool HasExistencenceOperation { get; }

Property Value

bool

IsCreate

public bool IsCreate { get; }

Property Value

bool

IsDestroy

public bool IsDestroy { get; }

Property Value

bool

IsUpdate

public bool IsUpdate { get; }

Property Value

bool

Methods

Clone()

public EntityState Clone()

Returns

EntityState

Diff(EntityState, EntityState)

public static EntityState Diff(EntityState old, EntityState current)

Parameters

old EntityState
current EntityState

Returns

EntityState

HasUnAckedOrderedComponents()

public bool HasUnAckedOrderedComponents()

Returns

bool

Merge(EntityState, EntityState, IComponentInfo)

public static EntityState Merge(EntityState old, EntityState change, IComponentInfo componentInfo)

Parameters

old EntityState
change EntityState
componentInfo IComponentInfo

Returns

EntityState

New()

public static EntityState New()

Returns

EntityState

ToString()

public string ToString()

Returns

string