Table of Contents

Struct SceneIndexChanged

Namespace
Coherence.Generated
Assembly
Coherence.Common.Tests.dll
public struct SceneIndexChanged : IEntityCommand, IEntityMessage
Implements

Constructors

SceneIndexChanged(Entity, int)

public SceneIndexChanged(Entity entity, int sceneIndex)

Parameters

entity Entity
sceneIndex int

Fields

sceneIndex

public int sceneIndex

Field Value

int

Properties

Entity

public Entity Entity { readonly get; set; }

Property Value

Entity

Routing

public MessageTarget Routing { readonly get; set; }

Property Value

MessageTarget

Sender

public uint Sender { readonly get; set; }

Property Value

uint

Methods

Clone()

public IEntityMessage Clone()

Returns

IEntityMessage

Deserialize(IInProtocolBitStream, Entity, MessageTarget)

public static SceneIndexChanged Deserialize(IInProtocolBitStream bitStream, Entity entity, MessageTarget target)

Parameters

bitStream IInProtocolBitStream
entity Entity
target MessageTarget

Returns

SceneIndexChanged

FromInterop(IntPtr, int)

public static SceneIndexChanged FromInterop(IntPtr data, int dataSize)

Parameters

data IntPtr
dataSize int

Returns

SceneIndexChanged

GetComponentType()

public uint GetComponentType()

Returns

uint

GetEntityRefs()

public HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

MapToAbsolute(IEntityMapper, Logger)

public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper, Logger)

public IEntityMapper.Error MapToRelative(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

NullEntityRefs(Entity)

public void NullEntityRefs(Entity entity)

Parameters

entity Entity

Serialize(SceneIndexChanged, IOutProtocolBitStream)

public static void Serialize(SceneIndexChanged commandData, IOutProtocolBitStream bitStream)

Parameters

commandData SceneIndexChanged
bitStream IOutProtocolBitStream