Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.TagDictionary Class Reference

Maintains a dictionary of tags and their values. More...

Inheritance diagram for PixelCrushers.QuestMachine.TagDictionary:
Collaboration diagram for PixelCrushers.QuestMachine.TagDictionary:

Public Member Functions

 TagDictionary ()
 
 TagDictionary (TagDictionary source)
 
bool ContainsTag (string tag)
 True if the dictionary contains the specified tag, false otherwise.
 
string GetTagValue (string tag, string defaultValue)
 Looks up the value of a tag.
 
void SetTag (string tag, string value)
 Records a static tag and its value in the dictionary.
 
void CopyInto (TagDictionary other)
 
void SetTag (string tag, StringField value)
 Records a static tag and its value in the dictionary.
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 

Properties

Dictionary< string, string > dict [get, set]
 

Detailed Description

Maintains a dictionary of tags and their values.

Constructor & Destructor Documentation

◆ TagDictionary() [1/2]

PixelCrushers.QuestMachine.TagDictionary.TagDictionary ( )
inline

◆ TagDictionary() [2/2]

PixelCrushers.QuestMachine.TagDictionary.TagDictionary ( TagDictionary  source)
inline

Member Function Documentation

◆ ContainsTag()

bool PixelCrushers.QuestMachine.TagDictionary.ContainsTag ( string  tag)
inline

True if the dictionary contains the specified tag, false otherwise.

◆ CopyInto()

void PixelCrushers.QuestMachine.TagDictionary.CopyInto ( TagDictionary  other)
inline

◆ GetTagValue()

string PixelCrushers.QuestMachine.TagDictionary.GetTagValue ( string  tag,
string  defaultValue 
)
inline

Looks up the value of a tag.

◆ OnAfterDeserialize()

void PixelCrushers.QuestMachine.TagDictionary.OnAfterDeserialize ( )
inline

◆ OnBeforeSerialize()

void PixelCrushers.QuestMachine.TagDictionary.OnBeforeSerialize ( )
inline

◆ SetTag() [1/2]

void PixelCrushers.QuestMachine.TagDictionary.SetTag ( string  tag,
string  value 
)
inline

Records a static tag and its value in the dictionary.

Parameters
tagTag.
valueValue.

◆ SetTag() [2/2]

void PixelCrushers.QuestMachine.TagDictionary.SetTag ( string  tag,
StringField  value 
)
inline

Records a static tag and its value in the dictionary.

Property Documentation

◆ dict

Dictionary<string, string> PixelCrushers.QuestMachine.TagDictionary.dict
getset

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