mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
MISC: Add versionNumber to ns.ui.getGameInfo() (#2155)
This commit is contained in:
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -10104,9 +10104,18 @@ interface IStyleSettings {
|
||||
* @public
|
||||
*/
|
||||
interface GameInfo {
|
||||
/**
|
||||
* Version as shown in release notes and in the UI. E.g.: "2.8.1"
|
||||
*
|
||||
* Note that this property does not have the prefix "v". For example, with v2.8.1, this property is "2.8.1".
|
||||
*/
|
||||
version: string;
|
||||
/** Internal version number that increments during releases. E.g.: 43 */
|
||||
versionNumber: number;
|
||||
/** Git commit hash that the release was built from. E.g.: "d0d776700" */
|
||||
commit: string;
|
||||
platform: string;
|
||||
/** Platform that the game is running on */
|
||||
platform: "Browser" | "Steam";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user