Example #1
0
 /// <summary>
 /// If possible, returns the focus to the current return inventory focus (after equipping an item, usually)
 /// </summary>
 public virtual void ReturnInventoryFocus()
 {
     if (ReturnInventory == null)
     {
         return;
     }
     else
     {
         ResetDisabledStates();
         ReturnInventory.Focus();
         ReturnInventory = null;
     }
 }
Example #2
0
 /// <summary>
 /// Sets the return inventory display
 /// </summary>
 /// <param name="inventoryDisplay">Inventory display.</param>
 public virtual void SetReturnInventory(InventoryDisplay inventoryDisplay)
 {
     ReturnInventory = inventoryDisplay;
 }