Table of Contents

Class WikiDatabase

Namespace
Game.Core.Research
Assembly
SPZGameAssembly.dll
public class WikiDatabase : IWikiDatabase
Inheritance
object
WikiDatabase
Implements
Extension Methods

Constructors

WikiDatabase(IGameData, ResearchProgression, GameModeId, IShapesConfiguration)

public WikiDatabase(IGameData data, ResearchProgression research, GameModeId currentMode, IShapesConfiguration shapesConfiguration)

Parameters

data IGameData
research ResearchProgression
currentMode GameModeId
shapesConfiguration IShapesConfiguration

Properties

KnowledgePanelEntries

public IEnumerable<WikiEntryId> KnowledgePanelEntries { get; }

Property Value

IEnumerable<WikiEntryId>

Methods

GetEntry(WikiEntryId)

public WikiEntry GetEntry(WikiEntryId id)

Parameters

id WikiEntryId

Returns

WikiEntry

RefreshFrom(IWikiDatabase)

public void RefreshFrom(IWikiDatabase newDatabase)

Parameters

newDatabase IWikiDatabase

TryGetEntry(WikiEntryId, out WikiEntry)

public bool TryGetEntry(WikiEntryId id, out WikiEntry entry)

Parameters

id WikiEntryId
entry WikiEntry

Returns

bool