Files
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.
| Parameter | Type | Default | Description |
|---|
networkRuntime | dynamic | — | networkRuntime value consumed by this operation. |
clientState | dynamic | — | clientState value consumed by this operation. |
effectState | dynamic | — | 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.
| Parameter | Type | Default | Description |
|---|
accepted | dynamic | — | accepted value consumed by this operation. |
sequence | dynamic | — | sequence value consumed by this operation. |
commands | dynamic | — | commands value consumed by this operation. |
effectCommands | dynamic | — | effectCommands value consumed by this operation. |
frames | dynamic | — | frames value consumed by this operation. |
reason | dynamic | — | reason value consumed by this operation. |
View source
miniquake2.client.runtime.types.Runtime struct
# snapshot
function snapshot(frame)
Return the snapshot value.
| Parameter | Type | Default | Description |
|---|
frame | dynamic | — | frame value consumed by this operation. |
View source
miniquake2.client.runtime.types.Snapshot struct