MiniQuake2

src/miniquake2/protocol/types.ml

Provides miniquake2 protocol types facilities for this project.

Package
miniquake2.protocol.types
Reachable
Yes

Imports

Declarations

copyEntityState

function copyEntityState(state)

Copy entity state.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source

copyNumbers

function copyNumbers(values, expected, operation)

Copy numbers data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.
expecteddynamic—expected value consumed by this operation.
operationdynamic—operation value consumed by this operation.

View source

copyPlayerState

function copyPlayerState(state)

Copy player state.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source

copyPmoveState

function copyPmoveState(state)

Copy pmove state.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source

copyUserCmd

function copyUserCmd(command)

Copy user cmd.

ParameterTypeDefaultDescription
commanddynamic—command value consumed by this operation.

View source

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

zeroEntityState

function zeroEntityState()

Return the zero entity state.

View source

zeroPlayerState

function zeroPlayerState()

Return the zero player state.

View source

zeroPmoveState

function zeroPmoveState()

Return the zero pmove state.

View source