PlayerSaveFileData2
A class in Root.Township, Alta.Utilities.
Version 2 of the saved player position and home. Migrating moves anyone out of four old areas to the original spawn point.
- Listed in Utilities and other Alta namespaces
- Inherits or implements
OldSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
PlayerSaveFileData2() | Creates a PlayerSaveFileData2 with default values. |
Fields
| Member | What it is |
|---|---|
Vector3 home | Saved home position. |
Vector3 position | Saved player position. |
Methods
| Member | What it is |
|---|---|
override SaveData Migrate() | Converts to the current PlayerSaveFileData. A home inside one of four old 96 by 96 areas moves to the original spawn point, and a position there moves to home. |