Loading...
Searching...
No Matches
AdventureCore.PersisterBase Class Referenceabstract

Detailed Description

base class for behaviours that are mainly used to persist some kind of state
any other class can easily just use the persistence container without using a persister
a persister is just a way of seperating persistence logic from other behaviour

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

Inheritance diagram for AdventureCore.PersisterBase:
AdventureCore.IPersister AdventureCore.ManualPersister AdventureCore.DestructionPersister AdventureCore.PlaytimePersister AdventureCore.RandomStatePersister

Public Member Functions

bool Check (string subKey=null)
 
Get< T > (string subKey=null, T defaultValue=default)
 
void Set< T > (T value, string subKey=null)
 
void Clear (string subKey=null)
 

Properties

string PersistenceKey [get, set]
 
PersistenceArea PersistenceArea [get, set]
 
- Properties inherited from AdventureCore.IPersister

Property Documentation

◆ PersistenceArea

PersistenceArea AdventureCore.PersisterBase.PersistenceArea
getsetabstract

◆ PersistenceKey

string AdventureCore.PersisterBase.PersistenceKey
getsetabstract