Class StatMap
- Namespace
- Nekoyume.Model.Stat
- Assembly
- Lib9c.dll
[Serializable]
public class StatMap : IStats, IBaseAndAdditionalStats, IState
- Inheritance
-
StatMap
- Implements
-
- Inherited Members
-
Constructors
StatMap()
StatMap(StatMap)
public StatMap(StatMap statMap)
Parameters
statMap
StatMap
Properties
ATK
Property Value
- long
AdditionalATK
public long AdditionalATK { get; }
Property Value
- long
AdditionalArmorPenetration
public long AdditionalArmorPenetration { get; }
Property Value
- long
AdditionalCDMG
public long AdditionalCDMG { get; }
Property Value
- long
AdditionalCRI
public long AdditionalCRI { get; }
Property Value
- long
AdditionalDEF
public long AdditionalDEF { get; }
Property Value
- long
AdditionalDRR
public long AdditionalDRR { get; }
Property Value
- long
AdditionalDRV
public long AdditionalDRV { get; }
Property Value
- long
AdditionalHIT
public long AdditionalHIT { get; }
Property Value
- long
AdditionalHP
public long AdditionalHP { get; }
Property Value
- long
AdditionalSPD
public long AdditionalSPD { get; }
Property Value
- long
AdditionalThorn
public long AdditionalThorn { get; }
Property Value
- long
ArmorPenetration
public long ArmorPenetration { get; }
Property Value
- long
BaseATK
public long BaseATK { get; }
Property Value
- long
BaseArmorPenetration
public long BaseArmorPenetration { get; }
Property Value
- long
BaseCDMG
public long BaseCDMG { get; }
Property Value
- long
BaseCRI
public long BaseCRI { get; }
Property Value
- long
BaseDEF
public long BaseDEF { get; }
Property Value
- long
BaseDRR
public long BaseDRR { get; }
Property Value
- long
BaseDRV
public long BaseDRV { get; }
Property Value
- long
BaseHIT
public long BaseHIT { get; }
Property Value
- long
BaseHP
public long BaseHP { get; }
Property Value
- long
BaseSPD
public long BaseSPD { get; }
Property Value
- long
BaseThorn
public long BaseThorn { get; }
Property Value
- long
CDMG
public long CDMG { get; }
Property Value
- long
CRI
Property Value
- long
DEF
Property Value
- long
DRR
Property Value
- long
DRV
Property Value
- long
HIT
Property Value
- long
HP
Property Value
- long
this[StatType]
public DecimalStat this[StatType type] { get; }
Parameters
type
StatType
Property Value
- DecimalStat
SPD
Property Value
- long
Thorn
public long Thorn { get; }
Property Value
- long
Methods
Deserialize(Dictionary)
public void Deserialize(Dictionary serialized)
Parameters
serialized
Dictionary
GetAdditionalStat(StatType)
public long GetAdditionalStat(StatType statType)
Parameters
statType
StatType
Returns
- long
GetAdditionalStats(bool)
public IEnumerable<(StatType statType, long additionalValue)> GetAdditionalStats(bool ignoreZero = false)
Parameters
ignoreZero
bool
Returns
- IEnumerable<(StatType statType, long baseValue)>
GetBaseAndAdditionalStats(bool)
public IEnumerable<(StatType statType, long baseValue, long additionalValue)> GetBaseAndAdditionalStats(bool ignoreZero = false)
Parameters
ignoreZero
bool
Returns
- IEnumerable<(StatType statType, long baseValue, long additionalValue)>
GetBaseStat(StatType)
public long GetBaseStat(StatType statType)
Parameters
statType
StatType
Returns
- long
GetBaseStats(bool)
public IEnumerable<(StatType statType, long baseValue)> GetBaseStats(bool ignoreZero = false)
Parameters
ignoreZero
bool
Returns
- IEnumerable<(StatType statType, long baseValue)>
GetDecimalStats(bool)
public IEnumerable<DecimalStat> GetDecimalStats(bool ignoreZero)
Parameters
ignoreZero
bool
Returns
- IEnumerable<DecimalStat>
GetStat(StatType)
public decimal GetStat(StatType statType)
Parameters
statType
StatType
Returns
- decimal
GetStatAsLong(StatType)
public long GetStatAsLong(StatType statType)
Parameters
statType
StatType
Returns
- long
GetStats(bool)
public IEnumerable<(StatType statType, long value)> GetStats(bool ignoreZero = false)
Parameters
ignoreZero
bool
Returns
- IEnumerable<(StatType statType, long baseValue)>
Reset()
Serialize()
public IValue Serialize()
Returns
- IValue