Show / Hide Table of Contents

Class InputProcessor

Inheritance
object
InputProcessor
InputProcessor<TInput>
Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
public abstract class InputProcessor

Constructors

InputProcessor(int)

Declaration
protected InputProcessor(int inputFixedSize)
Parameters
Type Name Description
int inputFixedSize

Fields

DeltaBits

Declaration
public readonly int DeltaBits
Field Value
Type Description
int

InputSize

Declaration
public readonly int InputSize
Field Value
Type Description
int

InputSizeWithHeader

Declaration
public readonly int InputSizeWithHeader
Field Value
Type Description
int

MaxDeltaSize

Declaration
public readonly int MaxDeltaSize
Field Value
Type Description
int

MinDeltaSize

Declaration
public readonly int MinDeltaSize
Field Value
Type Description
int

Methods

DeltaDecode(ReadOnlySpan<byte>, Span<byte>)

Declaration
public int DeltaDecode(ReadOnlySpan<byte> currentDeltaInput, Span<byte> result)
Parameters
Type Name Description
ReadOnlySpan<byte> currentDeltaInput
Span<byte> result
Returns
Type Description
int

DeltaDecodeInit(ReadOnlySpan<byte>)

Declaration
public void DeltaDecodeInit(ReadOnlySpan<byte> fullInput)
Parameters
Type Name Description
ReadOnlySpan<byte> fullInput

DeltaEncode(ReadOnlySpan<byte>, ReadOnlySpan<byte>, Span<byte>)

Declaration
public int DeltaEncode(ReadOnlySpan<byte> prevInput, ReadOnlySpan<byte> currentInput, Span<byte> result)
Parameters
Type Name Description
ReadOnlySpan<byte> prevInput
ReadOnlySpan<byte> currentInput
Span<byte> result
Returns
Type Description
int

GenerateAndWriteInput(EntityManager, byte, byte[], int)

Declaration
public abstract void GenerateAndWriteInput(EntityManager manager, byte ownerId, byte[] data, int offset)
Parameters
Type Name Description
EntityManager manager
byte ownerId
byte[] data
int offset

ReadClientRequest(EntityManager, NetDataReader)

Declaration
public abstract void ReadClientRequest(EntityManager manager, NetDataReader reader)
Parameters
Type Name Description
EntityManager manager
NetDataReader reader

ReadInput(EntityManager, byte, ReadOnlySpan<byte>)

Declaration
public abstract void ReadInput(EntityManager manager, byte ownerId, ReadOnlySpan<byte> inputsData)
Parameters
Type Name Description
EntityManager manager
byte ownerId
ReadOnlySpan<byte> inputsData
In this article
Back to top Generated by DocFX