Show / Hide Table of Contents

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

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾