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) |
Creates a new actor with the fields defined in the template. | |
Item | CreateItem (int id, string name) |
Creates a new item with the fields defined in the template. | |
Item | CreateQuest (int id, string name) |
Creates a new quest with the fields defined in the template. | |
Location | CreateLocation (int id, string name) |
Creates a new location with the fields defined in the template. | |
Variable | CreateVariable (int id, string name, string value) |
Creates a new variable (Text type) with the fields defined in the template. | |
Variable | CreateVariable (int id, string name, string value, FieldType type) |
Creates a new variable with the fields defined in the template. | |
Conversation | CreateConversation (int id, string title) |
Creates a new conversation with the fields defined in the template. | |
DialogueEntry | CreateDialogueEntry (int id, int conversationID, string title) |
Creates a new dialogue entry with the fields defined in the template. | |
List< Field > | CreateFields (List< Field > templateFields) |
int | GetNextActorID (DialogueDatabase database) |
| |
int | GetNextItemID (DialogueDatabase database) |
| |
int | GetNextQuestID (DialogueDatabase database) |
| |
int | GetNextLocationID (DialogueDatabase database) |
| |
int | GetNextVariableID (DialogueDatabase database) |
| |
int | GetNextConversationID (DialogueDatabase database) |
| |
int | GetNextDialogueEntryID (Conversation conversation) |
| |
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.
|
inline |
Creates a new actor with the fields defined in the template.
|
inline |
Creates a new conversation with the fields defined in the template.
|
inline |
Creates a new dialogue entry with the fields defined in the template.
|
inline |
|
inline |
Creates a new item with the fields defined in the template.
|
inline |
Creates a new location with the fields defined in the template.
|
inline |
Creates a new quest with the fields defined in the template.
|
inline |
Creates a new variable (Text type) with the fields defined in the template.
|
inline |
Creates a new variable with the fields defined in the template.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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>() |