Provides miniquake2 game player userinfo facilities for this project.
# ClientConnect
function ClientConnect(context, player, userInfo)
Performs the ClientConnect operation for the miniquake2 game player userinfo module.
| Parameter | Type | Default | Description |
|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
View source
# ClientDisconnect
function ClientDisconnect(context, player)
Return the client disconnect value.
| Parameter | Type | Default | Description |
|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
View source
# ClientUserinfoChanged
function ClientUserinfoChanged(context, player, userInfo)
Return the client userinfo changed value.
| Parameter | Type | Default | Description |
|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
View source
# InitClientPersistent
function InitClientPersistent(player, context)
Initialize client persistent.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | player value consumed by this operation. |
context | dynamic | — | 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.
| Parameter | Type | Default | Description |
|---|
text | dynamic | — | Text consumed by the operation. |
fallback | dynamic | — | Value returned when no explicit result is available. |
View source
# passwordMatches
function passwordMatches(required, supplied)
Return the password matches value.
| Parameter | Type | Default | Description |
|---|
required | dynamic | — | required value consumed by this operation. |
supplied | dynamic | — | supplied value consumed by this operation. |
View source
# spectatorCount
function spectatorCount(context, ignoredPlayer)
Return the spectator count.
| Parameter | Type | Default | Description |
|---|
context | dynamic | — | Context that carries state for the operation. |
ignoredPlayer | dynamic | — | ignoredPlayer value consumed by this operation. |
View source