Class HolidayConfig
Configuration model used by the HolidayPlugin instance loaded from the "Holiday.eco" file in the server's config directory.
Inheritance
System.Object
HolidayConfig
Namespace: Eco.Gameplay.Holidays
Assembly: Eco.Gameplay.dll
Syntax
public sealed class HolidayConfig : Object
Constructors
HolidayConfig()
Declaration
public HolidayConfig()
Properties
Holidays
Represents all configured holiday events that can be run on Eco Server.
Declaration
public ThreadSafeList<HolidayEvent> Holidays { get; set; }
Property Value
Type | Description |
---|---|
ThreadSafeList<HolidayEvent> |
HolidaysEnabled
Global flag for enabling/disabling all holidays without removing them from the server's configuration.
Declaration
public bool HolidaysEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |