KcdMp.api
The version of the page API the game runs.
A whole number, 1. It moves only when something a page relies on changes in a way old pages cannot follow; the
interface’s ui.toml says which version it was written for (api = 1), and a page can check the one it actually got.
Syntax
Section titled “Syntax”KcdMp.apinumber
Example
Section titled “Example”if (KcdMp.api < 1) { document.body.textContent = "This page needs a newer game.";}