Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.InventoryProQuestMachineItem Class Reference

Defines an item type that sends a message to the Message System and invokes an event when used. More...

Inheritance diagram for PixelCrushers.QuestMachine.InventoryProQuestMachineItem:
Collaboration diagram for PixelCrushers.QuestMachine.InventoryProQuestMachineItem:

Public Member Functions

override LinkedList< ItemInfoRow[]> GetInfo ()
 
override void NotifyItemUsed (uint amount, bool alsoNotifyCollection)
 
override int Use ()
 

Public Attributes

StringField message
 
StringField parameter
 
UnityEvent onUse = new UnityEvent()
 
bool reduceOnUse = true
 
AudioClipInfo audioClipWhenUsed
 

Detailed Description

Defines an item type that sends a message to the Message System and invokes an event when used.

Member Function Documentation

◆ GetInfo()

override LinkedList< ItemInfoRow[]> PixelCrushers.QuestMachine.InventoryProQuestMachineItem.GetInfo ( )
inline

◆ NotifyItemUsed()

override void PixelCrushers.QuestMachine.InventoryProQuestMachineItem.NotifyItemUsed ( uint  amount,
bool  alsoNotifyCollection 
)
inline

◆ Use()

override int PixelCrushers.QuestMachine.InventoryProQuestMachineItem.Use ( )
inline

Member Data Documentation

◆ audioClipWhenUsed

AudioClipInfo PixelCrushers.QuestMachine.InventoryProQuestMachineItem.audioClipWhenUsed

◆ message

StringField PixelCrushers.QuestMachine.InventoryProQuestMachineItem.message

◆ onUse

UnityEvent PixelCrushers.QuestMachine.InventoryProQuestMachineItem.onUse = new UnityEvent()

◆ parameter

StringField PixelCrushers.QuestMachine.InventoryProQuestMachineItem.parameter

◆ reduceOnUse

bool PixelCrushers.QuestMachine.InventoryProQuestMachineItem.reduceOnUse = true

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