Skip to content

Class LemonUI::Menus::NativeStatsInfo

ClassList > LemonUI > Menus > NativeStatsInfo

Represents the Information of a specific field in a NativeStatsPanel .

Public Properties

Type Name
property string?? Name
The name of the Stats Field.
property float Value
The value of the Stats bar.

Public Functions

Type Name
void Draw ()
Draws the stat information.
NativeStatsInfo (string name)
Creates a new Stat Info with the specified name and value set to zero.
NativeStatsInfo (string name, int value)
Creates a new Stat Info with the specified name and value.
void Recalculate (PointF position, float width)
Recalculates the position of the stat Text and Bar.

Public Properties Documentation

property Name

string?? LemonUI.Menus.NativeStatsInfo.Name;

property Value

float LemonUI.Menus.NativeStatsInfo.Value;

Public Functions Documentation

function Draw

inline void LemonUI::Menus::NativeStatsInfo::Draw () 

function NativeStatsInfo [1/2]

Creates a new Stat Info with the specified name and value set to zero.

inline LemonUI::Menus::NativeStatsInfo::NativeStatsInfo (
    string name
) 

Parameters:

  • name The name of the Stat.

function NativeStatsInfo [2/2]

Creates a new Stat Info with the specified name and value.

inline LemonUI::Menus::NativeStatsInfo::NativeStatsInfo (
    string name,
    int value
) 

Parameters:

  • name The name of the Stat.
  • value

function Recalculate

Recalculates the position of the stat Text and Bar.

inline void LemonUI::Menus::NativeStatsInfo::Recalculate (
    PointF position,
    float width
) 

Parameters:

  • position The new position fot the Stat.
  • width The Width of the parent Stats Panel.

The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Menus/NativeStatsInfo.cs