Table of Contents

Struct GenericFieldChar4

Namespace
Coherence.Generated
Assembly
Coherence.Interop.Generated.dll
public struct GenericFieldChar4 : ICoherenceComponentData
Implements

Fields

number

public char number

Field Value

char

numberSimulationFrame

public AbsoluteSimulationFrame numberSimulationFrame

Field Value

AbsoluteSimulationFrame

order

public const int order = 0

Field Value

int

Properties

FieldsMask

public uint FieldsMask { readonly get; set; }

Property Value

uint

StoppedMask

public uint StoppedMask { readonly get; set; }

Property Value

uint

numberMask

public static uint numberMask { get; }

Property Value

uint

Methods

Clone()

public ICoherenceComponentData Clone()

Returns

ICoherenceComponentData

Deserialize(AbsoluteSimulationFrame, InProtocolBitStream)

public static GenericFieldChar4 Deserialize(AbsoluteSimulationFrame referenceSimulationFrame, InProtocolBitStream bitStream)

Parameters

referenceSimulationFrame AbsoluteSimulationFrame
bitStream InProtocolBitStream

Returns

GenericFieldChar4

DiffWith(ICoherenceComponentData)

public uint DiffWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

uint

FromInterop(IntPtr, int, InteropAbsoluteSimulationFrame*, int)

public static GenericFieldChar4 FromInterop(IntPtr data, int dataSize, InteropAbsoluteSimulationFrame* simFrames, int simFramesCount)

Parameters

data IntPtr
dataSize int
simFrames InteropAbsoluteSimulationFrame*
simFramesCount int

Returns

GenericFieldChar4

GetComponentOrder()

public int GetComponentOrder()

Returns

int

GetComponentType()

public uint GetComponentType()

Returns

uint

GetEntityRefs()

public HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

GetFieldCount()

public int GetFieldCount()

Returns

int

GetMinSimulationFrame()

public AbsoluteSimulationFrame? GetMinSimulationFrame()

Returns

AbsoluteSimulationFrame?

GetSimulationFrames()

public long[] GetSimulationFrames()

Returns

long[]

HasFields()

public bool HasFields()

Returns

bool

HasRefFields()

public bool HasRefFields()

Returns

bool

InitialFieldsMask()

public uint InitialFieldsMask()

Returns

uint

IsSendOrdered()

public bool IsSendOrdered()

Returns

bool

MapToAbsolute(IEntityMapper)

public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper)

public IEntityMapper.Error MapToRelative(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MergeWith(ICoherenceComponentData)

public ICoherenceComponentData MergeWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

ICoherenceComponentData

PriorityLevel()

public int PriorityLevel()

Returns

int

ReplaceReferences(Entity, Entity)

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

public uint ReplaceReferences(Entity fromEntity, Entity toEntity)

Parameters

fromEntity Entity
toEntity Entity

Returns

uint

The field mask of references that were changed.

Serialize(GenericFieldChar4, bool, AbsoluteSimulationFrame, IOutProtocolBitStream, Logger)

public static uint Serialize(GenericFieldChar4 data, bool isRefSimFrameValid, AbsoluteSimulationFrame referenceSimulationFrame, IOutProtocolBitStream bitStream, Logger logger)

Parameters

data GenericFieldChar4
isRefSimFrameValid bool
referenceSimulationFrame AbsoluteSimulationFrame
bitStream IOutProtocolBitStream
logger Logger

Returns

uint

ToString()

public override string ToString()

Returns

string