Table of Contents

Interface ICoherenceComponentData

Namespace
Coherence.Entities
Assembly
Coherence.Entities.dll
public interface ICoherenceComponentData

Properties

FieldsMask

uint FieldsMask { get; set; }

Property Value

uint

StoppedMask

uint StoppedMask { get; set; }

Property Value

uint

Methods

Clone()

ICoherenceComponentData Clone()

Returns

ICoherenceComponentData

DiffWith(ICoherenceComponentData)

uint DiffWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

uint

GetComponentOrder()

int GetComponentOrder()

Returns

int

GetComponentType()

uint GetComponentType()

Returns

uint

GetEntityRefs()

HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

GetFieldCount()

int GetFieldCount()

Returns

int

GetMinSimulationFrame()

AbsoluteSimulationFrame? GetMinSimulationFrame()

Returns

AbsoluteSimulationFrame?

GetSimulationFrames()

long[] GetSimulationFrames()

Returns

long[]

HasFields()

bool HasFields()

Returns

bool

HasRefFields()

bool HasRefFields()

Returns

bool

InitialFieldsMask()

uint InitialFieldsMask()

Returns

uint

IsSendOrdered()

bool IsSendOrdered()

Returns

bool

MapToAbsolute(IEntityMapper)

IEntityMapper.Error MapToAbsolute(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper)

IEntityMapper.Error MapToRelative(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MergeWith(ICoherenceComponentData)

ICoherenceComponentData MergeWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

ICoherenceComponentData

PriorityLevel()

int PriorityLevel()

Returns

int

ReplaceReferences(Entity, Entity)

Replaces all references to 'fromEntity' with 'toEntity' in this component.

uint ReplaceReferences(Entity fromEntity, Entity toEntity)

Parameters

fromEntity Entity
toEntity Entity

Returns

uint

The field mask of references that were changed.