PageInstanceSaveData
A class in Root.Township, Alta.Pages.
Save data for a PageInstance: either a reference to a page from a page provider, or a list of custom glyph positions.
- Listed in Items, inventory and logic
- Inherits or implements
NewSaveData<PageInstance, PageInstanceSaveData> - Derived types
PageInstance,PageInstanceSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
PageInstanceSaveData() | Creates a PageInstanceSaveData with default values. |
Fields
| Member | What it is |
|---|---|
Glyph.Positioning[] custom | Glyph positions of a custom page, used when isPredefined is false. |
bool isDuplicate | Whether the page is marked as a duplicate. Restored to the instance's IsDuplicate on load. |
bool isPredefined | True if the page comes from a page provider, false for a custom glyph page. |
int pageProvider | Index into PageProvider.Providers of the provider that loads the page. |
uint predefinedHash | Hash of the predefined page, filled in by the page provider. |
Used in
Members of other types that take, return or hold a PageInstanceSaveData: