FestivityCommandModule
A class in Root.Township, the global namespace.
Console module festivities for listing, inspecting, starting and stopping festivities. Calls the scene's FestivityManager.
- Listed in Global namespace: E to H
- Attributes
Module
Constructors
| Member | What it is |
|---|---|
FestivityCommandModule() | Creates a FestivityCommandModule with default values. |
Fields
Methods
4 private and internal methods
| Member | What it is |
|---|---|
private static Festivity Inspect(Festivity festivity) | Command festivities info: returns the festivity so the console prints its fields. |
private static IEnumerable<HashedItemInfo> ListFestivities() | Command festivities list: lists every Festivity asset. |
private static string StartFestivity(Festivity festivity) | Command festivities start: turns a festivity on through FestivityManager.SetFestivityActive and syncs it. |
private static string StopFestivity(Festivity festivity) | Command festivities stop: turns a festivity off. The manager's next check can switch it back by date. |