|
| Variable () |
| Initializes a new Variable.
|
|
| Variable (Variable sourceVariable) |
| Copy constructor.
|
|
| Variable (ChatMapper.UserVariable chatMapperUserVariable) |
| Initializes a new Variable copied from a Chat Mapper user variable.
|
|
void | Assign (ChatMapper.UserVariable chatMapperUserVariable) |
| Copies a Chat Mapper user variable asset.
|
|
| Asset () |
| Initializes a new DialogueAsset.
|
|
| Asset (Asset sourceAsset) |
| Copy constructor.
|
|
| Asset (int chatMapperID, List< ChatMapper.Field > chatMapperFields) |
| Initializes a new DialogueAsset copied from a Chat Mapper asset.
|
|
void | Assign (int chatMapperID, List< ChatMapper.Field > chatMapperFields) |
| Copies a Chat Mapper asset.
|
|
bool | FieldExists (string title) |
| Checks whether a field exists.
|
|
string | LookupValue (string title) |
| Looks up the value of a field.
|
|
string | LookupLocalizedValue (string title) |
| Looks up the localized value of a field for the current language.
|
|
int | LookupInt (string title) |
| Looks up the value of a field.
|
|
float | LookupFloat (string title) |
| Looks up the value of a field.
|
|
bool | LookupBool (string title) |
| Looks up the value of a field.
|
|
bool | IsFieldAssigned (string title) |
| Checks whether a field exists and has non-empty text.
|
|
Field | AssignedField (string title) |
| Returns a field if it exists and has non-empty text.
|
|
|
string | InitialValue [get, set] |
| Gets or sets the initial string value of a dialogue variable.
|
|
float | InitialFloatValue [get, set] |
| Gets or sets the initial float value of a dialogue variable.
|
|
bool | InitialBoolValue [get, set] |
| Gets or sets the initial bool value of a dialogue variable.
|
|
FieldType | Type [get, set] |
| Gets the data type of the variable based on the data type of its initial value.
|
|
string | Name [get, set] |
| Gets or sets the Name field.
|
|
string | localizedName [get] |
| Gets the localized Name field.
|
|
string | Description [get, set] |
| Gets or sets the Description field, which is optional and may not exist.
|
|
A user variable asset.
Chat Mapper allows you to define your own user variables that you reference in dialogue entry conditions and user scripts. This class represents those user variables in the dialogue system. As with Chat Mapper projects, a dialogue database contains a table of user variables (named "Variable[]") that you can access in Lua.