Show / Hide Table of Contents

Class EcoTypes

Provides data about all the different kinds of things available through the eco codebase: Items, Blocks, and NetObjects. Todo: migrate ItemInfo and BlockInfo into here.

Inheritance
System.Object
EcoTypes
Implements
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.Types
Assembly: Eco.Gameplay.dll
Syntax
public class EcoTypes : Singleton<EcoTypes>, IController, IViewController, IHasUniversalID

Constructors

EcoTypes()

Declaration
public EcoTypes()

Properties

BlockNameToInfo

Declaration
public Dictionary<string, BlockInfo> BlockNameToInfo { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, BlockInfo>

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

ItemTypeToInfo

Declaration
public Dictionary<Type, ItemInfo> ItemTypeToInfo { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.Type, ItemInfo>

NetObjectTypeNameToInfo

Declaration
public Dictionary<string, NetObjectInfo> NetObjectTypeNameToInfo { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, NetObjectInfo>

WorldObjectTypeToInfo

Declaration
public Dictionary<Type, WorldObjectInfo> WorldObjectTypeToInfo { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.Type, WorldObjectInfo>

Methods

Initialize()

Declaration
public void Initialize()

Implements

IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾