Table of Contents

Class LedgerUI

Namespace
StarterKit
Assembly
StarterKit.dll

STARTERKIT - Ledger panel showing data for all countries. Displays country name, provinces, units, gold in a sortable table. Toggle with L key or button.

public class LedgerUI : StarterKitPanel
Inheritance
object
LedgerUI
Inherited Members

Methods

CreateUI()

Override to create your panel's UI elements. Set panelContainer to your main container element.

protected override void CreateUI()

Initialize(GameState, EconomySystem, UnitSystem, PlayerState)

public void Initialize(GameState gameStateRef, EconomySystem economySystemRef, UnitSystem unitSystemRef, PlayerState playerStateRef)

Parameters

gameStateRef GameState
economySystemRef EconomySystem
unitSystemRef UnitSystem
playerStateRef PlayerState

OnShow()

Called when panel is shown. Override for refresh logic.

protected override void OnShow()