Enum ClockEventKind
Identifies which clock-state change triggered a notification to IClockListener subscribers.
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public enum ClockEventKind
Remarks
Each value is paired with a strongly-typed ScyllaEvent subclass dispatched
via ScyllaEvents. Listeners that subscribe via
RegisterListener(IClockListener) receive the kind
enum directly to keep their hot-path dispatch zero-allocation.
The finest boundary granularity dispatched is SecondChanged. For per-tick (sub-second) notifications, enable EmitTickEvents on the clock and subscribe to Tick instead.
Fields
| Name | Description |
|---|---|
| DayChanged | The clock crossed a day boundary. |
| EraChanged | The clock entered a new era. |
| HourChanged | The clock crossed an hour boundary. |
| MinuteChanged | The clock crossed a minute boundary. |
| MonthChanged | The clock crossed a month boundary. |
| Paused | The clock was paused. |
| Registered | The clock was registered with ScyllaTime. Dispatched only via ScyllaEvents; never delivered to IClockListener subscribers because the clock has no listeners at registration time. |
| Resumed | The clock was resumed. |
| SeasonChanged | The clock entered a new season. |
| SecondChanged | The clock crossed a second boundary. |
| Tick | The clock advanced one tick. Only fires when |
| TimeScaleChanged | The clock's effective rate changed (speed multiplier or modifier stack edit). |
| Unregistered | The clock was unregistered from ScyllaTime. Dispatched only via ScyllaEvents; never delivered to IClockListener subscribers. |
| WeekdayChanged | The clock crossed a weekday boundary. |
| YearChanged | The clock crossed a year boundary. |