PixelCrushers.DialogueSystem.QuestStateListener Class Reference

Add this to a GameObject such as an NPC that wants to know about quest state changes to a specific quest. More...

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

Classes

class  QuestEntryStateIndicatorLevel
 
class  QuestStateIndicatorLevel
 

Public Member Functions

virtual void OnChange ()
 
virtual void UpdateIndicator ()
 Update the current quest state indicator based on the specified quest state indicator levels and quest entry state indicator levels.
 

Public Attributes

string questName
 
QuestStateIndicatorLevel[] questStateIndicatorLevels = new QuestStateIndicatorLevel[0]
 
QuestEntryStateIndicatorLevel[] questEntryStateIndicatorLevels = new QuestEntryStateIndicatorLevel[0]
 
bool suppressOnEnterStateEventsOnStart = false
 

Protected Member Functions

virtual void OnApplicationQuit ()
 
virtual IEnumerator Start ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Protected Attributes

QuestStateDispatcher m_questStateDispatcher
 
QuestStateIndicator m_questStateIndicator
 
bool m_suppressOnEnterStateEvent = false
 

Properties

QuestStateDispatcher questStateDispatcher [get]
 
QuestStateIndicator questStateIndicator [get]
 
bool started [get, set]
 

Detailed Description

Add this to a GameObject such as an NPC that wants to know about quest state changes to a specific quest.

You can add multiple QuestStateListener components to listen to multiple quests.

Member Function Documentation

◆ OnApplicationQuit()

virtual void PixelCrushers.DialogueSystem.QuestStateListener.OnApplicationQuit ( )
inlineprotectedvirtual

◆ OnChange()

virtual void PixelCrushers.DialogueSystem.QuestStateListener.OnChange ( )
inlinevirtual

◆ OnDisable()

virtual void PixelCrushers.DialogueSystem.QuestStateListener.OnDisable ( )
inlineprotectedvirtual

◆ OnEnable()

virtual void PixelCrushers.DialogueSystem.QuestStateListener.OnEnable ( )
inlineprotectedvirtual

◆ Start()

virtual IEnumerator PixelCrushers.DialogueSystem.QuestStateListener.Start ( )
inlineprotectedvirtual

◆ UpdateIndicator()

virtual void PixelCrushers.DialogueSystem.QuestStateListener.UpdateIndicator ( )
inlinevirtual

Update the current quest state indicator based on the specified quest state indicator levels and quest entry state indicator levels.

Member Data Documentation

◆ m_questStateDispatcher

QuestStateDispatcher PixelCrushers.DialogueSystem.QuestStateListener.m_questStateDispatcher
protected

◆ m_questStateIndicator

QuestStateIndicator PixelCrushers.DialogueSystem.QuestStateListener.m_questStateIndicator
protected

◆ m_suppressOnEnterStateEvent

bool PixelCrushers.DialogueSystem.QuestStateListener.m_suppressOnEnterStateEvent = false
protected

◆ questEntryStateIndicatorLevels

QuestEntryStateIndicatorLevel [] PixelCrushers.DialogueSystem.QuestStateListener.questEntryStateIndicatorLevels = new QuestEntryStateIndicatorLevel[0]

◆ questName

string PixelCrushers.DialogueSystem.QuestStateListener.questName

◆ questStateIndicatorLevels

QuestStateIndicatorLevel [] PixelCrushers.DialogueSystem.QuestStateListener.questStateIndicatorLevels = new QuestStateIndicatorLevel[0]

◆ suppressOnEnterStateEventsOnStart

bool PixelCrushers.DialogueSystem.QuestStateListener.suppressOnEnterStateEventsOnStart = false

Property Documentation

◆ questStateDispatcher

QuestStateDispatcher PixelCrushers.DialogueSystem.QuestStateListener.questStateDispatcher
getprotected

◆ questStateIndicator

QuestStateIndicator PixelCrushers.DialogueSystem.QuestStateListener.questStateIndicator
getprotected

◆ started

bool PixelCrushers.DialogueSystem.QuestStateListener.started
getsetprotected

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