MiniQuake2

src/miniquake2/game/player/userinfo.ml

Provides miniquake2 game player userinfo facilities for this project.

Package
miniquake2.game.player.userinfo
Reachable
Yes

Imports

Declarations

ClientConnect

function ClientConnect(context, player, userInfo)

Performs the ClientConnect operation for the miniquake2 game player userinfo module.

ParameterTypeDefaultDescription
contextdynamic—Context that carries state for the operation.
playerdynamic—player value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

ClientDisconnect

function ClientDisconnect(context, player)

Return the client disconnect value.

ParameterTypeDefaultDescription
contextdynamic—Context that carries state for the operation.
playerdynamic—player value consumed by this operation.

View source

ClientUserinfoChanged

function ClientUserinfoChanged(context, player, userInfo)

Return the client userinfo changed value.

ParameterTypeDefaultDescription
contextdynamic—Context that carries state for the operation.
playerdynamic—player value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

InitClientPersistent

function InitClientPersistent(player, context)

Initialize client persistent.

ParameterTypeDefaultDescription
playerdynamic—player value consumed by this operation.
contextdynamic—Context that carries state for the operation.

View source

numeric

function numeric(text, fallback)

Performs the numeric operation for the miniquake2 game player userinfo module.

ParameterTypeDefaultDescription
textdynamic—Text consumed by the operation.
fallbackdynamic—Value returned when no explicit result is available.

View source

passwordMatches

function passwordMatches(required, supplied)

Return the password matches value.

ParameterTypeDefaultDescription
requireddynamic—required value consumed by this operation.
supplieddynamic—supplied value consumed by this operation.

View source

reject

function reject(userInfo, message)

Reject state.

ParameterTypeDefaultDescription
userInfodynamic—userInfo value consumed by this operation.
messagedynamic—Human-readable message associated with the operation.

View source

spectatorCount

function spectatorCount(context, ignoredPlayer)

Return the spectator count.

ParameterTypeDefaultDescription
contextdynamic—Context that carries state for the operation.
ignoredPlayerdynamic—ignoredPlayer value consumed by this operation.

View source