# copyEntityState
function copyEntityState(state)Copy entity state.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
src/miniquake2/protocol/types.mlProvides miniquake2 protocol types facilities for this project.
miniquake2/qcommon/types.ml as qt → src/miniquake2/qcommon/types.mlfunction copyEntityState(state)Copy entity state.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
function copyNumbers(values, expected, operation)Copy numbers data.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | values value consumed by this operation. |
expected | dynamic | — | expected value consumed by this operation. |
operation | dynamic | — | operation value consumed by this operation. |
function copyPlayerState(state)Copy player state.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
function copyPmoveState(state)Copy pmove state.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
function copyUserCmd(command)Copy user cmd.
| Parameter | Type | Default | Description |
|---|---|---|---|
command | dynamic | — | command value consumed by this operation. |
miniquake2.protocol.types.EntityDeltaHeader struct
miniquake2.protocol.types.EntityState struct
miniquake2.protocol.types.NetChannel struct
miniquake2.protocol.types.Packet struct
miniquake2.protocol.types.PacketHeader struct
miniquake2.protocol.types.PlayerState struct
miniquake2.protocol.types.ProcessedPacket struct
function zeroEntityState()Return the zero entity state.
function zeroPlayerState()Return the zero player state.
function zeroPmoveState()Return the zero pmove state.