Struct ScyllaTimeDebugInfo
Read-only aggregate snapshot of the entire ScyllaTime service for debug overlays. Combines global state with per-clock ClockDebugInfo entries.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public readonly struct ScyllaTimeDebugInfo
Constructors
ScyllaTimeDebugInfo(float, float, bool, PauseMode, int, int, string, ClockDebugInfo[])
Initializes a new aggregate debug snapshot. All parameters correspond directly to the
same-named properties, with clocks pointing to the caller-managed
reusable buffer populated by GetDebugInfo(ref ClockDebugInfo[]).
Declaration
public ScyllaTimeDebugInfo(float globalBaseTimeScale, float globalEffectiveTimeScale, bool isGlobalPaused, PauseMode globalPauseMode, int globalModifierCount, int clockCount, string masterClockID, ClockDebugInfo[] clocks)
Parameters
| Type | Name | Description |
|---|---|---|
| float | globalBaseTimeScale | |
| float | globalEffectiveTimeScale | |
| bool | isGlobalPaused | |
| PauseMode | globalPauseMode | |
| int | globalModifierCount | |
| int | clockCount | |
| string | masterClockID | |
| ClockDebugInfo[] | clocks |
Fields
ClockCount
Total number of registered clocks.
Declaration
public readonly int ClockCount
Field Value
| Type | Description |
|---|---|
| int |
Clocks
Per-clock debug snapshots in registration order.
Declaration
public readonly ClockDebugInfo[] Clocks
Field Value
| Type | Description |
|---|---|
| ClockDebugInfo[] |
GlobalBaseTimeScale
Global base time scale (the value returned by TimeScale).
Declaration
public readonly float GlobalBaseTimeScale
Field Value
| Type | Description |
|---|---|
| float |
GlobalEffectiveTimeScale
Effective global time scale after the global modifier stack is applied.
Declaration
public readonly float GlobalEffectiveTimeScale
Field Value
| Type | Description |
|---|---|
| float |
GlobalModifierCount
Number of modifiers in the global modifier stack.
Declaration
public readonly int GlobalModifierCount
Field Value
| Type | Description |
|---|---|
| int |
GlobalPauseMode
Active global pause mode.
Declaration
public readonly PauseMode GlobalPauseMode
Field Value
| Type | Description |
|---|---|
| PauseMode |
IsGlobalPaused
Whether the global service is paused.
Declaration
public readonly bool IsGlobalPaused
Field Value
| Type | Description |
|---|---|
| bool |
MasterClockID
The ID of the master clock, or null when no master is registered.
Declaration
public readonly string MasterClockID
Field Value
| Type | Description |
|---|---|
| string |