Show / Hide Table of Contents

Class InventoryItemExtensions

Inheritance
System.Object
InventoryItemExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: StoryVerse.Models
Assembly: Assembly-CSharp.dll.dll
Syntax
public static class InventoryItemExtensions

Methods

IndexItems(List<InventoryItem>)

Declaration
public static Dictionary<string, InventoryItem> IndexItems(this List<InventoryItem> items)
Parameters
Type Name Description
System.Collections.Generic.List<InventoryItem> items
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, InventoryItem>

IsConsumable(InventoryItem)

Declaration
public static bool IsConsumable(this InventoryItem item)
Parameters
Type Name Description
InventoryItem item
Returns
Type Description
System.Boolean
Back to top Generated by DocFX