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

Detailed Description

utility class used in persistence to hold the current data for one persistence area
performs de/serialization when data is retrieved or stored and keeps track of whether it has been changed

Public Member Functions

virtual bool ContainsKey (string key)
 
virtual T Get< T > (string key, T defaultValue)
 
virtual bool Set< T > (string key, T value)
 
virtual void Clear ()
 
virtual void Clear (string key)
 
virtual void OnSaved ()
 

Properties

Dictionary< string, string > Data [get, set]
 
bool HasChanged [get, set]