Show / Hide Table of Contents

Class NativeStatsInfo

Represents the Information of a specific field in a NativeStatsPanel.

Inheritance
object
NativeStatsInfo
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeStatsInfo

Constructors

View Source

NativeStatsInfo(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.

View Source

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 Source

Name

The name of the Stats Field.

Declaration
public string Name { get; set; }
Property Value
Type Description
string
View Source

Value

The value of the Stats bar.

Declaration
public float Value { get; set; }
Property Value
Type Description
float

Methods

View Source

Draw()

Draws the stat information.

Declaration
public void Draw()
View Source

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.

  • View Source
In this article
Back to top Generated by DocFX