KcdMp.env
What the page knows about where it runs.
A small read-only object: whether the game or a browser runs the page, the size of its screen, the player’s language and whether the game is in developer mode. Its members have their own pages.
Syntax
Section titled “Syntax”KcdMp.envExample
Section titled “Example”const { screen, locale } = KcdMp.env;document.title = locale + " " + screen.w + "x" + screen.h;See also
Section titled “See also”KcdMp.env.mock · KcdMp.env.screen · KcdMp.env.locale · the The page group of the index
