- Added float, double settingentry types. Adjusted display formatting.
- Added menu refresh on Apply button. - Fixed package name resolution for invalid chars. - Added helper console command to get xml-safe name for use in localization files. - Made error messages for bad settings xml more descriptive. - Modified GUISlider. - Converted HarmonyEventPatchesService to a System. - Fixed package name resolution for incompatible names in Xml and files, in many places. - Fixed base textbox implementation for settings.
This commit is contained in:
+3
@@ -34,6 +34,9 @@ public class SettingsEntryRegistrar : ISettingsRegistrationProvider
|
||||
RegisterSettingEntry<long>(configService, "long", valueChangePredicate);
|
||||
RegisterSettingEntry<ulong>(configService, "ulong", valueChangePredicate);
|
||||
RegisterSettingEntry<string>(configService, "string", valueChangePredicate);
|
||||
RegisterSettingEntry<float>(configService, "float", valueChangePredicate);
|
||||
RegisterSettingEntry<float>(configService, "single", valueChangePredicate);
|
||||
RegisterSettingEntry<double>(configService, "double", valueChangePredicate);
|
||||
|
||||
// ISettingRangeBase<T>
|
||||
configService.RegisterSettingTypeInitializer("rangeInt", cfgInfo =>
|
||||
|
||||
Reference in New Issue
Block a user