Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.QuestEditorReturnWizard Class Reference

Wizard that adds a return to quest giver node. More...

Inheritance diagram for PixelCrushers.QuestMachine.QuestEditorReturnWizard:
Collaboration diagram for PixelCrushers.QuestMachine.QuestEditorReturnWizard:

Public Member Functions

 QuestEditorReturnWizard (int clickedIndex)
 
override bool Draw ()
 
- Public Member Functions inherited from PixelCrushers.QuestMachine.QuestEditorWizard
 QuestEditorWizard (int clickedIndex)
 
bool Draw ()
 Draws the wizard.
 

Protected Member Functions

virtual void AddReturnNode ()
 
- Protected Member Functions inherited from PixelCrushers.QuestMachine.QuestEditorWizard
QuestNode GetParentNode (Quest quest)
 
QuestNode GetLastNodeBeforeSuccess (Quest quest)
 
void AddSuccessNode (Quest quest, QuestNode node)
 
QuestContent CreateBodyContent (string text)
 
void AddAndSaveSubasset (QuestSubasset subasset)
 

Protected Attributes

string hudText = "Return to {QUESTGIVER}"
 
string journalText = "Return to {QUESTGIVER}."
 
string dialogueText = "Thanks for completing the quest."
 
bool leadsToSuccess = true
 
GUIContent hudTextGUIContent = new GUIContent("HUD Text", "Show these instructions in the HUD when this condition node is active. The tag {QUESTGIVER} will be replaced by the quest giver's name.")
 
GUIContent journalTextGUIContent = new GUIContent("Journal Text", "Show these instructions in the journal when this condition node is active. The tag {QUESTGIVER} will be replaced by the quest giver's name.")
 
GUIContent dialogueTextGUIContent = new GUIContent("Dialogue Text", "Show this dialogue text when the player returns to the quest giver.")
 
GUIContent leadsToSuccessGUIContent = new GUIContent("Leads to Success", "Add a success node immediately after this node.")
 

Static Protected Attributes

const string helpText = "This wizard adds a 'return to quest giver' condition node. The fields have been set to example values. Change them and click Add."
 

Additional Inherited Members

- Properties inherited from PixelCrushers.QuestMachine.QuestEditorWizard
int clickedIndex [get, set]
 

Detailed Description

Wizard that adds a return to quest giver node.

Constructor & Destructor Documentation

◆ QuestEditorReturnWizard()

PixelCrushers.QuestMachine.QuestEditorReturnWizard.QuestEditorReturnWizard ( int  clickedIndex)
inline

Member Function Documentation

◆ AddReturnNode()

virtual void PixelCrushers.QuestMachine.QuestEditorReturnWizard.AddReturnNode ( )
inlineprotectedvirtual

◆ Draw()

override bool PixelCrushers.QuestMachine.QuestEditorReturnWizard.Draw ( )
inline

Member Data Documentation

◆ dialogueText

string PixelCrushers.QuestMachine.QuestEditorReturnWizard.dialogueText = "Thanks for completing the quest."
protected

◆ dialogueTextGUIContent

GUIContent PixelCrushers.QuestMachine.QuestEditorReturnWizard.dialogueTextGUIContent = new GUIContent("Dialogue Text", "Show this dialogue text when the player returns to the quest giver.")
protected

◆ helpText

const string PixelCrushers.QuestMachine.QuestEditorReturnWizard.helpText = "This wizard adds a 'return to quest giver' condition node. The fields have been set to example values. Change them and click Add."
staticprotected

◆ hudText

string PixelCrushers.QuestMachine.QuestEditorReturnWizard.hudText = "Return to {QUESTGIVER}"
protected

◆ hudTextGUIContent

GUIContent PixelCrushers.QuestMachine.QuestEditorReturnWizard.hudTextGUIContent = new GUIContent("HUD Text", "Show these instructions in the HUD when this condition node is active. The tag {QUESTGIVER} will be replaced by the quest giver's name.")
protected

◆ journalText

string PixelCrushers.QuestMachine.QuestEditorReturnWizard.journalText = "Return to {QUESTGIVER}."
protected

◆ journalTextGUIContent

GUIContent PixelCrushers.QuestMachine.QuestEditorReturnWizard.journalTextGUIContent = new GUIContent("Journal Text", "Show these instructions in the journal when this condition node is active. The tag {QUESTGIVER} will be replaced by the quest giver's name.")
protected

◆ leadsToSuccess

bool PixelCrushers.QuestMachine.QuestEditorReturnWizard.leadsToSuccess = true
protected

◆ leadsToSuccessGUIContent

GUIContent PixelCrushers.QuestMachine.QuestEditorReturnWizard.leadsToSuccessGUIContent = new GUIContent("Leads to Success", "Add a success node immediately after this node.")
protected

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