Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer Class Reference

Updates quest counters with ORK inventory counts. More...

Inheritance diagram for PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer:
Collaboration diagram for PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer:

Protected Member Functions

override void OnInitialize ()
 
void GetItemIDs ()
 
virtual void RefreshCounterItemNames ()
 
virtual void OnQuestListChange (Quest quest)
 
IEnumerator UpdateCountersAfterOneFrame ()
 
override void OnInventoryChanged ()
 
- Protected Member Functions inherited from PixelCrushers.QuestMachine.ORKSupport.ORKInventoryMonitor
virtual IEnumerator Start ()
 
void OnInventoryChanged ()
 

Protected Attributes

Dictionary< string, int > itemIDs = null
 
Dictionary< string, int > weaponIDs = null
 
Dictionary< string, int > armorIDs = null
 
List< string > monitoredItems = new List<string>()
 

Properties

override string purpose [get]
 
- Properties inherited from PixelCrushers.QuestMachine.ORKSupport.ORKInventoryMonitor
virtual string purpose [get]
 
Combatant player [get]
 
Inventory playerInventory [get]
 

Detailed Description

Updates quest counters with ORK inventory counts.

It's unidirectional; when an inventory count changes, it updates the counter value. But if you manually change the counter value, it will not update ORK's inventory count.

Member Function Documentation

◆ GetItemIDs()

void PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.GetItemIDs ( )
inlineprotected

◆ OnInitialize()

override void PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.OnInitialize ( )
inlineprotectedvirtual

◆ OnInventoryChanged()

override void PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.OnInventoryChanged ( )
inlineprotected

◆ OnQuestListChange()

virtual void PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.OnQuestListChange ( Quest  quest)
inlineprotectedvirtual

◆ RefreshCounterItemNames()

virtual void PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.RefreshCounterItemNames ( )
inlineprotectedvirtual

◆ UpdateCountersAfterOneFrame()

IEnumerator PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.UpdateCountersAfterOneFrame ( )
inlineprotected

Member Data Documentation

◆ armorIDs

Dictionary<string, int> PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.armorIDs = null
protected

◆ itemIDs

Dictionary<string, int> PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.itemIDs = null
protected

◆ monitoredItems

List<string> PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.monitoredItems = new List<string>()
protected

◆ weaponIDs

Dictionary<string, int> PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.weaponIDs = null
protected

Property Documentation

◆ purpose

override string PixelCrushers.QuestMachine.ORKSupport.ORKInventoryCounterSynchronizer.purpose
getprotected

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