Hierarchy

  • IAudioEvents

Methods

  • Returns any

  • Called when a ui sound effect is played

    Returns

    False to cancel the sound effect, a sound effect to play instead of the given one, or undefined to use the default logic

    Parameters

    • type: SfxType

      The sound effect type

    Returns undefined | boolean | SfxType

  • Called when a game sound effect is queued

    Returns

    False to cancel the sound effect, a sound effect to play instead of the given one, or undefined to use the default logic

    Parameters

    • type: SfxType

      The sound effect type

    • position: IVector4

      The position of the sound effect

    Returns undefined | boolean | SfxType

Generated using TypeDoc