Holds the DS To I2 window's current prefs, which are saved into EditorPrefs between editor sessions. More...
Public Types | |
enum | Category { Actors , Items , Locations , Variables , Conversations , DialogueEntries , LocalizedTextTable , TextTable } |
enum | DialogueEntryInfo { None , Actor , Text } |
enum | AssetIdentifierType { ID , Name } |
enum | Verbose { None , Warnings , Detailed } |
Public Member Functions | |
DSToI2Prefs () | |
int | GetNumDatabases () |
int | GetNumTextTables () |
void | PopulateAllDatabaseFields () |
void | PopulateAllTextTableFields () |
void | PopulateLocalizedTextTableFields () |
FoldoutInfo | GetCategoryFoldout (Category category) |
FieldSelectionDictionary | GetFieldSelections (Category category) |
void | OnBeforeSerialize () |
void | OnAfterDeserialize () |
void | AssignDatabasesFromInstanceIDs () |
Public Attributes | |
List< int > | databaseInstanceIDs = new List<int>() |
List< int > | textTableInstanceIDs = new List<int>() |
int | localizedTextTableInstanceID = 0 |
bool | specifyI2Asset = false |
int | i2AssetInstanceID = 0 |
int | dialogueEntryMinDigits = 1 |
FoldoutInfo[] | categoryFoldouts = new FoldoutInfo[NumTotalCategories] |
bool | translationsToI2 = false |
bool | specifyLanguageToI2 = false |
string | specificLanguageToI2 = "en" |
bool | updatePrimaryFields = false |
string | updatePrimaryFieldsFromLanguage = "en" |
bool | useFieldForDialogueEntryTerms = false |
string | fieldForDialogueEntryTerms = string.Empty |
bool | includeConvInfoWithField = false |
bool | useTextTableNameForI2Term = false |
DialogueEntryInfo | dialogueEntryInfo = DialogueEntryInfo.None |
I2LanguageIdentifierType | languageIdentifier = I2LanguageIdentifierType.LanguageCode |
AssetIdentifierType | assetIdentifier = AssetIdentifierType.ID |
Verbose | verbose = Verbose.None |
bool | showHelp = false |
Static Public Attributes | |
const int | NumDatabaseCategories = 6 |
const int | NumTotalCategories = 8 |
Properties | |
bool | showWarnings [get] |
bool | showDetails [get] |
List< DialogueDatabase > | databases [get] |
List< TextTable > | textTables [get] |
LocalizedTextTable | localizedTextTable [get, set] |
LanguageSourceAsset | i2Asset [get, set] |
Holds the DS To I2 window's current prefs, which are saved into EditorPrefs between editor sessions.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
AssetIdentifierType PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.assetIdentifier = AssetIdentifierType.ID |
FoldoutInfo [] PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.categoryFoldouts = new FoldoutInfo[NumTotalCategories] |
List<int> PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.databaseInstanceIDs = new List<int>() |
DialogueEntryInfo PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.dialogueEntryInfo = DialogueEntryInfo.None |
int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.dialogueEntryMinDigits = 1 |
string PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.fieldForDialogueEntryTerms = string.Empty |
int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.i2AssetInstanceID = 0 |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.includeConvInfoWithField = false |
I2LanguageIdentifierType PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.languageIdentifier = I2LanguageIdentifierType.LanguageCode |
int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.localizedTextTableInstanceID = 0 |
|
static |
|
static |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.showHelp = false |
string PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.specificLanguageToI2 = "en" |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.specifyI2Asset = false |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.specifyLanguageToI2 = false |
List<int> PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.textTableInstanceIDs = new List<int>() |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.translationsToI2 = false |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.updatePrimaryFields = false |
string PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.updatePrimaryFieldsFromLanguage = "en" |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.useFieldForDialogueEntryTerms = false |
bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.useTextTableNameForI2Term = false |
Verbose PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.verbose = Verbose.None |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
get |