MiniQuake

src/miniquake/host_lifecycle_contract.ml

Package
miniquake.host_lifecycle_contract
Reachable
No

Declarations

canonicalText

function canonicalText()

Returns whether `miniquake.host_lifecycle_contract` can onical text.

View source

changeLevelStages

function changeLevelStages()

Update subsystem configuration for change level stages.

View source

CONTRACT_FINGERPRINT

const CONTRACT_FINGERPRINT = 2361094303

Defines the contract fingerprint value used by `miniquake.host_lifecycle_contract`.

View source

demoFrameStages

function demoFrameStages()

Implements the `demoFrameStages` operation for `miniquake.host_lifecycle_contract` (demo frame stages).

View source

errorStages

function errorStages()

Report stages and return the corresponding failure status.

View source

fingerprint

function fingerprint(text)

Returns the compatibility fingerprint for `miniquake.host_lifecycle_contract`.

ParameterTypeDefaultDescription
textdynamicโ€”Text to parse or process.

View source

frameTraceStages

function frameTraceStages(sendStage)

Advance trace stages by one processing step.

ParameterTypeDefaultDescription
sendStagedynamicโ€”The send stage input consumed by `frameTraceStages`.

View source

LIGHTSTYLE_COUNT

const LIGHTSTYLE_COUNT = 64

Defines the lightstyle count value used by `miniquake.host_lifecycle_contract`.

View source

localFrameStages

function localFrameStages()

Implements the `localFrameStages` operation for `miniquake.host_lifecycle_contract` (local frame stages).

View source

mapReplaceStages

function mapReplaceStages()

Implements the `mapReplaceStages` operation for `miniquake.host_lifecycle_contract` (map replace stages).

View source

remoteFrameStages

function remoteFrameStages()

Implements the `remoteFrameStages` operation for `miniquake.host_lifecycle_contract` (remote frame stages).

View source

restartStages

function restartStages()

Implements the `restartStages` operation for `miniquake.host_lifecycle_contract` (restart stages).

View source

SAVEGAME_COMMENT_LENGTH

const SAVEGAME_COMMENT_LENGTH = 39

Defines the savegame comment length value used by `miniquake.host_lifecycle_contract`.

View source

SAVEGAME_VERSION

const SAVEGAME_VERSION = 5

Defines the savegame version value used by `miniquake.host_lifecycle_contract`.

View source

savegameStages

function savegameStages()

Encode and write game stages.

View source

serverFrameStages

function serverFrameStages(simulate)

Implements the `serverFrameStages` operation for `miniquake.host_lifecycle_contract` (server frame stages).

ParameterTypeDefaultDescription
simulatedynamicโ€”The simulate input consumed by `serverFrameStages`.

View source

SHUTDOWN_BROADCAST_SECONDS

const SHUTDOWN_BROADCAST_SECONDS = 5

Defines the shutdown broadcast seconds value used by `miniquake.host_lifecycle_contract`.

View source

SHUTDOWN_FLUSH_SECONDS

const SHUTDOWN_FLUSH_SECONDS = 3

Defines the shutdown flush seconds value used by `miniquake.host_lifecycle_contract`.

View source

shutdownStages

function shutdownStages()

Release state for shutdown stages.

View source

SPAWN_PARM_COUNT

const SPAWN_PARM_COUNT = 16

Defines the spawn parm count value used by `miniquake.host_lifecycle_contract`.

View source

STATUS

const STATUS = "host_lifecycle_109_frozen_v1"

Defines the status value used by `miniquake.host_lifecycle_contract`.

View source

verify

function verify()

Implements the `verify` operation for `miniquake.host_lifecycle_contract` (verify).

View source