# computeFlags
function computeFlags(base, target)Compute flags.
| Parameter | Type | Default | Description |
|---|---|---|---|
base | dynamic | — | base value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |
src/miniquake2/protocol/player_delta.mlProvides miniquake2 protocol player delta facilities for this project.
miniquake2/protocol/checked.ml as pchecked → src/miniquake2/protocol/checked.mlminiquake2/protocol/constants.ml as pc → src/miniquake2/protocol/constants.mlminiquake2/protocol/types.ml as pt → src/miniquake2/protocol/types.mlminiquake2/qcommon/byteio.ml as qbio → src/miniquake2/qcommon/byteio.mlminiquake2/qcommon/message.ml as qmsg → src/miniquake2/qcommon/message.mlfunction computeFlags(base, target)Compute flags.
| Parameter | Type | Default | Description |
|---|---|---|---|
base | dynamic | — | base value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |
function readBody(buffer, base)Read body.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
function readMessage(buffer, base)Read message.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
function validateState(state, operation)Validates state for the miniquake2 protocol player delta workflow.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
operation | dynamic | — | operation value consumed by this operation. |
function vec3Changed(a, b)Return the vec 3 changed value.
| Parameter | Type | Default | Description |
|---|---|---|---|
a | dynamic | — | a value consumed by this operation. |
b | dynamic | — | b value consumed by this operation. |
function vec4Changed(a, b)Return the vec 4 changed value.
| Parameter | Type | Default | Description |
|---|---|---|---|
a | dynamic | — | a value consumed by this operation. |
b | dynamic | — | b value consumed by this operation. |
function writeBody(buffer, base, target)Write body.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |
function writeMessage(buffer, base, target)Write message.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |