modifier can be applied by ModOP or buff then the system will ask the role or system, if this modifier is enabled then we'll pull the value out of this modifier then the value will be activated in the way they configed
More...
|
enum class | SettingType { UseValue
, EnableBySetting
, DisableBySetting
} |
|
enum class | SettingValueEffect { UseSettingValue
, Multiply
} |
|
|
void | NotifyChange () |
|
bool | IsUnlocked () |
|
void | Init (string name) |
|
void | Save () |
|
bool | IsEnabled () |
|
void | SetEnabled () |
|
void | ResetEnable () |
|
void | SetValue (float v) |
|
void | RecoverValue () |
| recover value state to default More...
|
|
void | Reset () |
|
float | GetValue () |
|
|
string | name |
|
bool | hiddenFromUI = false |
|
string | dependUnlockItem |
|
SettingType | setting = SettingType.UseValue |
| define wehere to read value More...
|
|
SettingValueEffect | valueEffect = SettingValueEffect.UseSettingValue |
| only affect when enabled by setting More...
|
|
float | valueInSetting |
| used when toggle to SettingType.EnableBySetting More...
|
|
float | valueMax |
|
float | valueMin |
|
float | increseValue = 0.1f |
|
modifier can be applied by ModOP or buff then the system will ask the role or system, if this modifier is enabled then we'll pull the value out of this modifier then the value will be activated in the way they configed
◆ RecoverValue()
void CrossLink.DynamicModifier.RecoverValue |
( |
| ) |
|
recover value state to default
◆ setting
SettingType CrossLink.DynamicModifier.setting = SettingType.UseValue |
define wehere to read value
◆ valueEffect
SettingValueEffect CrossLink.DynamicModifier.valueEffect = SettingValueEffect.UseSettingValue |
only affect when enabled by setting
◆ valueInSetting
float CrossLink.DynamicModifier.valueInSetting |
used when toggle to SettingType.EnableBySetting