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

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

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

Public Member Functions

 DictionaryStringString ()
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

 DictionaryStringString (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 object data, the key is a string (the object name), the value is a string (the object data)

Constructor & Destructor Documentation

◆ DictionaryStringString() [1/2]

MoreMountains.Tools.DictionaryStringString.DictionaryStringString ( )

◆ DictionaryStringString() [2/2]

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

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