PixelCrushers.DialogueSystem.UnityGUI.Wrappers.UnityGUIQuestLogWindow Class Reference

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...

Inheritance diagram for PixelCrushers.DialogueSystem.UnityGUI.Wrappers.UnityGUIQuestLogWindow:
Collaboration diagram for PixelCrushers.DialogueSystem.UnityGUI.Wrappers.UnityGUIQuestLogWindow:

Additional Inherited Members

- Public Types inherited from PixelCrushers.DialogueSystem.QuestLogWindow
enum  QuestHeadingSource { Name , Description }
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.UnityGUIQuestLogWindow
override void Awake ()
 Attempts to find the GUI root and scroll view if they weren't set.
 
override void OpenWindow (Action openedWindowHandler)
 Opens the window.
 
override void CloseWindow (Action closedWindowHandler)
 Closes the window.
 
override void ConfirmAbandonQuest (string title, Action confirmAbandonQuestHandler)
 Asks the player to confirm abandonment of a quest.
 
void ClickConfirmAbandonQuest (object data)
 
void ClickCancelAbandonQuest (object data)
 
void OnMeasureContent ()
 The event handler that measures the size of the content that will go into the scroll view.
 
void OnDrawContent ()
 The event handler that draws the content of the scroll view.
 
override void OnQuestListUpdated ()
 Called when the quest list has been updated – for example, when switching between active and completed quests.
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.QuestLogWindow
virtual void Open ()
 Opens the quest window.
 
virtual void Close ()
 Closes the quest log window.
 
virtual bool IsQuestVisible (string questTitle)
 
virtual string GetLocalizedText (string fieldName)
 Gets the localized text for a field name.
 
virtual bool IsSelectedQuest (QuestInfo questInfo)
 Determines whether the specified questInfo is for the currently-selected quest.
 
void ClickClose (object data)
 Your GUI close button should call this.
 
virtual void ClickShowActiveQuests (object data)
 Your GUI "show active quests" button should call this.
 
virtual void ClickShowCompletedQuests (object data)
 Your GUI "show completed quests" button should call this.
 
virtual void ClickQuest (object data)
 Your GUI should call this when the player clicks on a quest to expand or close it.
 
virtual void ClickAbandonQuest (object data)
 Your GUI should call this when the player clicks to abandon a quest.
 
virtual void ClickTrackQuest (object data)
 Your GUI should call this when the player clicks to toggle quest tracking.
 
virtual void ClickShowActiveQuestsButton ()
 
void ClickShowCompletedQuestsButton ()
 
void ClickCloseButton ()
 
void ClickAbandonQuestButton ()
 
void ClickTrackQuestButton ()
 
void UpdateTracker ()
 
- Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.UnityGUIQuestLogWindow
GUIRoot guiRoot
 The GUI root.
 
GUIScrollView scrollView
 The scroll view where quest titles and descriptions will be shown.
 
GUIButton activeButton
 The button to show active quests.
 
GUIButton completedButton
 The button to show completed quests.
 
AbandonControls abandonQuestPopup = new AbandonControls()
 
string groupHeadingGuiStyleName
 The name of the GUI style to use for quest group titles.
 
string questHeadingGuiStyleName
 The name of the GUI style to use for quest titles.
 
string questHeadingOpenGuiStyleName
 The name of the GUI style to use for quest titles when the quest is open.
 
string questBodyGuiStyleName
 The name of the GUI style to use for quest descriptions.
 
string questEntryActiveGuiStyleName
 The name of the GUI style to use for active quest entries.
 
string questEntrySuccessGuiStyleName
 The name of the GUI style to use when displaying successfully-completed entries.
 
string questEntryFailureGuiStyleName
 The name of the GUI style to use when displaying failed entries.
 
string questEntryButtonStyleName
 The name of the GUI style to use for Track and Abandon buttons.
 
string noQuestsGuiStyleName
 The name of the GUI style to use for the "No Active Quests" and "No Completed Quests" messages.
 
int padding = 2
 
- Public Attributes inherited from PixelCrushers.DialogueSystem.QuestLogWindow
TextTable textTable = null
 
string noActiveQuestsText = "No Active Quests"
 
string noCompletedQuestsText = "No Completed Quests"
 
bool checkVisibleField = false
 
QuestHeadingSource questHeadingSource = QuestHeadingSource.Name
 The quest title source.
 
QuestState abandonQuestState = QuestState.Unassigned
 The state to assign abandoned quests.
 
bool pauseWhileOpen = true
 If true, the window sets Time.timeScale = 0 to pause the game while displaying the quest log window.
 
bool unlockCursorWhileOpen = true
 If true, the cursor is unlocked while the quest log window is open.
 
bool useGroups = false
 If true, organize the quests by group.
 
string newQuestText = string.Empty
 
bool trackOneQuestAtATime = false
 
bool deselectQuestOnSecondClick = true
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.UnityGUIQuestLogWindow
override void Start ()
 Start this instance by hiding the GUI root.
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.QuestLogWindow
virtual void OnEnable ()
 
virtual void OnDisable ()
 
void RegisterForUpdateTrackerEvents ()
 
void UnregisterFromUpdateTrackerEvents ()
 
virtual void OnOpenedWindow ()
 
virtual void OnClosedWindow ()
 
virtual void PauseGameplay ()
 
virtual void ResumeGameplay ()
 
virtual void ShowQuests (QuestState questStateMask)
 
virtual QuestInfo GetQuestInfo (string group, string title)
 
virtual string GetNoQuestsMessage (QuestState questStateMask)
 Gets the "no quests" message for a quest state (active or success|failure).
 
virtual void OnConfirmAbandonQuest ()
 Your GUI should call this when the player confirms abandonment of a quest.
 
IEnumerator UpdateQuestDisplayAtEndOfFrame ()
 
- Protected Attributes inherited from PixelCrushers.DialogueSystem.QuestLogWindow
QuestState currentQuestStateMask = ActiveQuestStateMask
 The current quest state mask.
 
float previousTimeScale = 1
 The previous time scale prior to opening the window.
 
Coroutine refreshCoroutine = null
 
bool started = false
 
- Static Protected Attributes inherited from PixelCrushers.DialogueSystem.QuestLogWindow
const QuestState ActiveQuestStateMask = QuestState.Active | QuestState.ReturnToNPC
 
- Properties inherited from PixelCrushers.DialogueSystem.QuestLogWindow
bool isOpen [get, protected set]
 Indicates whether the quest log window is currently open.
 
QuestInfo[] quests [get, protected set]
 The current list of quests.
 
string[] groups [get, protected set]
 The current list of quest groups.
 
string selectedQuest [get, protected set]
 The title of the currently-selected quest.
 
string noQuestsMessage [get, protected set]
 The message to show if Quests[] is empty.
 
virtual bool isShowingActiveQuests [get]
 Indicates whether the window is showing active quests or completed quests.
 

Detailed Description

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.


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