Class InputProcessor
Inheritance
InputProcessor
Assembly: LiteEntitySystem.dll
public abstract class InputProcessor
Constructors
Declaration
protected InputProcessor(int inputFixedSize)
Parameters
Type |
Name |
Description |
int |
inputFixedSize |
|
Fields
Declaration
public readonly int DeltaBits
Field Value
Declaration
public readonly int InputSize
Field Value
Declaration
public readonly int InputSizeWithHeader
Field Value
Declaration
public readonly int MaxDeltaSize
Field Value
Declaration
public readonly int MinDeltaSize
Field Value
Methods
Declaration
public int DeltaDecode(ReadOnlySpan<byte> currentDeltaInput, Span<byte> result)
Parameters
Returns
Declaration
public void DeltaDecodeInit(ReadOnlySpan<byte> fullInput)
Parameters
Declaration
public int DeltaEncode(ReadOnlySpan<byte> prevInput, ReadOnlySpan<byte> currentInput, Span<byte> result)
Parameters
Returns
Declaration
public abstract void GenerateAndWriteInput(EntityManager manager, byte ownerId, byte[] data, int offset)
Parameters
Declaration
public abstract void ReadClientRequest(EntityManager manager, NetDataReader reader)
Parameters
Declaration
public abstract void ReadInput(EntityManager manager, byte ownerId, ReadOnlySpan<byte> inputsData)
Parameters