Class NativeStatsInfo
Represents the Information of a specific field in a NativeStatsPanel.
Inherited Members
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeStatsInfo
Constructors
View SourceNativeStatsInfo(string)
Creates a new Stat Info with the specified name and value set to zero.
Declaration
public NativeStatsInfo(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the Stat. |
NativeStatsInfo(string, int)
Creates a new Stat Info with the specified name and value.
Declaration
public NativeStatsInfo(string name, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the Stat. |
| int | value |
Properties
View SourceName
The name of the Stats Field.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The value of the Stats bar.
Declaration
public float Value { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
View SourceDraw()
Draws the stat information.
Declaration
public void Draw()
Recalculate(PointF, float)
Recalculates the position of the stat Text and Bar.
Declaration
public void Recalculate(PointF position, float width)
Parameters
| Type | Name | Description |
|---|---|---|
| PointF | position | The new position fot the Stat. |
| float | width | The Width of the parent Stats Panel. |