MiniQuake2

src/miniquake2/network/types.ml

Provides miniquake2 network types facilities for this project.

Package
miniquake2.network.types
Reachable
Yes

Declarations

action

function action(kind, address, data, slot, text)

Performs the action operation for the miniquake2 network types module.

ParameterTypeDefaultDescription
kinddynamic—kind value consumed by this operation.
addressdynamic—address value consumed by this operation.
datadynamic—Input data consumed by the operation.
slotdynamic—slot value consumed by this operation.
textdynamic—Text consumed by the operation.

View source

miniquake2.network.types.Challenge struct

miniquake2.network.types.ClientState struct

miniquake2.network.types.ConnectionlessRequest struct

miniquake2.network.types.Frame struct

miniquake2.network.types.HandleResult struct

miniquake2.network.types.NetworkAction struct

result

function result(accepted, slot, actions, message, payload)

Performs the result operation for the miniquake2 network types module.

ParameterTypeDefaultDescription
accepteddynamic—accepted value consumed by this operation.
slotdynamic—slot value consumed by this operation.
actionsdynamic—actions value consumed by this operation.
messagedynamic—Human-readable message associated with the operation.
payloaddynamic—payload value consumed by this operation.

View source

miniquake2.network.types.ServerClient struct

miniquake2.network.types.ServerState struct