swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

EDurationControlProgress

Enum
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public enum EDurationControlProgress

describes XP / progress restrictions to apply for games with duration control / anti-indulgence enabled for minor Steam China users. WARNING: DO NOT RENUMBER

View source
k_EDurationControlProgress_Full

Full progress

0
k_EDurationControlProgress_Half

deprecated - XP or persistent rewards should be halved

1
k_EDurationControlProgress_None

deprecated - XP or persistent rewards should be stopped

2
k_EDurationControl_ExitSoon_3h

allowed 3h time since 5h gap/break has elapsed, game should exit - steam will terminate the game soon

3
k_EDurationControl_ExitSoon_5h

allowed 5h time in calendar day has elapsed, game should exit - steam will terminate the game soon

4
k_EDurationControl_ExitSoon_Night

game running after day period, game should exit - steam will terminate the game soon

5