Class Ecopedia
Inheritance
System.Object
Ecopedia
Assembly: Eco.Gameplay.dll
Syntax
public class Ecopedia : Singleton<Ecopedia>, IController, IViewController, IHasUniversalID, IHasRequiredIcons
Constructors
Ecopedia()
Declaration
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
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
ShowPage(Player, Type)
Declaration
public void ShowPage(Player player, Type type)
Parameters
Type |
Name |
Description |
Player |
player |
|
System.Type |
type |
|
Implements
Extension Methods