WipeManager
A class in Root.Township, the global namespace.
Saved singleton that remembers which chunks need a pre-wipe pass. ServerWipeManager loads and processes those chunks during a wipe.
- Listed in Global namespace: T to X
- Inherits or implements
SingletonBehaviour<WipeManager>,ISavable<WipeManagerData>,ISavableSave<WipeManagerData>,ISavableSaveBase - Derived types
WipeManager,WipeManagerData
Constructors
| Member | What it is |
|---|---|
WipeManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
static IEnumerable<Chunk> ChunksToPreWipe() (iterator) | Yields the loaded Chunk for each marked identifier, logging any it can't find. Empty if there's no instance. |
static void MarkNeedingPreWipeOperation(Chunk chunk) | Adds a chunk's identifier to the pre-wipe list. TradeVendor and CommunalStorage call it. |