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

EDurationControlNotification

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

describes which notification timer has expired, for steam china duration control feature WARNING: DO NOT RENUMBER

View source
k_EDurationControlNotification_1Hour

"you've been playing for N hours"

1
k_EDurationControlNotification_3Hours

deprecated - "you've been playing for 3 hours; take a break"

2
k_EDurationControlNotification_ExitSoon_3h

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

5
k_EDurationControlNotification_ExitSoon_5h

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

6
k_EDurationControlNotification_ExitSoon_Night

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

7
k_EDurationControlNotification_HalfProgress

deprecated - "your XP / progress is half normal"

3
k_EDurationControlNotification_NoProgress

deprecated - "your XP / progress is zero"

4
k_EDurationControlNotification_None

just informing you about progress, no notification to show

0