PixelCrushers.TextTableField Class Reference

A field in a TextTable. More...

Inheritance diagram for PixelCrushers.TextTableField:
Collaboration diagram for PixelCrushers.TextTableField:

Public Member Functions

 TextTableField ()
 
 TextTableField (string fieldName)
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 
bool HasTextForLanguage (int languageID)
 
string GetTextForLanguage (int languageID)
 
void SetTextForLanguage (int languageID, string text)
 
void RemoveLanguage (int languageID)
 

Properties

string fieldName [get, set]
 
Dictionary< int, string > texts [get, set]
 

Detailed Description

A field in a TextTable.

Constructor & Destructor Documentation

◆ TextTableField() [1/2]

PixelCrushers.TextTableField.TextTableField ( )
inline

◆ TextTableField() [2/2]

PixelCrushers.TextTableField.TextTableField ( string  fieldName)
inline

Member Function Documentation

◆ GetTextForLanguage()

string PixelCrushers.TextTableField.GetTextForLanguage ( int  languageID)
inline

◆ HasTextForLanguage()

bool PixelCrushers.TextTableField.HasTextForLanguage ( int  languageID)
inline

◆ OnAfterDeserialize()

void PixelCrushers.TextTableField.OnAfterDeserialize ( )
inline

◆ OnBeforeSerialize()

void PixelCrushers.TextTableField.OnBeforeSerialize ( )
inline

◆ RemoveLanguage()

void PixelCrushers.TextTableField.RemoveLanguage ( int  languageID)
inline

◆ SetTextForLanguage()

void PixelCrushers.TextTableField.SetTextForLanguage ( int  languageID,
string  text 
)
inline

Property Documentation

◆ fieldName

string PixelCrushers.TextTableField.fieldName
getset

◆ texts

Dictionary<int, string> PixelCrushers.TextTableField.texts
getset

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