Struct MultiInput
- Namespace
- Coherence.Generated
- Assembly
- Coherence.Common.Tests.dll
public struct MultiInput : IEntityInput, IEntityMessage
- Implements
-
Constructors
public MultiInput(Entity entity, long frame, int intField, float floatField, Vector2 axisField, string stringField, bool isRemoteInput)
Parameters
entity
Entity
frame
long
intField
int
floatField
float
axisField
Vector2
stringField
string
isRemoteInput
bool
Fields
Field Value
- Vector2
Field Value
- float
Field Value
- int
public string stringField
Field Value
- string
Properties
public Entity Entity { readonly get; set; }
Property Value
- Entity
public long Frame { readonly get; set; }
Property Value
- long
public MessageTarget Routing { readonly get; set; }
Property Value
- MessageTarget
public uint Sender { readonly get; set; }
Property Value
- uint
Methods
public IEntityMessage Clone()
Returns
- IEntityMessage
public static MultiInput Deserialize(IInProtocolBitStream bitStream, Entity entity, long frame)
Parameters
bitStream
IInProtocolBitStream
entity
Entity
frame
long
Returns
- MultiInput
public bool Equals(MultiInput other)
Parameters
other
MultiInput
Returns
- bool
public static MultiInput FromInterop(IntPtr data, int dataSize)
Parameters
data
IntPtr
dataSize
int
Returns
- MultiInput
public uint GetComponentType()
Returns
- uint
public HashSet<Entity> GetEntityRefs()
Returns
- HashSet<Entity>
public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper, Logger logger)
Parameters
mapper
IEntityMapper
logger
Logger
Returns
- IEntityMapper.Error
public IEntityMapper.Error MapToRelative(IEntityMapper mapper, Logger logger)
Parameters
mapper
IEntityMapper
logger
Logger
Returns
- IEntityMapper.Error
public void NullEntityRefs(Entity entity)
Parameters
entity
Entity
public static void Serialize(MultiInput inputData, IOutProtocolBitStream bitStream)
Parameters
inputData
MultiInput
bitStream
IOutProtocolBitStream
public override string ToString()
Returns
- string