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

void OnMMEvent (MMInventoryEvent eventType)
 

Public Attributes

bool updateQuestTracker = true
 
UnityEvent onContentChanged = new UnityEvent()
 

Protected Member Functions

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

Detailed Description

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

Member Function Documentation

◆ OnDisable()

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

On disable, we stop listening for MMGameEvents.

◆ OnEnable()

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

On enable, we start listening for MMGameEvents.

◆ OnMMEvent()

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

Member Data Documentation

◆ 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 file: