Skip to content

setDurationControlOnlineState

setDurationControlOnlineState(state): boolean

Tells Steam’s duration control system whether the game is in offline or online play. Offline play does not count against the playtime limits. Needs init(). This sends the state to Steam.

DurationControlOnlineState

the current online state of the game.

boolean

true if the SDK accepted the state, otherwise false.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.