This class defines the template that the Dialogue Database Editor will use when creating new dialogue database assets such as actors and conversations. More...
Public Member Functions | |
Actor | CreateActor (int id, string name, bool isPlayer) |
Item | CreateItem (int id, string name) |
Location | CreateLocation (int id, string name) |
Variable | CreateVariable (int id, string name, string value) |
Variable | CreateVariable (int id, string name, string value, FieldType type) |
Conversation | CreateConversation (int id, string title) |
DialogueEntry | CreateDialogueEntry (int id, int conversationID, string title) |
List< Field > | CreateFields (List< Field > templateFields) |
Static Public Member Functions | |
static Template | FromDefault () |
Public Attributes | |
bool | treatItemsAsQuests = true |
List< Field > | actorFields = new List<Field>() |
List< Field > | itemFields = new List<Field>() |
List< Field > | questFields = new List<Field>() |
List< Field > | locationFields = new List<Field>() |
List< Field > | variableFields = new List<Field>() |
List< Field > | conversationFields = new List<Field>() |
List< Field > | dialogueEntryFields = new List<Field>() |
List< string > | actorPrimaryFieldTitles = new List<string>() |
List< string > | itemPrimaryFieldTitles = new List<string>() |
List< string > | questPrimaryFieldTitles = new List<string>() |
List< string > | locationPrimaryFieldTitles = new List<string>() |
List< string > | variablePrimaryFieldTitles = new List<string>() |
List< string > | conversationPrimaryFieldTitles = new List<string>() |
List< string > | dialogueEntryPrimaryFieldTitles = new List<string>() |
Color | npcLineColor = Color.red |
Color | pcLineColor = Color.blue |
Color | repeatLineColor = Color.gray |
This class defines the template that the Dialogue Database Editor will use when creating new dialogue database assets such as actors and conversations.
The Dialogue Database Editor stores a copy of the template in EditorPrefs using the TemplateTools class. The equivalent in Chat Mapper is Project Preferences.
Actor PixelCrushers.DialogueSystem.Template.CreateActor | ( | int | id, |
string | name, | ||
bool | isPlayer | ||
) |
Conversation PixelCrushers.DialogueSystem.Template.CreateConversation | ( | int | id, |
string | title | ||
) |
DialogueEntry PixelCrushers.DialogueSystem.Template.CreateDialogueEntry | ( | int | id, |
int | conversationID, | ||
string | title | ||
) |
Item PixelCrushers.DialogueSystem.Template.CreateItem | ( | int | id, |
string | name | ||
) |
Location PixelCrushers.DialogueSystem.Template.CreateLocation | ( | int | id, |
string | name | ||
) |
Variable PixelCrushers.DialogueSystem.Template.CreateVariable | ( | int | id, |
string | name, | ||
string | value | ||
) |
Variable PixelCrushers.DialogueSystem.Template.CreateVariable | ( | int | id, |
string | name, | ||
string | value, | ||
FieldType | type | ||
) |
|
static |
List<string> PixelCrushers.DialogueSystem.Template.actorPrimaryFieldTitles = new List<string>() |
List<string> PixelCrushers.DialogueSystem.Template.conversationPrimaryFieldTitles = new List<string>() |
List<string> PixelCrushers.DialogueSystem.Template.dialogueEntryPrimaryFieldTitles = new List<string>() |
List<string> PixelCrushers.DialogueSystem.Template.itemPrimaryFieldTitles = new List<string>() |
List<string> PixelCrushers.DialogueSystem.Template.locationPrimaryFieldTitles = new List<string>() |
Color PixelCrushers.DialogueSystem.Template.npcLineColor = Color.red |
Color PixelCrushers.DialogueSystem.Template.pcLineColor = Color.blue |
List<string> PixelCrushers.DialogueSystem.Template.questPrimaryFieldTitles = new List<string>() |
Color PixelCrushers.DialogueSystem.Template.repeatLineColor = Color.gray |
bool PixelCrushers.DialogueSystem.Template.treatItemsAsQuests = true |
List<string> PixelCrushers.DialogueSystem.Template.variablePrimaryFieldTitles = new List<string>() |