Options
All
  • Public
  • Public/Protected
  • All
Menu

A handler class that can be used to register to Vortex events with less boilerplate and typed callbacks.

remarks

This class is intended only for game extensions.

Hierarchy

  • EventHandler

Index

Constructors

constructor

  • new EventHandler(api: IExtensionApi, gameId: string): EventHandler
  • Creates a new EventHandler for a specific game. Any events registered using this handler will only be triggered if they are relevant to this game ID.

    Parameters

    • api: IExtensionApi

      The extension API.

    • gameId: string

      The game ID.

    Returns EventHandler

Methods

didDeploy

gameModeActivated

onGameModsChanged

Generated using TypeDoc