Corgi Engine  v9.2
MoreMountains.InventoryEngine.EventTester Class Reference

This class shows examples of how you can listen to MMInventoryEvents, from any class More...

Inheritance diagram for MoreMountains.InventoryEngine.EventTester:
MoreMountains.Tools.MMEventListener< MMInventoryEvent >

Public Member Functions

virtual void OnMMEvent (MMInventoryEvent inventoryEvent)
 When we catch a MMInventoryEvent, we filter on its type and display info about the item used More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMInventoryEvent >
void OnMMEvent (T eventType)
 

Protected Member Functions

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

Detailed Description

This class shows examples of how you can listen to MMInventoryEvents, from any class

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.InventoryEngine.EventTester.OnDisable ( )
protectedvirtual

On disable we stop listening for MMInventoryEvents

◆ OnEnable()

virtual void MoreMountains.InventoryEngine.EventTester.OnEnable ( )
protectedvirtual

On enable we start listening for MMInventoryEvents

◆ OnMMEvent()

virtual void MoreMountains.InventoryEngine.EventTester.OnMMEvent ( MMInventoryEvent  inventoryEvent)
virtual

When we catch a MMInventoryEvent, we filter on its type and display info about the item used

Parameters
inventoryEvent

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