Show / Hide Table of Contents

Class Ecopedia

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

Constructors

Ecopedia()

Declaration
public Ecopedia()

Fields

TypeToPage

Declaration
public static Dictionary<Type, EcopediaPage> TypeToPage
Field Value
Type Description
System.Collections.Generic.Dictionary<System.Type, EcopediaPage>

Properties

Categories

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

Chapters

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

ControllerID

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

RuntimeEcopediaVersion

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

Methods

AllTabs()

Declaration
public IEnumerable<IEcopediaTab> AllTabs()
Returns
Type Description
System.Collections.Generic.IEnumerable<IEcopediaTab>

GetPage(String)

Declaration
public EcopediaPage GetPage(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
EcopediaPage

GetRequiredIcons()

Declaration
public static IEnumerable<(string, string)> GetRequiredIcons()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.String>>

HasPage(Type)

Declaration
public bool HasPage(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

OnEcopediaRebuild()

Declaration
public void OnEcopediaRebuild()

ShowPage(Player, EcopediaPage)

Declaration
public void ShowPage(Player player, EcopediaPage page)
Parameters
Type Name Description
Player player
EcopediaPage page

ShowPage(Player, Type)

Declaration
public void ShowPage(Player player, Type type)
Parameters
Type Name Description
Player player
System.Type type

Implements

IController
IViewController
IHasUniversalID
IHasRequiredIcons

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
☀
☾