Type alias ActivationFunctionType<PerPlayerStorageType>

ActivationFunctionType<PerPlayerStorageType>: ((uiSession) => IDisposable[])

Type Parameters

  • PerPlayerStorageType

Type declaration

    • (uiSession): IDisposable[]
    • Callback type when an extension instance is activated for a given player. It is expected to return an array of disposables that will automatically be cleaned up on shutdown.

      Parameters

      Returns IDisposable[]