Table of Contents

Class UiSteam

Namespace
GrindFest
Assembly
GrindFest.dll

The Steam facts the UI displays, read in a way that cannot throw.

Steamworks throws when it is not running - the editor, a build launched outside Steam, any dev machine - and the OneJS bridge logs every failed property read across the QuickJS boundary as an ERROR, even when the JavaScript catches it. The dev-test harness fails a test that logs an error, so simply showing the beta name was enough to fail every UI test here. These accessors answer an empty value instead, and nothing above them has to care whether Steam is up.

public static class UiSteam
Inheritance
object
UiSteam

Methods

CurrentBetaName()
HasPatron()
SteamId()