Releases: TheAnsuz/Lethal-Company-Configurable-Company-API
Releases · TheAnsuz/Lethal-Company-Configurable-Company-API
Release 3.4.0
Fixed
- Change reason for synchronization was set to READ_FROM_FILE, now has been changed to SYNCHRONIZATION
- Sliders will now display the correct state according to their modification
Added
- Configurations can now be randomized, by default it will select a value close to default but you can implement your randomizer for your configurations using the
CRandomizer
class andRNGProvider
for custom random algorithms. - Added a help button with information about how to use the menu.
Modified
- Updated all wikies with the usage of the menu
Release 3.3.2
Added
string
andbool
configurations can now be converted to more types
Release 3.3.1
Fixed
- Fixed a regression causing the mod to soft crash when the preset folder didn't exist
Release 3.3.0
Fixed
- [3.2.1 Hotfix] Fixed Configurable company crashing always
- Fixed preset creationg not updating instantly
Added
- Configurations now display their name in italic when they are not saved
- Configurations now display their name in bold when they do not match their default value.
- Added optional override method
OnModifiedState
inConfigDisplay
to implement your own actions depending if the configuration matches it's default value or current saved value. - Added optional override method
ValueEquals
tinConfigDisplay
to implement your checker for the current value. - Sections now have an arrow to indicate their open state
Modified
- Presets will now use the saved configurations rather than save the temporal values and use them
Release 3.2.0
Fixed
- Fixed
DecimalRangeTypes
andIntegerRangeType
returning minimum value two times as tuple. - Fixed
InputValidator
instantiation warning spam.
Added
- Added
CBind<T>
to directly access configuration values as a specific type. - Added
ConfigChangeSingle
to listen for changes on a specific configuration. - Added configuration presets. These presets will be shared with your profile.
- Added builder accesors for easier creation of
CCategories
,CSections
andCConfigs
. - New wiki page for first steps and first config.
Modified
- Configuration categories can now be closed from the sidebar.
- Configuration sections can now be hidden or shown for better organization.
Release 3.1.0
Fixed
- Hard crash when trying to get value of range configuration type
- Typo on
CConfigBuilder
Toggleable
Added
- Accesibility methods for
RangeTypes
Removed
- Accesibility methods for number variables now require to input both arguments
- Unnecesary console logs in release version
3.0.1
Release 3.0.0
Modified
- Configurations now are not shared between profiles
- Reworked the whole interface
- Reimplemented everything
Added
- Configurations now will synchronize in real time
- Added sections to split categories even more
- New configuration type
Range
wich accepts any agrupation of two values (array[2], Tuple<,> and ValueTuple<,>)
Fixed
- Compatibility issues with many mods such as better saves
Release 2.6.0
Fixed
- Menu not appearing when hosting after joining a game
Added
- Configurations can be reverted by clicking while holding Shift key
- Configurations can be reset by clicking while holding Ctrl + Shift
- Added
experimental
tag - Added buttons to
copy
andpaste
configurations so you can share them with your friends
Deprecated
- The attribute
Needs restart
is now obsolete, it will be removed in future releases.
The decision has been made because developers should try to make their settings modificable even after the game has started. This might be hard to understand but Ill be glad to help anyone who needs asistance with it, you can also check Lethal company variables and see how it implements this functionality.
Removed
- Removed the log entry when loading configurations from file