PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs Class Reference

This is the base prefs (converter window settings) class. More...

Static Public Member Functions

static T Load< T > (string key)
 
static void Save< T > (string key, T prefs)
 

Public Attributes

string sourceFilename = string.Empty
 The source filename.
 
string outputFolder = "Assets"
 The output folder in which to create the dialogue database.
 
string databaseFilename = "Dialogue Database"
 The name of the dialogue database.
 
bool overwrite = false
 If true, the converter may overwrite the dialogue database if it already exists.
 
bool merge = false
 If true and overwriting, merge assets into the existing database instead of replacing it.
 
EncodingType encodingType = EncodingType.Default
 The encoding type to use when reading the source file.
 

Static Public Attributes

const string UndefinedPrefsKey = "UndefinedConverterKey"
 

Static Protected Member Functions

static void WarnIfKeyUndefined (string key)
 

Detailed Description

This is the base prefs (converter window settings) class.

The converter window uses an instance of this class, or a subclass if you need additional info, to store the user's current settings.

Member Function Documentation

◆ Load< T >()

static T PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.Load< T > ( string  key)
inlinestatic
Type Constraints
T :AbstractConverterWindowPrefs 
T :new() 

◆ Save< T >()

static void PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.Save< T > ( string  key,
prefs 
)
inlinestatic
Type Constraints
T :AbstractConverterWindowPrefs 

◆ WarnIfKeyUndefined()

static void PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.WarnIfKeyUndefined ( string  key)
inlinestaticprotected

Member Data Documentation

◆ databaseFilename

string PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.databaseFilename = "Dialogue Database"

The name of the dialogue database.

◆ encodingType

EncodingType PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.encodingType = EncodingType.Default

The encoding type to use when reading the source file.

◆ merge

bool PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.merge = false

If true and overwriting, merge assets into the existing database instead of replacing it.

◆ outputFolder

string PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.outputFolder = "Assets"

The output folder in which to create the dialogue database.

◆ overwrite

bool PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.overwrite = false

If true, the converter may overwrite the dialogue database if it already exists.

◆ sourceFilename

string PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.sourceFilename = string.Empty

The source filename.

This file gets converted into a dialogue database.

◆ UndefinedPrefsKey

const string PixelCrushers.DialogueSystem.AbstractConverterWindowPrefs.UndefinedPrefsKey = "UndefinedConverterKey"
static

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