Show / Hide Table of Contents

Class Tech

Technology tree items

Inheritance
System.Object
Item
Tech
Inherited Members
Item.ID
Item.IsCloned
Item.InventoryTexture
Item.Name
Item.Description
Item.Type
Item.CanDrop
Item.IsStackable
Item.AvailableOnStartMenu
Item.HasTag(EItemTag)
Item.AddTag(EItemTag)
Item.RemoveTag(EItemTag)
Item.AddToGame(String)
Item.Clone()
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Tech : Item

Constructors

Tech(String)

Get a tech from an asset name

Declaration
public Tech(string asset)
Parameters
Type Name Description
System.String asset

The asset name

Properties

BaseResearchTime

The base research time for this Tech

Declaration
public int BaseResearchTime { get; set; }
Property Value
Type Description
System.Int32

Methods

AddRequiredItem(InventoryItem)

Add required InventoryItem to research this Tech

Declaration
public void AddRequiredItem(InventoryItem item)
Parameters
Type Name Description
InventoryItem item

The item

IsRequiredItem(InventoryItem)

Whether an InventoryItem is required to research this tech

Declaration
public bool IsRequiredItem(InventoryItem item)
Parameters
Type Name Description
InventoryItem item

The item

Returns
Type Description
System.Boolean

Whether the InventoryItem is required to research

RemoveRequiredItem(InventoryItem)

Remove required InventoryItem to research this tech

Declaration
public void RemoveRequiredItem(InventoryItem item)
Parameters
Type Name Description
InventoryItem item

The item

RequiredItems()

Get a list of the required items to research this Tech

Declaration
public List<InventoryItem> RequiredItems()
Returns
Type Description
List<InventoryItem>

The required items to research this Tech

Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX