@scml/mod-check-game-version

TypeScript type definitions for DoL game version check.

Installation

npm
yarn
pnpm
bun
deno
npm install -D @scml/mod-check-game-version

Quick Start

Add type reference

/// <reference types="@scml/mod-check-game-version" />

Use global instance

modCheckGameVersion is mounted on window.

Global Types global

PropertyTypeDescription
modCheckGameVersionCheckGameVersionVersion check mod instance

Subpath Exports

SubpathDescription
.Main entry
./CheckGameVersionMain class

API Reference

CheckGameVersion class

Implements Sc2EventTracerCallback. Methods: checkGameVersion(), whenSC2StoryReady().

Type Definition Source

INFO