Constructors

  • MKPlayer Brandbrigade controller.

    Parameters

    • player: MKPlayerAPI

      MKPlayer instance

    • OptionaldevBBConfig: any

      optional Brandbrigade SDK config

    • OptionaladditionalDetails: Record<string, string>

      optional additional details for Brandbrigade SDK

    Returns MKBrandbrigadeController

Methods

  • Clear when Source is unloaded or Player is destroyed or not used anymore.

    Parameters

    • clearPlayer: boolean = false

      if true, drops player instance passed in initialization. Defaults to false

    Returns void

  • Get plugin version string.

    Returns string

    plugin version string.

  • Returns whether plugin is currently active.

    Returns boolean

    true if the plugin is active, otherwise false.

  • Toggle to Enable or Disable the BrandBrigade Augmentation. Enabled internally when source is loaded.

    Parameters

    • enabled: boolean

      true to enable, false to disable

    Returns void