PixelCrushers.DialogueSystem.LuaWizardBase Class Reference

This part of the Dialogue Editor window contains common code for the Conditions and Script wizards. More...

Inheritance diagram for PixelCrushers.DialogueSystem.LuaWizardBase:
Collaboration diagram for PixelCrushers.DialogueSystem.LuaWizardBase:

Public Types

enum  WizardResourceType {
  WizardResourceType.Quest, WizardResourceType.QuestEntry, WizardResourceType.Variable, WizardResourceType.Actor,
  WizardResourceType.Item, WizardResourceType.Location, WizardResourceType.SimStatus, WizardResourceType.Custom
}
 
enum  EqualityType { EqualityType.Is, EqualityType.IsNot }
 
enum  ComparisonType {
  ComparisonType.Is, ComparisonType.IsNot, ComparisonType.Less, ComparisonType.Greater,
  ComparisonType.LessEqual, ComparisonType.GreaterEqual, ComparisonType.Between
}
 
enum  LogicalOperatorType { LogicalOperatorType.All, LogicalOperatorType.Any }
 
enum  BooleanType { BooleanType.True, BooleanType.False }
 
enum  SimStatusType { SimStatusType.Untouched, SimStatusType.WasOffered, SimStatusType.WasDisplayed }
 

Public Member Functions

 LuaWizardBase (DialogueDatabase database)
 
void RefreshWizardResources ()
 
void RefreshQuestNames ()
 
void RefreshVariableNames ()
 
void RefreshActorNames ()
 
void RefreshItemNames ()
 
void RefreshLocationNames ()
 
string[] GetQuestEntryNames (string questName)
 
string GetWizardQuestName (string[] questNames, int index)
 
string GetLogicalOperatorText (LogicalOperatorType logicalOperator)
 
FieldType GetWizardVariableType (int variableIndex)
 
FieldType GetWizardActorFieldType (int actorFieldIndex)
 
FieldType GetWizardItemFieldType (int itemFieldIndex)
 
FieldType GetWizardLocationFieldType (int locationFieldIndex)
 
string GetWizardEqualityText (EqualityType equalityType)
 
string GetWizardComparisonText (ComparisonType comparisonType)
 

Public Attributes

DialogueDatabase database
 
string[] questNames = new string[0]
 
string[] complexQuestNames = new string[0]
 
string[] variableNames = new string[0]
 
FieldType[] variableTypes = new FieldType[0]
 
string[] actorNames = new string[0]
 
string[] actorFieldNames = new string[0]
 
FieldType[] actorFieldTypes = new FieldType[0]
 
string[] itemNames = new string[0]
 
string[] itemFieldNames = new string[0]
 
FieldType[] itemFieldTypes = new FieldType[0]
 
string[] locationNames = new string[0]
 
string[] locationFieldNames = new string[0]
 
FieldType[] locationFieldTypes = new FieldType[0]
 

Detailed Description

This part of the Dialogue Editor window contains common code for the Conditions and Script wizards.

Member Enumeration Documentation

◆ BooleanType

Enumerator
True 
False 

◆ ComparisonType

Enumerator
Is 
IsNot 
Less 
Greater 
LessEqual 
GreaterEqual 
Between 

◆ EqualityType

Enumerator
Is 
IsNot 

◆ LogicalOperatorType

◆ SimStatusType

Enumerator
Untouched 
WasOffered 
WasDisplayed 

◆ WizardResourceType

Enumerator
Quest 
QuestEntry 
Variable 
Actor 
Item 
Location 
SimStatus 
Custom 

Constructor & Destructor Documentation

◆ LuaWizardBase()

PixelCrushers.DialogueSystem.LuaWizardBase.LuaWizardBase ( DialogueDatabase  database)

Member Function Documentation

◆ GetLogicalOperatorText()

string PixelCrushers.DialogueSystem.LuaWizardBase.GetLogicalOperatorText ( LogicalOperatorType  logicalOperator)

◆ GetQuestEntryNames()

string [] PixelCrushers.DialogueSystem.LuaWizardBase.GetQuestEntryNames ( string  questName)

◆ GetWizardActorFieldType()

FieldType PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardActorFieldType ( int  actorFieldIndex)

◆ GetWizardComparisonText()

string PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardComparisonText ( ComparisonType  comparisonType)

◆ GetWizardEqualityText()

string PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardEqualityText ( EqualityType  equalityType)

◆ GetWizardItemFieldType()

FieldType PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardItemFieldType ( int  itemFieldIndex)

◆ GetWizardLocationFieldType()

FieldType PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardLocationFieldType ( int  locationFieldIndex)

◆ GetWizardQuestName()

string PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardQuestName ( string[]  questNames,
int  index 
)

◆ GetWizardVariableType()

FieldType PixelCrushers.DialogueSystem.LuaWizardBase.GetWizardVariableType ( int  variableIndex)

◆ RefreshActorNames()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshActorNames ( )

◆ RefreshItemNames()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshItemNames ( )

◆ RefreshLocationNames()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshLocationNames ( )

◆ RefreshQuestNames()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshQuestNames ( )

◆ RefreshVariableNames()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshVariableNames ( )

◆ RefreshWizardResources()

void PixelCrushers.DialogueSystem.LuaWizardBase.RefreshWizardResources ( )

Member Data Documentation

◆ actorFieldNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.actorFieldNames = new string[0]

◆ actorFieldTypes

FieldType [] PixelCrushers.DialogueSystem.LuaWizardBase.actorFieldTypes = new FieldType[0]

◆ actorNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.actorNames = new string[0]

◆ complexQuestNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.complexQuestNames = new string[0]

◆ database

DialogueDatabase PixelCrushers.DialogueSystem.LuaWizardBase.database

◆ itemFieldNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.itemFieldNames = new string[0]

◆ itemFieldTypes

FieldType [] PixelCrushers.DialogueSystem.LuaWizardBase.itemFieldTypes = new FieldType[0]

◆ itemNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.itemNames = new string[0]

◆ locationFieldNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.locationFieldNames = new string[0]

◆ locationFieldTypes

FieldType [] PixelCrushers.DialogueSystem.LuaWizardBase.locationFieldTypes = new FieldType[0]

◆ locationNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.locationNames = new string[0]

◆ questNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.questNames = new string[0]

◆ variableNames

string [] PixelCrushers.DialogueSystem.LuaWizardBase.variableNames = new string[0]

◆ variableTypes

FieldType [] PixelCrushers.DialogueSystem.LuaWizardBase.variableTypes = new FieldType[0]

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