Show / Hide Table of Contents

# Class InputProcessor<TInput>

##### Inheritance

object
InputProcessor
InputProcessor<TInput>

##### Inherited Members

InputProcessor.InputSize
InputProcessor.InputSizeWithHeader
InputProcessor.DeltaBits
InputProcessor.MaxDeltaSize
InputProcessor.MinDeltaSize
InputProcessor.DeltaEncode(ReadOnlySpan<byte>, ReadOnlySpan<byte>, Span<byte>)
InputProcessor.DeltaDecodeInit(ReadOnlySpan<byte>)
InputProcessor.DeltaDecode(ReadOnlySpan<byte>, Span<byte>)

###### Namespace: LiteEntitySystem

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public class InputProcessor<TInput> : InputProcessor where TInput : unmanaged

##### Type Parameters

Name | Description
--- | ---
TInput |

### Constructors

#### InputProcessor()

##### Declaration

    public InputProcessor()

### Methods

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

##### Declaration

    public override void GenerateAndWriteInput(EntityManager manager, byte ownerId, byte[] data, int offset)

##### Parameters

Type | Name | Description
--- | --- | ---
EntityManager | manager |
byte | ownerId |
byte[] | data |
int | offset |

##### Overrides

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

#### ReadClientRequest(EntityManager, NetDataReader)

##### Declaration

    public override void ReadClientRequest(EntityManager manager, NetDataReader reader)

##### Parameters

Type | Name | Description
--- | --- | ---
EntityManager | manager |
NetDataReader | reader |

##### Overrides

InputProcessor.ReadClientRequest(EntityManager, NetDataReader)

#### ReadInput(EntityManager, byte, ReadOnlySpan<byte>)

##### Declaration

    public override void ReadInput(EntityManager manager, byte ownerId, ReadOnlySpan<byte> inputsData)

##### Parameters

Type | Name | Description
--- | --- | ---
EntityManager | manager |
byte | ownerId |
ReadOnlySpan<byte> | inputsData |

##### Overrides

InputProcessor.ReadInput(EntityManager, byte, ReadOnlySpan<byte>)