StrataSource / p2ce-panorama-ui

P2CE's user interface.
MIT License
8 stars 7 forks source link

JS: Playtest API #64

Closed JJL772 closed 11 months ago

JJL772 commented 11 months ago

This is a minimal API that we need for the playtest stuff. I'm going to add it as part of the GameStateAPI (these will be the only methods in it for now).

// Returns true if this is a playtest-enabled build. i.e., the game is run with -playtest and the user owns the campaign DLC
bool IsPlaytest()
// Returns true if the playtest system is currently recording
bool IsPlaytestRecording()
JJL772 commented 11 months ago

Available on developer branch