Class OrganismItemManager
Inheritance
System.Object
OrganismItemManager
Assembly: Eco.Gameplay.dll
Syntax
public static class OrganismItemManager : Object
Methods
AddRandomResourcesToChangeSet(ref InventoryChangeSet, Species, Nullable<Int32>)
Declaration
public static void AddRandomResourcesToChangeSet(ref InventoryChangeSet set, Species species, Nullable<int> quantity = null)
Parameters
AddResourcesToChangeSet(InventoryChangeSet, Species, Int32)
Add resources from species resource by quantity
Declaration
public static void AddResourcesToChangeSet(this InventoryChangeSet set, Species species, int quantity)
Parameters
SourceSpeciesForItem(Type)
Declaration
public static IEnumerable<Species> SourceSpeciesForItem(Type itemType)
Parameters
Type |
Name |
Description |
System.Type |
itemType |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Species> |
|