@scml/mod-cot-check-game-version

TypeScript type definitions for CoT (Cape on the Tower) game version check.

Installation

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

Quick Start

Add type reference

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

Use global instance

modCheckGameVersion is mounted on window.

Global Types global

PropertyTypeDescription
modCheckGameVersionCheckGameVersionCoT version check mod instance

Subpath Exports

SubpathDescription
.Main entry
./CheckGameVersionMain class

API Reference

CheckGameVersion class

Addon class that validates CoT game version at runtime.

Type Definition Source

INFO