Show / Hide Table of Contents

Class OrganismItemManager

Inheritance
System.Object
OrganismItemManager
Namespace: Eco.Gameplay.Items
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
Type Name Description
InventoryChangeSet set
Species species
System.Nullable<System.Int32> quantity

AddResourcesToChangeSet(InventoryChangeSet, Species, Int32)

Add resources from species resource by quantity

Declaration
public static void AddResourcesToChangeSet(this InventoryChangeSet set, Species species, int quantity)
Parameters
Type Name Description
InventoryChangeSet set
Species species
System.Int32 quantity

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>
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾