MiniQuake2

src/miniquake2/client/effects/audio.ml

Provides miniquake2 client effects audio facilities for this project.

Package
miniquake2.client.effects.audio
Reachable
Yes

Imports

Declarations

callbacks

function callbacks(resolveIndex, resolveName, play)

Performs the callbacks operation for the miniquake2 client effects audio module.

ParameterTypeDefaultDescription
resolveIndexdynamic—Zero-based index of resolve.
resolveNamedynamic—resolveName value consumed by this operation.
playdynamic—play value consumed by this operation.

View source

emit

function emit(state, event)

Performs the emit operation for the miniquake2 client effects audio module.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.
eventdynamic—event value consumed by this operation.

View source

identityIndex

function identityIndex(index)

Return the identity index.

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the affected item.

View source

identityName

function identityName(name)

Return the identity name.

ParameterTypeDefaultDescription
namedynamic—Name of the affected item.

View source

ignorePlay

function ignorePlay(event, resolvedSound)

Ignore play.

ParameterTypeDefaultDescription
eventdynamic—event value consumed by this operation.
resolvedSounddynamic—resolvedSound value consumed by this operation.

View source

silent

function silent()

Report whether silent.

View source