Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.DictionaryStringSceneData Class Reference

A serializable class used to store scene data, the key is a string (the scene name), the value is a MMPersistencySceneData. More...

Inherits MoreMountains.Tools.MMSerializableDictionary< TKey, TValue >.

Public Member Functions

 DictionaryStringSceneData ()
Public Member Functions inherited from MoreMountains.Tools.MMSerializableDictionary< TKey, TValue >
 MMSerializableDictionary ()
 MMSerializableDictionary (SerializationInfo info, StreamingContext context)
void OnBeforeSerialize ()
 We save the dictionary to our two lists.
void OnAfterDeserialize ()
 Loads our two lists to our dictionary.

Protected Member Functions

 DictionaryStringSceneData (SerializationInfo info, StreamingContext context)

Additional Inherited Members

Protected Attributes inherited from MoreMountains.Tools.MMSerializableDictionary< TKey, TValue >
List< TKey > _keys = new List<TKey>()
List< TValue > _values = new List<TValue>()

Detailed Description

A serializable class used to store scene data, the key is a string (the scene name), the value is a MMPersistencySceneData.

Constructor & Destructor Documentation

◆ DictionaryStringSceneData() [1/2]

MoreMountains.Tools.DictionaryStringSceneData.DictionaryStringSceneData ( )

◆ DictionaryStringSceneData() [2/2]

MoreMountains.Tools.DictionaryStringSceneData.DictionaryStringSceneData ( SerializationInfo info,
StreamingContext context )
protected

The documentation for this class was generated from the following file: