PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener Class Reference

Updates the quest tracker HUD and invokes a UnityEvent when an Inventory's content changes. More...

Inheritance diagram for PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener:
Collaboration diagram for PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener:

Public Member Functions

virtual void OnMMEvent (MMInventoryEvent eventType)
 
virtual void OnMMEvent (MMGameEvent gameEvent)
 
void SaveDialogueSystem ()
 
void LoadDialogueSystem ()
 
virtual void OnMMEvent (MMInventoryEvent eventType)
 
virtual void OnMMEvent (MMGameEvent gameEvent)
 
void SaveDialogueSystem ()
 
void LoadDialogueSystem ()
 

Public Attributes

bool updateQuestTracker = true
 
bool handleMMSaveLoadEvents = false
 
UnityEvent onContentChanged = new UnityEvent()
 

Protected Member Functions

virtual void OnEnable ()
 On enable, we start listening for MMGameEvents.
 
virtual void OnDisable ()
 On disable, we stop listening for MMGameEvents.
 
virtual void OnEnable ()
 On enable, we start listening for MMGameEvents.
 
virtual void OnDisable ()
 On disable, we stop listening for MMGameEvents.
 

Static Protected Attributes

const string _saveFolderName = "DialogueSystem/"
 
const string _saveFileExtension = ".data"
 

Detailed Description

Updates the quest tracker HUD and invokes a UnityEvent when an Inventory's content changes.

Adds option to integrate Dialogue System saving with Inventory Engine SaveLoadManager.

Member Function Documentation

◆ LoadDialogueSystem() [1/2]

void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.LoadDialogueSystem ( )
inline

◆ LoadDialogueSystem() [2/2]

void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.LoadDialogueSystem ( )
inline

◆ OnDisable() [1/2]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnDisable ( )
inlineprotectedvirtual

On disable, we stop listening for MMGameEvents.

◆ OnDisable() [2/2]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnDisable ( )
inlineprotectedvirtual

On disable, we stop listening for MMGameEvents.

◆ OnEnable() [1/2]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnEnable ( )
inlineprotectedvirtual

On enable, we start listening for MMGameEvents.

◆ OnEnable() [2/2]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnEnable ( )
inlineprotectedvirtual

On enable, we start listening for MMGameEvents.

◆ OnMMEvent() [1/4]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnMMEvent ( MMGameEvent  gameEvent)
inlinevirtual

◆ OnMMEvent() [2/4]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnMMEvent ( MMGameEvent  gameEvent)
inlinevirtual

◆ OnMMEvent() [3/4]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnMMEvent ( MMInventoryEvent  eventType)
inlinevirtual

◆ OnMMEvent() [4/4]

virtual void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.OnMMEvent ( MMInventoryEvent  eventType)
inlinevirtual

◆ SaveDialogueSystem() [1/2]

void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.SaveDialogueSystem ( )
inline

◆ SaveDialogueSystem() [2/2]

void PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.SaveDialogueSystem ( )
inline

Member Data Documentation

◆ _saveFileExtension

const string PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener._saveFileExtension = ".data"
staticprotected

◆ _saveFolderName

const string PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener._saveFolderName = "DialogueSystem/"
staticprotected

◆ handleMMSaveLoadEvents

bool PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.handleMMSaveLoadEvents = false

◆ onContentChanged

UnityEvent PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.onContentChanged = new UnityEvent()

◆ updateQuestTracker

bool PixelCrushers.DialogueSystem.InventoryEngineSupport.DialogueSystemInventoryEventListener.updateQuestTracker = true

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