Skip to content

Releases: TheAnsuz/Lethal-Company-Configurable-Company-API

Release 3.4.0

26 Apr 12:31
Compare
Choose a tag to compare

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 and RNGProvider 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

19 Apr 16:32
Compare
Choose a tag to compare

Added

  • string and bool configurations can now be converted to more types

Release 3.3.1

09 Apr 10:37
Compare
Choose a tag to compare

Fixed

  • Fixed a regression causing the mod to soft crash when the preset folder didn't exist

Release 3.3.0

08 Apr 11:15
Compare
Choose a tag to compare

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 in ConfigDisplay to implement your own actions depending if the configuration matches it's default value or current saved value.
  • Added optional override method ValueEquals tin ConfigDisplay 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

05 Apr 13:12
Compare
Choose a tag to compare

Fixed

  • Fixed DecimalRangeTypes and IntegerRangeType 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 and CConfigs.
  • 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

08 Mar 16:41
Compare
Choose a tag to compare

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

02 Mar 13:42
Compare
Choose a tag to compare

3.0.1

Modified

  • Code cleanup

Fixed

  • Now you can change configurations for BetterSaves's new file
  • Fixed incorrect Canvas attachment of the menu with some mods

Release 3.0.0

01 Mar 11:09
Compare
Choose a tag to compare

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

15 Feb 18:54
Compare
Choose a tag to compare

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 and paste 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

2.5.4

06 Feb 11:19
Compare
Choose a tag to compare

Configurations now will be the same no matter the region wich will allow users to share configurations easily. (And play with people from other regions without synchronization issues)