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
Assembly: Eco.Gameplay.dll
Syntax
public class EcoTypes : Singleton<EcoTypes>, IController, IViewController, IHasUniversalID
Constructors
EcoTypes()
Declaration
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
Implements
Extension Methods