SplitScript reference / runtime

runtime

namespace

Reads metadata about the autosplitting runtime host.

These values describe the system running the autosplitting runtime, not necessarily the architecture of the attached game process.

Examples

Inspect the host platform

let hostOs = runtime.operatingSystem() else "unknown"
let hostArchitecture = runtime.architecture() else "unknown"
print(`Running on {hostOs} ({hostArchitecture})`)

Functions

MemberDescriptionAvailable through
architectureReturns the runtime host's architecture name.
operatingSystemReturns the runtime host's operating-system name.