# CL_ParseBaseline
function CL_ParseBaseline(reader)Apply the Quake-compatible cl parse baseline behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseBaseline`. |
src/miniquake/client_protocol.mlminiquake/array_util.ml as arrays → src/miniquake/array_util.mlminiquake/constants.ml as c → src/miniquake/constants.mlminiquake/message.ml as msg → src/miniquake/message.mlminiquake/protocol_events.ml as protocolEvents → src/miniquake/protocol_events.mlminiquake/protocol_transients.ml as transients → src/miniquake/protocol_transients.mlminiquake/temp_entities.ml as temporary → src/miniquake/temp_entities.mlminiquake/types.ml as t → src/miniquake/types.mlfunction CL_ParseBaseline(reader)Apply the Quake-compatible cl parse baseline behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseBaseline`. |
function CL_ParseClientdata(reader, bits)Apply the Quake-compatible cl parse clientdata behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseClientdata`. |
bits | dynamic | — | The bits input consumed by `CL_ParseClientdata`. |
function CL_ParseServerInfo(reader)Apply the Quake-compatible cl parse server info behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseServerInfo`. |
function CL_ParseServerMessage(data)Apply the Quake-compatible cl parse server message behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
function CL_ParseStartSoundPacket(reader)Apply the Quake-compatible cl parse start sound packet behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseStartSoundPacket`. |
function CL_ParseStatic(reader)Apply the Quake-compatible cl parse static behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseStatic`. |
function CL_ParseStaticSound(reader)Apply the Quake-compatible cl parse static sound behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseStaticSound`. |
function CL_ParseUpdate(reader, lowBits)Apply the Quake-compatible cl parse update behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `CL_ParseUpdate`. |
lowBits | dynamic | — | The low bits input consumed by `CL_ParseUpdate`. |
function event(name, payload)Implements the `event` operation for `miniquake.client_protocol` (event).
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Stable name that identifies the requested object or option. |
payload | dynamic | — | The payload input consumed by `event`. |
function parse(data)Implements the `parse` operation for `miniquake.client_protocol` (parse).
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
function readBaseline(reader)Read and validate baseline.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readBaseline`. |
function readClientData(reader)Read and validate client data.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readClientData`. |
function readFastUpdate(reader, lowBits)Read and validate fast update.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readFastUpdate`. |
lowBits | dynamic | — | The low bits input consumed by `readFastUpdate`. |
function readParticle(reader)Read and validate particle.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readParticle`. |
function readServerInfo(reader)Read and validate server info.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readServerInfo`. |
function readSound(reader)Read and validate sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readSound`. |
function readStaticSound(reader)Read and validate static sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
reader | dynamic | — | The reader input consumed by `readStaticSound`. |