Table of Contents

Struct Vector2Input

Namespace
Coherence.Generated
Assembly
Coherence.Common.Tests.dll
public struct Vector2Input : IEntityInput, IEntityMessage
Implements

Constructors

Vector2Input(Entity, long, Vector2, bool)

public Vector2Input(Entity entity, long frame, Vector2 vector2Field, bool isRemoteInput)

Parameters

entity Entity
frame long
vector2Field Vector2
isRemoteInput bool

Fields

vector2Field

public Vector2 vector2Field

Field Value

Vector2

Properties

Entity

public Entity Entity { readonly get; set; }

Property Value

Entity

Frame

public long Frame { readonly get; set; }

Property Value

long

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, long)

public static Vector2Input Deserialize(IInProtocolBitStream bitStream, Entity entity, long frame)

Parameters

bitStream IInProtocolBitStream
entity Entity
frame long

Returns

Vector2Input

Equals(Vector2Input)

public bool Equals(Vector2Input other)

Parameters

other Vector2Input

Returns

bool

FromInterop(IntPtr, int)

public static Vector2Input FromInterop(IntPtr data, int dataSize)

Parameters

data IntPtr
dataSize int

Returns

Vector2Input

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

public static void Serialize(Vector2Input inputData, IOutProtocolBitStream bitStream)

Parameters

inputData Vector2Input
bitStream IOutProtocolBitStream

ToString()

public override string ToString()

Returns

string