Class StatInfo
Inheritance
System.Object
StatInfo
Assembly: Eco.Stats.dll
Syntax
public class StatInfo : Object
Constructors
StatInfo()
Declaration
StatInfo(LocString, String, StatAttribute, Type, String[])
Declaration
public StatInfo(LocString displayName, string name, StatAttribute stat, Type type, string[] tags)
Parameters
Type |
Name |
Description |
LocString |
displayName |
|
System.String |
name |
|
StatAttribute |
stat |
|
System.Type |
type |
|
System.String[] |
tags |
|
Fields
Description
Declaration
public string Description
Field Value
Type |
Description |
System.String |
|
DisplayName
Declaration
public string DisplayName
Field Value
Type |
Description |
System.String |
|
Name
Declaration
Field Value
Type |
Description |
System.String |
|
NameMap
Declaration
public static ShortNameMap NameMap
Field Value
ShortName
Declaration
Field Value
Type |
Description |
System.String |
|
StatType
Declaration
Field Value
SystemType
Declaration
Field Value
Type |
Description |
System.Type |
|
Declaration
Field Value
Type |
Description |
System.String[] |
|
Unit
Declaration
Field Value
Type |
Description |
System.String |
|
UnitDisplayName
Declaration
public string UnitDisplayName
Field Value
Type |
Description |
System.String |
|
ValueKey
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
HasValueKey
Declaration
public bool HasValueKey { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsAction
Declaration
public bool IsAction { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsAggregatable
Declaration
public bool IsAggregatable { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCountable
Declaration
public bool IsCountable { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCustom
Declaration
public bool IsCustom { get; }
Property Value
Type |
Description |
System.Boolean |
|
TimeKey
Declaration
public string TimeKey { get; }
Property Value
Type |
Description |
System.String |
|
Methods
OnDeserialized()
Declaration
public void OnDeserialized()