Skip to content

ToolsModifierControl

Graydon edited this page Mar 21, 2017 · 7 revisions

public abstract class ToolsModifierControl

Base Class: UICustomControl

Fields

private UIButton m_CloseToolbarButton
private static CameraController m_CameraController
private static UnlockingPanel m_UnlockingPanel
private static TutorialAdvisorPanel m_AdvisorPanel
private static EconomyPanel m_EconomyPanel
private static PoliciesPanel m_PoliciesPanel
private static InfoViewsPanel m_InfoViewsPanel
private static MainToolbar m_MainToolbar
private static UIMultiStateButton m_BulldozerButton
private static ToolController m_ToolController
private static Dictionary<Type, ToolBase> m_Tools
private static string[] sHappinessLevels

Properties

public UIButton closeToolbarButton { get; }
public static MainToolbar mainToolbar { get; }
public static UIMultiStateButton bulldozerButton { get; }
public static ToolController toolController { get; }
public bool isMapEditor { get; }
public bool isAssetEditor { get; }
public bool isGame { get; }
public static EconomyPanel economyPanel { get; }
public static CameraController cameraController { get; }
public static UnlockingPanel unlockingPanel { get; }
public static TutorialAdvisorPanel advisorPanel { get; }
public static PoliciesPanel policiesPanel { get; }
public static InfoViewsPanel infoViewsPanel { get; }
public static bool keepThisWorldInfoPanel { get; set; }

Constructors

static ToolsModifierControl()

Methods

internal static string GetHappinessString(Happiness happinessLevel)
public void CloseEverything()
public void CloseAllPanels()
public void CloseToolbar()
private static void CollectTools()
public static T SetTool()
public static T GetTool()
public static T GetCurrentTool()
private void OnDestroy()
public static bool IsUnlocked(MilestoneInfo milestone)
public static bool IsUnlocked(Types policyType)
public static bool IsUnlocked(Policies policy)
public static bool GetUnlockingInfo(MilestoneInfo milestone, out string unlockDesc, out string currentValue, out string targetValue, out string progress, out string locked)
public static bool IsUnlocked(Feature feature)
public static bool IsUnlocked(Service service)
public static bool IsUnlocked(Zone zone)
public static bool IsUnlocked(SubService subService)
public static bool IsUnlocked(InfoMode mode)

Clone this wiki locally