Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Callback

Module used to handle callbacks. See {@page Callbacks} for details about the callback mechanism and the list of pre-defined callbacks

Index

Functions

  • invokeCallback(name: string, o1?: any, o2?: any, o3?: any, o4?: any, o5?: any, o6?: any, o7?: any, o8?: any, o9?: any, o10?: any): void
  • Invokes callback with any name and up to 10 additional parameters. You should not generally call pre-defined callbacks until you really need to do so. If you want to trigger some event in your mod, use your own callback names

    Parameters

    • name: string

      callback name

    • Optional o1: any
    • Optional o2: any
    • Optional o3: any
    • Optional o4: any
    • Optional o5: any
    • Optional o6: any
    • Optional o7: any
    • Optional o8: any
    • Optional o9: any
    • Optional o10: any

    Returns void

Generated using TypeDoc