Class ClockWeekdayChangedEvent
Fired when the clock crosses a weekday boundary. Only dispatched when the calendar has a non-empty weekday list and both before and after dates carry a valid weekday index.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public sealed class ClockWeekdayChangedEvent : ClockEvent
Constructors
ClockWeekdayChangedEvent(string, GameDate, GameDate, bool)
Initializes a weekday-changed event with the clock ID, before/after dates, and direction.
Declaration
public ClockWeekdayChangedEvent(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 |