NewSaveData<TSavable, TData>
An abstract class in Root.Township, the global namespace.
Base for the current version of a component's save data. Apply hands the data to the component's ISavable<TData>.Load.
- Listed in Global namespace: M to O
- Inherits or implements
SaveData - Derived types
AdditionalStaticContentSaveData,SmelterSaveData,ChisellingDeckSaveData,CaveLayerManagerSaveData,CaveTeleporterData,CaveTeleporterManagerData,CaveLayerStreamerSaveData,CylindricalBoundsSurfaceSaveData,DirectionalBoundsSurfaceSave,SphericalSurfaceSaveData,CookableSaveData,CookingPotSaveData,StewManagerSaveData,GenericAssemblyStationData,GenericCraftingStationData,EnchantableData,ForestGeneratorSaveData,FireSaveData,HeatSourceBaseSaveData,CommunalStorageData,LockableHingeSaveData,PickupDockSaveData,LiquidContainerSaveData,LogicBoolReceiverData,LogicBoolSaveData,LogicFloatChangeOnBoolSaveData,LogicFloatRangeSaveData,LogicFloatReceiverData,LogicFloatResetSaveData,LogicFloatSaveData,LogicFloatThresholdSaveData,LogicGateSaveData,LogicIntRangeSaveData,LogicIntReceiverData,LogicIntSaveData,LogicIntThresholdSaveData,LogicIntToBoolData,LogicManagerData,LogicSumFloatSaveData,LogicSumIntSaveData,LogicVector3ReceiverData,LogicVector3SaveData,PositionProviderSaveData,GeneratedLootSaveData,LootModuleSaveData,PresetLootModuleSaveData,InfoBoardSaveData,LandmarkDiscoverZoneSaveData,LandmarkManagerSaveData,LandmarkSaveData,MapBoardSaveData1,ModifiableStaticManagerSaveData,NetworkRigidbodySaveData,BookRestrictorSaveData,BookSaveData,GlobalPagesManagerSaveData,PageInstanceSaveData,PositionRestrictorSaveData,BasicPopulationFolderSaveData,EcosystemSaveDataand 99 more
Constructors
| Member | What it is |
|---|---|
protected NewSaveData() | Creates a NewSaveData with default values. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override bool Apply(object target, ISerializeChildren childSerializer) | Calls Load on the target with this data. Logs and returns false if loading throws. |
override SaveData Migrate() | Logs an error and returns null: the latest version has nothing to migrate to. |