# acceptFrame
function acceptFrame(runtime, buffer)Accept frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
src/miniquake2/client/runtime/dispatcher.mlProvides miniquake2 client runtime dispatcher facilities for this project.
miniquake2/client/demo.ml as cdemo → src/miniquake2/client/demo.mlminiquake2/client/downloads.ml as cdownloads → src/miniquake2/client/downloads.mlminiquake2/client/effects/constants.ml as ceconstants → src/miniquake2/client/effects/constants.mlminiquake2/client/effects/parser.ml as ceparser → src/miniquake2/client/effects/parser.mlminiquake2/client/effects/state.ml as cestate → src/miniquake2/client/effects/state.mlminiquake2/client/runtime/types.ml as crtypes → src/miniquake2/client/runtime/types.mlminiquake2/client/state.ml as cstate → src/miniquake2/client/state.mlminiquake2/network/client.ml as nclient → src/miniquake2/network/client.mlminiquake2/network/constants.ml as nc → src/miniquake2/network/constants.mlminiquake2/network/runtime/lifecycle.ml as nrlifecycle → src/miniquake2/network/runtime/lifecycle.mlminiquake2/network/runtime/messages.ml as rmessages → src/miniquake2/network/runtime/messages.mlminiquake2/network/runtime/types.ml as nrtypes → src/miniquake2/network/runtime/types.mlminiquake2/protocol/checked.ml as pchecked → src/miniquake2/protocol/checked.mlminiquake2/protocol/constants.ml as pc → src/miniquake2/protocol/constants.mlminiquake2/protocol/entity_delta.ml as pentity → src/miniquake2/protocol/entity_delta.mlminiquake2/protocol/netchan.ml as pnetchan → src/miniquake2/protocol/netchan.mlminiquake2/protocol/types.ml as pt → src/miniquake2/protocol/types.mlminiquake2/qcommon/constants.ml as qc → src/miniquake2/qcommon/constants.mlfunction acceptFrame(runtime, buffer)Accept frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
activeResolverRuntimeStores module-wide active resolver runtime state for the miniquake2 client runtime dispatcher module.
function appendDownload(runtime, buffer)Append download.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
function appendLimited(values, value, maximum)Append limited.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | values value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
maximum | dynamic | — | maximum value consumed by this operation. |
function beginMapChange(runtime)Begin map change.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function beginReconnect(runtime, now)Begin a user-requested reconnect through the same atomic retirement path as svc_reconnect, without pretending that a server packet was received.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
function copyArray(values)Copy array data.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | values value consumed by this operation. |
function create(networkRuntime, clientState, effectState)Creates create for the miniquake2 client runtime dispatcher module.
| Parameter | Type | Default | Description |
|---|---|---|---|
networkRuntime | dynamic | — | networkRuntime value consumed by this operation. |
clientState | dynamic | — | clientState value consumed by this operation. |
effectState | dynamic | — | effectState value consumed by this operation. |
function dispatch(runtime, payload, sequence, now)Dispatch state.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
payload | dynamic | — | payload value consumed by this operation. |
sequence | dynamic | — | sequence value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
function entity(runtime, number)Return the entity value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
const MAX_PRINT_HANDOFFS = 64Defines the max print handoffs constant used by the miniquake2 client runtime dispatcher module.
const MAX_SCREEN_HANDOFFS = 16Defines the max screen handoffs constant used by the miniquake2 client runtime dispatcher module.
function nextDemo(runtime, player, now)Return the next demo value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
function parseBuffer(runtime, buffer, now)Parse buffer.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
now | dynamic | — | now value consumed by this operation. |
function parseCenterPrint(runtime, buffer, now)Parse center print.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
now | dynamic | — | now value consumed by this operation. |
function parseInventory(runtime, buffer, now)Parse inventory.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
now | dynamic | — | now value consumed by this operation. |
function parseLayout(runtime, buffer, now)Parse layout.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
now | dynamic | — | now value consumed by this operation. |
function parsePrint(runtime, buffer, now)Parse print.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
now | dynamic | — | now value consumed by this operation. |
function pendingStuffText(runtime)Report whether pending stuff text.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function readUiString(buffer, operation)Read ui string.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function releaseResolver()Release resolver.
function resetClientState(runtime)Reset client state.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function resolveEntity(number)Resolve entity.
| Parameter | Type | Default | Description |
|---|---|---|---|
number | dynamic | — | number value consumed by this operation. |
function setDemoRecorder(runtime, demo)Set demo recorder.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
demo | dynamic | — | demo value consumed by this operation. |
function setDownloadManager(runtime, manager)Set download manager.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
manager | dynamic | — | manager value consumed by this operation. |
function setLegacyDemoCompatibility(runtime, enabled)Release DM2 files shipped with Quake II use protocol 26. The 3.19 client kept an explicit demo-only compatibility hack; live network sessions remain strictly Protocol 34.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
enabled | dynamic | — | enabled value consumed by this operation. |
function takeCenterPrints(runtime)Consume center prints.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function takeInventories(runtime)Consume inventories.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function takeLayouts(runtime)Consume layouts.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function takePrints(runtime)Consume prints.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function validationRuntime(runtime)Return the validation runtime value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |