Class StatModifier
[Serializable]
public class StatModifier
- Inheritance
-
StatModifier
- Inherited Members
Constructors
StatModifier(DecimalStat)
public StatModifier(DecimalStat decimalStat)
Parameters
decimalStatDecimalStat
StatModifier(StatType, OperationType, long)
public StatModifier(StatType statType, StatModifier.OperationType operation, long value)
Parameters
statTypeStatTypeoperationStatModifier.OperationTypevaluelong
Properties
Operation
public StatModifier.OperationType Operation { get; }
Property Value
StatType
public StatType StatType { get; }
Property Value
Value
public long Value { get; }
Property Value
Methods
GetModifiedAll(decimal)
value와 함께 value를 바탕으로 변경시킨 값의 합을 리턴한다.
public decimal GetModifiedAll(decimal value)
Parameters
valuedecimal
Returns
GetModifiedAll(long)
value와 함께 value를 바탕으로 변경시킨 값의 합을 리턴한다.
public long GetModifiedAll(long value)
Parameters
valuelong
Returns
GetModifiedValue(decimal)
value를 바탕으로 변경시킨 값만을 리턴한다.
public decimal GetModifiedValue(decimal value)
Parameters
valuedecimal
Returns
Exceptions
GetModifiedValue(int)
value를 바탕으로 변경시킨 값만을 리턴한다.
public long GetModifiedValue(int value)
Parameters
valueint
Returns
Exceptions
Modify(DecimalStat)
value를 변경시킨다.
public void Modify(DecimalStat value)
Parameters
valueDecimalStat
Exceptions
SetForTest(int)
public void SetForTest(int value)
Parameters
valueint
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.