Table of Contents

Struct GenericCommand

Namespace
Coherence.Generated
Assembly
Coherence.Interop.Generated.dll
public struct GenericCommand : IEntityCommand, IEntityMessage
Implements

Constructors

GenericCommand(Entity, string, byte[], Entity, Entity, Entity, Entity)

public GenericCommand(Entity entity, string name, byte[] commandData, Entity entityParam1, Entity entityParam2, Entity entityParam3, Entity entityParam4)

Parameters

entity Entity
name string
commandData byte[]
entityParam1 Entity
entityParam2 Entity
entityParam3 Entity
entityParam4 Entity

Fields

commandData

public byte[] commandData

Field Value

byte[]

entityParam1

public Entity entityParam1

Field Value

Entity

entityParam2

public Entity entityParam2

Field Value

Entity

entityParam3

public Entity entityParam3

Field Value

Entity

entityParam4

public Entity entityParam4

Field Value

Entity

name

public string name

Field Value

string

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 GenericCommand Deserialize(IInProtocolBitStream bitStream, Entity entity, MessageTarget target)

Parameters

bitStream IInProtocolBitStream
entity Entity
target MessageTarget

Returns

GenericCommand

FromInterop(IntPtr, int)

public static GenericCommand FromInterop(IntPtr data, int dataSize)

Parameters

data IntPtr
dataSize int

Returns

GenericCommand

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(GenericCommand, IOutProtocolBitStream)

public static void Serialize(GenericCommand commandData, IOutProtocolBitStream bitStream)

Parameters

commandData GenericCommand
bitStream IOutProtocolBitStream