Class ClockEraChangedEvent
Fired when the clock enters a new era. Only dispatched when both before and after dates carry a valid era index (neither is Calendar.GameDate.INDEX_NONE).
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public sealed class ClockEraChangedEvent : ClockEvent
Constructors
ClockEraChangedEvent(string, GameDate, GameDate, bool)
Initializes an era-changed event with the clock ID, before/after dates, and direction.
Declaration
public ClockEraChangedEvent(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 |