Skip to content

SaveDataItem_ClassAPI

CG-Tespy edited this page May 4, 2020 · 2 revisions

Like Fungus' built-in SaveDataItem class, but slightly-modified to better fit the design of this slot-based save system.

Inherits from: SaveData
Namespace: CGTUnity.Fungus.SaveSystem

Public Properties

virtual string DataType

  • Readable: yes
  • Writable: no
  • Name of the data type of what this encapsulates. Makes it easier for SaveLoaders to know how to deal with instances of these.
virtual string Data
  • Readable: yes
  • Writable: no
  • Usually-jsonified SaveData that this encapsulates.
static SaveDataItem CreateFrom(string dataType, string data)
  • Factory method to create new instances of these.

Clone this wiki locally