Version
Runtime name, version and platform.
Runtime name, version and platform
__SFCodeObj.version:Object
Returns Object
| Field | Type | Description |
runtime | "xScal" | |
value | String | |
platform | "steam" | "gamepass" | |
A property, so no call is needed.
Example
var runtime:String = __SFCodeObj.version.runtime;
var value:String = __SFCodeObj.version.value;
var platform:String = __SFCodeObj.version.platform;
Runtime information as JSON
__SFCodeObj.call("GetXSRuntimeInfo"):String
No arguments.
Returns String (JSON)
| Field | Type | Description |
runtime | "xScal" | |
version | String | |
platform | "steam" | "gamepass" | |
Sample result
{"runtime":"xScal","version":"0.4.33","platform":"steam"}
Example
var info:Object = JSON.parse(__SFCodeObj.call("GetXSRuntimeInfo"));
Alias of GetXSRuntimeInfo
__SFCodeObj.call("GetZFERuntimeInfo"):String
No arguments.
Returns String (JSON)
Same as GetXSRuntimeInfo.