Table of Contents

Class StatModifier

Namespace
Nekoyume.Model.Stat
Assembly
Lib9c.dll
[Serializable]
public class StatModifier
Inheritance
StatModifier
Inherited Members

Constructors

StatModifier(DecimalStat)

public StatModifier(DecimalStat decimalStat)

Parameters

decimalStat DecimalStat

StatModifier(StatType, OperationType, long)

public StatModifier(StatType statType, StatModifier.OperationType operation, long value)

Parameters

statType StatType
operation StatModifier.OperationType
value long

Properties

Operation

public StatModifier.OperationType Operation { get; }

Property Value

StatModifier.OperationType

StatType

public StatType StatType { get; }

Property Value

StatType

Value

public long Value { get; }

Property Value

long

Methods

GetModifiedAll(decimal)

value와 함께 value를 바탕으로 변경시킨 값의 합을 리턴한다.

public decimal GetModifiedAll(decimal value)

Parameters

value decimal

Returns

decimal

GetModifiedAll(long)

value와 함께 value를 바탕으로 변경시킨 값의 합을 리턴한다.

public long GetModifiedAll(long value)

Parameters

value long

Returns

long

GetModifiedValue(decimal)

value를 바탕으로 변경시킨 값만을 리턴한다.

public decimal GetModifiedValue(decimal value)

Parameters

value decimal

Returns

decimal

Exceptions

ArgumentOutOfRangeException

GetModifiedValue(int)

value를 바탕으로 변경시킨 값만을 리턴한다.

public long GetModifiedValue(int value)

Parameters

value int

Returns

long

Exceptions

ArgumentOutOfRangeException

Modify(DecimalStat)

value를 변경시킨다.

public void Modify(DecimalStat value)

Parameters

value DecimalStat

Exceptions

ArgumentOutOfRangeException

SetForTest(int)

public void SetForTest(int value)

Parameters

value int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.