# MSG_ReadDeltaUsercmd
function MSG_ReadDeltaUsercmd(buffer, base)Read msg delta usercmd.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
src/miniquake2/protocol/usercmd.mlProvides miniquake2 protocol usercmd 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/message.ml as qmsg → src/miniquake2/qcommon/message.mlfunction MSG_ReadDeltaUsercmd(buffer, base)Read msg delta usercmd.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
function MSG_WriteDeltaUsercmd(buffer, base, command)Write msg delta usercmd.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
command | dynamic | — | command value consumed by this operation. |
function readDelta(buffer, base)Read delta.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
function writeDelta(buffer, base, command)Write delta.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
base | dynamic | — | base value consumed by this operation. |
command | dynamic | — | command value consumed by this operation. |