Class StatModifier
[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
StatTypeoperation
StatModifier.OperationTypevalue
long
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
value
decimal
Returns
GetModifiedAll(long)
value와 함께 value를 바탕으로 변경시킨 값의 합을 리턴한다.
public long GetModifiedAll(long value)
Parameters
value
long
Returns
GetModifiedValue(decimal)
value를 바탕으로 변경시킨 값만을 리턴한다.
public decimal GetModifiedValue(decimal value)
Parameters
value
decimal
Returns
Exceptions
GetModifiedValue(int)
value를 바탕으로 변경시킨 값만을 리턴한다.
public long GetModifiedValue(int value)
Parameters
value
int
Returns
Exceptions
Modify(DecimalStat)
value를 변경시킨다.
public void Modify(DecimalStat value)
Parameters
value
DecimalStat
Exceptions
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.