PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs Class Reference

Holds the DS To I2 window's current prefs, which are saved into EditorPrefs between editor sessions. More...

Collaboration diagram for PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs:

Public Types

enum  Category {
  Category.Actors, Category.Items, Category.Locations, Category.Variables,
  Category.Conversations, Category.DialogueEntries, Category.LocalizedTextTable
}
 
enum  Verbose { Verbose.None, Verbose.Warnings, Verbose.Detailed }
 

Public Member Functions

 DSToI2Prefs ()
 
void PopulateAllDatabaseFields ()
 
void PopulateTextTableFields ()
 
FoldoutInfo GetCategoryFoldout (Category category)
 
FieldSelectionDictionary GetFieldSelections (Category category)
 

Public Attributes

int databaseInstanceID = 0
 
int localizedTextTableInstanceID = 0
 
FoldoutInfo[] categoryFoldouts = new FoldoutInfo[NumTotalCategories]
 
I2LanguageIdentifierType languageIdentifier = I2LanguageIdentifierType.LanguageCode
 
Verbose verbose = Verbose.None
 
bool showHelp = false
 

Static Public Attributes

const int NumDatabaseCategories = 6
 
const int NumTotalCategories = 7
 

Properties

DialogueDatabasedatabase [get, set]
 
LocalizedTextTablelocalizedTextTable [get, set]
 

Detailed Description

Holds the DS To I2 window's current prefs, which are saved into EditorPrefs between editor sessions.

Member Enumeration Documentation

◆ Category

Enumerator
Actors 
Items 
Locations 
Variables 
Conversations 
DialogueEntries 
LocalizedTextTable 

◆ Verbose

Enumerator
None 
Warnings 
Detailed 

Constructor & Destructor Documentation

◆ DSToI2Prefs()

PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.DSToI2Prefs ( )

Member Function Documentation

◆ GetCategoryFoldout()

FoldoutInfo PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.GetCategoryFoldout ( Category  category)

◆ GetFieldSelections()

FieldSelectionDictionary PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.GetFieldSelections ( Category  category)

◆ PopulateAllDatabaseFields()

void PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.PopulateAllDatabaseFields ( )

◆ PopulateTextTableFields()

void PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.PopulateTextTableFields ( )

Member Data Documentation

◆ categoryFoldouts

FoldoutInfo [] PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.categoryFoldouts = new FoldoutInfo[NumTotalCategories]

◆ databaseInstanceID

int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.databaseInstanceID = 0

◆ languageIdentifier

I2LanguageIdentifierType PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.languageIdentifier = I2LanguageIdentifierType.LanguageCode

◆ localizedTextTableInstanceID

int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.localizedTextTableInstanceID = 0

◆ NumDatabaseCategories

const int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.NumDatabaseCategories = 6
static

◆ NumTotalCategories

const int PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.NumTotalCategories = 7
static

◆ showHelp

bool PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.showHelp = false

◆ verbose

Verbose PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.verbose = Verbose.None

Property Documentation

◆ database

DialogueDatabase? PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.database
getset

◆ localizedTextTable

LocalizedTextTable? PixelCrushers.DialogueSystem.I2Support.DSToI2Prefs.localizedTextTable
getset

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