Namespace in reactor_steam.js
ReactorSteam
11 public functions in 4 groups · show internal (_) functions
Quick Reference
Setup & Creation 1
| load() | Load. |
Checks (True / False) 2
| isPlaytest() | Whether it is playtest. |
| isUnlocked() | Whether it is unlocked. |
Actions 3
| start() | Connect to Steam once the settings are in; answers whether it did. |
| clear() | Clear. |
| setStat() | Sets the stat. |
Other 5
| settings() | The project's settings, with every field present; null when it never set up Steam. |
| modulePath() | Where steamworks.js is: in the game, or (a playtest) where the editor said. |
| available() | Available. |
| unlock() | Unlock. |
| stat() | Stat. |
Setup & Creation
load
static sourceReactorSteam.load()
Load.
Checks (True / False)
isPlaytest
static sourceReactorSteam.isPlaytest()
Whether it is playtest.
isUnlocked
static sourceReactorSteam.isUnlocked(api)
Whether it is unlocked.
Actions
start
static sourceReactorSteam.start(config)
Connect to Steam once the settings are in; answers whether it did.
clear
static sourceReactorSteam.clear(api)
Clear.
setStat
static sourceReactorSteam.setStat(name, value)
Sets the stat.
Other
settings
static sourceReactorSteam.settings(raw)
The project's settings, with every field present; null when it never set up Steam.
modulePath
static sourceReactorSteam.modulePath()
Where steamworks.js is: in the game, or (a playtest) where the editor said.
available
static sourceReactorSteam.available()
Available.
unlock
static sourceReactorSteam.unlock(api)
Unlock.
stat
static sourceReactorSteam.stat(name)
Stat.