Loading...
Searching...
No Matches
AdventureCore.PlayerPrefSaver Class Reference

Detailed Description

simple saver implementation that uses unitys player prefs
registry on windows, indexedDb in Web, ...
this should be enough for debugging, prototyping and very simple games
for larger games implementing a more permanent custom solution is advisable

https://adventure.softleitner.com/manual/persistence

Inheritance diagram for AdventureCore.PlayerPrefSaver:
AdventureCore.PersistenceSaverBase

Classes

struct  DebugSaveData
 
struct  EntryData
 
struct  SaveData
 

Public Member Functions

override void Save (string key, PersistenceData persistenceData)
 
override PersistenceData Load (string key)
 
override void Delete (string key)
 
override string Export (string key)
 
override void Import (string key, string data)
 
- Public Member Functions inherited from AdventureCore.PersistenceSaverBase
void Save (string key, PersistenceData data)
 
PersistenceData Load (string key)
 
void Delete (string key)
 

Public Attributes

bool Debug
 
DebugSaveData[] DebugData
 

Properties

bool IsDebugging [get]
 

Member Function Documentation

◆ Export()

override string AdventureCore.PlayerPrefSaver.Export ( string key)
virtual

◆ Import()

override void AdventureCore.PlayerPrefSaver.Import ( string key,
string data )
virtual