MiniQuake2

src/miniquake2/client/runtime/types.ml

Provides miniquake2 client runtime types facilities for this project.

Package
miniquake2.client.runtime.types
Reachable
Yes

Declarations

miniquake2.client.runtime.types.CenterPrintHandoff struct

create

function create(networkRuntime, clientState, effectState)

Creates create for the miniquake2 client runtime types module.

ParameterTypeDefaultDescription
networkRuntimedynamic—networkRuntime value consumed by this operation.
clientStatedynamic—clientState value consumed by this operation.
effectStatedynamic—effectState value consumed by this operation.

View source

miniquake2.client.runtime.types.DispatchResult struct

miniquake2.client.runtime.types.FrameHandoff struct

miniquake2.client.runtime.types.InventoryHandoff struct

miniquake2.client.runtime.types.LayoutHandoff struct

miniquake2.client.runtime.types.PrintHandoff struct

result

function result(accepted, sequence, commands, effectCommands, frames, reason)

Performs the result operation for the miniquake2 client runtime types module.

ParameterTypeDefaultDescription
accepteddynamic—accepted value consumed by this operation.
sequencedynamic—sequence value consumed by this operation.
commandsdynamic—commands value consumed by this operation.
effectCommandsdynamic—effectCommands value consumed by this operation.
framesdynamic—frames value consumed by this operation.
reasondynamic—reason value consumed by this operation.

View source

miniquake2.client.runtime.types.Runtime struct

snapshot

function snapshot(frame)

Return the snapshot value.

ParameterTypeDefaultDescription
framedynamic—frame value consumed by this operation.

View source

miniquake2.client.runtime.types.Snapshot struct