Interface IAppliedConfigValueChange<T>
- Type Parameters:
T- config value type
@NonExtendable
public interface IAppliedConfigValueChange<T>
Describes one setting before and after an applied change.
Batch updates and listeners provide these objects so mods can react without re-reading every setting. Pending listeners describe saved selections; effective listeners describe values currently used by the game.
- Since:
- 0.1.0
-
Method Details
-
configValue
IConfigValue<T> configValue()Get the config value that changed.- Since:
- 0.1.0
-
oldValue
T oldValue()Get the value before the change.- Since:
- 0.1.0
-
newValue
T newValue()Get the value after the change.- Since:
- 0.1.0
-