MiniQuake

src/miniquake/client_protocol.ml

Package
miniquake.client_protocol
Reachable
Yes

Imports

Declarations

CL_ParseBaseline

function CL_ParseBaseline(reader)

Apply the Quake-compatible cl parse baseline behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseBaseline`.

View source

CL_ParseClientdata

function CL_ParseClientdata(reader, bits)

Apply the Quake-compatible cl parse clientdata behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseClientdata`.
bitsdynamic—The bits input consumed by `CL_ParseClientdata`.

View source

CL_ParseServerInfo

function CL_ParseServerInfo(reader)

Apply the Quake-compatible cl parse server info behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseServerInfo`.

View source

CL_ParseServerMessage

function CL_ParseServerMessage(data)

Apply the Quake-compatible cl parse server message behavior.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.

View source

CL_ParseStartSoundPacket

function CL_ParseStartSoundPacket(reader)

Apply the Quake-compatible cl parse start sound packet behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseStartSoundPacket`.

View source

CL_ParseStatic

function CL_ParseStatic(reader)

Apply the Quake-compatible cl parse static behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseStatic`.

View source

CL_ParseStaticSound

function CL_ParseStaticSound(reader)

Apply the Quake-compatible cl parse static sound behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseStaticSound`.

View source

CL_ParseUpdate

function CL_ParseUpdate(reader, lowBits)

Apply the Quake-compatible cl parse update behavior.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `CL_ParseUpdate`.
lowBitsdynamic—The low bits input consumed by `CL_ParseUpdate`.

View source

event

function event(name, payload)

Implements the `event` operation for `miniquake.client_protocol` (event).

ParameterTypeDefaultDescription
namedynamic—Stable name that identifies the requested object or option.
payloaddynamic—The payload input consumed by `event`.

View source

parse

function parse(data)

Implements the `parse` operation for `miniquake.client_protocol` (parse).

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.

View source

readBaseline

function readBaseline(reader)

Read and validate baseline.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readBaseline`.

View source

readClientData

function readClientData(reader)

Read and validate client data.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readClientData`.

View source

readFastUpdate

function readFastUpdate(reader, lowBits)

Read and validate fast update.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readFastUpdate`.
lowBitsdynamic—The low bits input consumed by `readFastUpdate`.

View source

readParticle

function readParticle(reader)

Read and validate particle.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readParticle`.

View source

readServerInfo

function readServerInfo(reader)

Read and validate server info.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readServerInfo`.

View source

readSound

function readSound(reader)

Read and validate sound.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readSound`.

View source

readStaticSound

function readStaticSound(reader)

Read and validate static sound.

ParameterTypeDefaultDescription
readerdynamic—The reader input consumed by `readStaticSound`.

View source