Class ClockSeasonChangedEvent
Fired when the clock enters a new season. Only dispatched when both before and after dates carry a valid season index (neither is Calendar.GameDate.INDEX_NONE).
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public sealed class ClockSeasonChangedEvent : ClockEvent
Constructors
ClockSeasonChangedEvent(string, GameDate, GameDate, bool)
Initializes a season-changed event with the clock ID, before/after dates, and direction.
Declaration
public ClockSeasonChangedEvent(string clockID, GameDate before, GameDate after, bool isReversing)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clockID | |
| GameDate | before | |
| GameDate | after | |
| bool | isReversing |
Properties
Kind
Discriminator identifying which concrete subclass this event is.
Declaration
public override ClockEventKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| ClockEventKind |