A class in Root.Township, Alta.Utilities.
Version 1 of the saved player position and home. Migrating moves anyone inside the old path and tower area to a respawn point.
Constructors
Fields
| Member | What it is |
|---|
Vector3 home | Saved home position. |
Vector3 position | Saved player position. |
2 private and internal fields
| Member | What it is |
|---|
private readonly Vector3 pathAndTowerBoundsCentre | Centre of the old path and tower area that migration clears. |
private readonly Vector3 pathAndTowerBoundsSize | Size of the old path and tower area that migration clears. |
Methods
| Member | What it is |
|---|
override SaveData Migrate() | Converts to the current PlayerSaveFileData. A home inside the old path and tower bounds moves to a random respawn point, and a position there moves to home. |