PixelCrushers.DialogueSystem.Wrappers.StandardUIQuestLogWindow 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.Wrappers.StandardUIQuestLogWindow:
Collaboration diagram for PixelCrushers.DialogueSystem.Wrappers.StandardUIQuestLogWindow:

Additional Inherited Members

- Public Types inherited from PixelCrushers.DialogueSystem.QuestLogWindow
enum  QuestHeadingSource { Name , Description }
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.StandardUIQuestLogWindow
override void Awake ()
 
override void OpenWindow (System.Action openedWindowHandler)
 Open the window by showing the main panel.
 
override void CloseWindow (System.Action closedWindowHandler)
 Close the window by hiding the main panel.
 
virtual void Toggle ()
 
virtual bool IsGroupExpanded (string groupName)
 True if the group is expanded in the UI.
 
virtual void ToggleGroup (string groupName)
 Toggles whether a group is expanded or not.
 
virtual void Repaint ()
 
override void OnQuestListUpdated ()
 Called when the quest list has been updated – for example, when switching between active and completed quests.
 
virtual void SelectQuest (string questTitle)
 
virtual void OnToggleTracking (bool value, object data)
 Toggles quest tracking.
 
override void ConfirmAbandonQuest (string title, System.Action confirmAbandonQuestHandler)
 Opens the abandon confirmation popup.
 
virtual void AbandonQuestConfirmed ()
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.QuestLogWindow
virtual void OpenWindow (Action openedWindowHandler)
 Opens the window.
 
virtual void CloseWindow (Action closedWindowHandler)
 Closes the window.
 
virtual void ConfirmAbandonQuest (string title, Action confirmedAbandonQuestHandler)
 Asks the player to confirm abandonment of a quest.
 
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.StandardUIQuestLogWindow
UIPanel mainPanel
 
UITextField showingActiveQuestsHeading
 
UITextField showingCompletedQuestHeading
 
UnityEngine.UI.Button activeQuestsButton
 
UnityEngine.UI.Button completedQuestsButton
 
RectTransform questSelectionContentContainer
 
StandardUIFoldoutTemplate questGroupTemplate
 
StandardUIQuestTitleButtonTemplate activeQuestHeadingTemplate
 
StandardUIQuestTitleButtonTemplate selectedActiveQuestHeadingTemplate
 
StandardUIQuestTitleButtonTemplate completedQuestHeadingTemplate
 
StandardUIQuestTitleButtonTemplate selectedCompletedQuestHeadingTemplate
 
bool showNoQuestsText = true
 
bool selectFirstQuestOnOpen = false
 
bool showDetailsOnSelect = false
 
bool keepGroupsExpanded = false
 
RectTransform questDetailsContentContainer
 
StandardUITextTemplate questHeadingTextTemplate
 
StandardUITextTemplate questDescriptionTextTemplate
 
StandardUITextTemplate questEntryActiveTextTemplate
 
StandardUITextTemplate questEntrySuccessTextTemplate
 
StandardUITextTemplate questEntryFailureTextTemplate
 
StandardUIButtonTemplate abandonButtonTemplate
 
UIPanel abandonQuestPanel
 
UITextField abandonQuestTitleText
 
UnityEvent onOpen = new UnityEvent()
 
UnityEvent onClose = new UnityEvent()
 
bool addEventSystemIfNeeded = true
 
string foldoutToSelect = null
 
string questTitleToSelect = null
 
- 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.StandardUIQuestLogWindow
virtual void InitializeTemplates ()
 
void SetStateToggleButtons ()
 
virtual StandardUIQuestTitleButtonTemplate GetQuestTitleTemplate (QuestInfo quest)
 
virtual StandardUIQuestTitleButtonTemplate GetSelectedQuestTitleTemplate (QuestInfo quest)
 
IEnumerator SelectElement (UnityEngine.UI.Selectable elementToSelect)
 
virtual void AddShowDetailsOnSelect (UnityEngine.UI.Button button, string target)
 
virtual void OnClickGroup (string groupName, StandardUIFoldoutTemplate groupFoldout)
 
virtual void ShowDetailsOnSelect (string questTitle)
 
virtual void OnClickQuest (string questTitle)
 
virtual void RepaintSelectedQuest (QuestInfo quest)
 
virtual StandardUITextTemplate GetEntryTemplate (QuestState state)
 
override void ShowQuests (QuestState questStateMask)
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.QuestLogWindow
virtual void Start ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
void RegisterForUpdateTrackerEvents ()
 
void UnregisterFromUpdateTrackerEvents ()
 
virtual void OnOpenedWindow ()
 
virtual void OnClosedWindow ()
 
virtual void PauseGameplay ()
 
virtual void ResumeGameplay ()
 
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.StandardUIQuestLogWindow
List< string > expandedGroupNames = new List<string>()
 
System.Action confirmAbandonQuestHandler = null
 
string mostRecentSelectedActiveQuest = null
 
string mostRecentSelectedCompletedQuest = null
 
- 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.StandardUIQuestLogWindow
StandardUIInstancedContentManager selectionPanelContentManager [get, set]
 
StandardUIInstancedContentManager detailsPanelContentManager [get, set]
 
UnityEngine.EventSystems.EventSystem eventSystem [get, set]
 
- 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.
 
- Properties inherited from PixelCrushers.IEventSystemUser

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: