Skip to content

Game.UI.InGame.ProgressionPanel

Assembly: Assembly-CSharp.dll
Namespace: Game.UI.InGame

Type: public class

Base: TabbedGamePanel

Summary:
ProgressionPanel is a UI panel used in-game to present player progression-related information. It defines a small, fixed set of tabs (Development, Milestones, Achievements) and overrides a few behavior properties to make the panel blocking, centered in the layout, and to retain its properties between uses. The panel itself contains no additional fields or methods in this source file — it relies on functionality provided by its TabbedGamePanel base class for tabbed UI behavior.


Fields

  • None
    No private or public fields are declared in this file. Any state or backing fields are provided by the base class (TabbedGamePanel) or other parts of the UI system.

Properties

  • public override bool blocking => true
    Indicates that this panel blocks underlying UI/input while open. The override sets the panel as blocking to prevent interaction with other UI elements while the panel is active.

  • public override LayoutPosition position => LayoutPosition.Center
    Specifies the panel's layout position. This panel is centered on screen by default.

  • public override bool retainProperties => true
    When true, the panel retains its properties/state between show/hide cycles as managed by the UI system. Useful to preserve the currently selected tab or scroll position.

Constructors

  • public ProgressionPanel()
    No explicit constructor is declared in the source file; the default parameterless constructor is used. Any initialization logic (beyond what the base class provides) would be added by extending the class or handled by the UI lifecycle methods in the base class.

Methods

  • None declared in this file
    This source file does not declare any methods. Lifecycle and tab-management methods are expected to come from the TabbedGamePanel base class or other parts of the UI framework (e.g., methods for creating tabs, responding to tab changes, showing/hiding the panel).

Usage Example

// Example: reading properties and using the Tab enum.
// Obtain the panel instance via whatever UI lookup your mod uses.
// (This is a conceptual example — retrieval APIs depend on your mod framework.)
ProgressionPanel panel = /* get panel instance from UI system */ null;

// Check layout/behavior properties
bool isBlocking = panel.blocking; // true
LayoutPosition pos = panel.position; // LayoutPosition.Center
bool keepState = panel.retainProperties; // true

// Work with the tabs enum
ProgressionPanel.Tab defaultTab = ProgressionPanel.Tab.Development;
if (defaultTab == ProgressionPanel.Tab.Milestones)
{
    // show or focus milestones tab (actual method depends on base class API)
    // panel.SelectTab((int)defaultTab); // example — real method name may differ
}