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

Detailed Description

persists the state of randomness
therefore the results are consistent between play sessions
for example loot will be the same if the game is saved and loaded

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

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

Additional Inherited Members

- Public Member Functions inherited from AdventureCore.ManualPersister
override bool Check (string subKey=null)
 
override T Get< T > (string subKey=null, T defaultValue=default)
 
override void Set< T > (T value, string subKey=null)
 
override void Clear (string subKey=null)
 
void SetBool (bool value)
 
void SetInt (int value)
 
void SetFloat (float value)
 
- Public Member Functions inherited from AdventureCore.PersisterBase
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)
 
- Public Attributes inherited from AdventureCore.ManualPersister
PersistenceArea Area
 
string Key
 
PersistenceContainer CustomContainer
 
- Properties inherited from AdventureCore.ManualPersister
override PersistenceArea PersistenceArea [get, set]
 
override string PersistenceKey [get, set]
 
virtual PersistenceContainer Container [get]
 
- Properties inherited from AdventureCore.PersisterBase
string PersistenceKey [get, set]
 
PersistenceArea PersistenceArea [get, set]
 
- Properties inherited from AdventureCore.IPersister