Click or drag to resize

Stat Class

Represents the base and current value of a single stat.

Multiple instances of this class be used instead of the Stats class if access through individual variables is desired.

Inheritance Hierarchy
SystemObject
  Kit.ContainersStat

Namespace:  Kit.Containers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class Stat : IDisposable
Request Example View Source

The Stat type exposes the following members.

Constructors
  NameDescription
Public methodStat
Initializes a new instance of the Stat class
Public methodStat(IUpgradeable, String)
Initializes a new instance of the Stat class
Top
Properties
  NameDescription
Public propertyBaseValue
The base value of the stat.
Public propertyCurrent
The current value property of the stat.
Public propertyCurrentValue
The current value of the stat.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the Stat
Public methodToString
Returns the base and current value for display.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldBase
The base value property of the stat.
Public fieldID
The ID of the stat.
Public fieldUpgradeable
The IUpgradeable to use for calculating current value.
Top
See Also