PlateUp!

PlateUp!

KitchenLib (Beta)
Showing 71-80 of 85 entries
< 1 ... 6  7  8  9 >
Update: 15 Feb, 2023 @ 9:34pm

KitchenLib Beta v0.5.2bRC-5

Release Notes - API Related

KLMenu

- Once new profile is created, it will be selected automatically.
- Preferences will not be saved while Created is selected.

Update: 15 Feb, 2023 @ 9:17pm

KitchenLib Beta v0.5.2bRC-4

Release Notes - API Related

KLMenu

- AddProfileSelector, bool updateOnHightlight now defaults to true

Update: 15 Feb, 2023 @ 9:11pm

KitchenLib Beta v0.5.2bRC-3

Release Notes - API Related

KLMenu

- AddProfileSelector now automatically assigns GlobalPreferences
- Added bool parameter to AddProfileSelector(string mod_id, Action<string> action, bool updateOnHighlight = false)

Update: 15 Feb, 2023 @ 10:27am

KitchenLib Beta v0.5.3bRC-2

Release Notes - API Related

Base Classes

- Added PreferenceDictionary<T1, T2>
- Added PreferenceList<T>

Utilities

GlobalPreferences

- Added string[] GetProfilesS(string mod_id)
- Added void AddProfile(string mod_id, string profile)
- Added void RemoveProfile(string mod_id, string profile)
- Added bool DoesProfileExist(string mod_id, string profile)
- Added string GetProfile(string mod_id)
- Added void SetProfile(string mod_id, string profile)

KLMenu

- Added AddProfileSelector(string mod_id, Action<string> action)

Preferences

- Fixed a bug causing mod folder to not generate

Update: 15 Feb, 2023 @ 4:22am

KitchenLib Beta v0.5.2bRC-1

Release Notes - API Related

Utilities

PreferenceUtils

- `PreferenceUtils` is now Obsolete.

PreferenceManager

- `Get<T>(string key, object value)` is now `Set<T>(string key, object value)`
- Added `SetProfile(string profile)`
- Moved each mod to store their preferences in their own sub-folder.

Update: 14 Feb, 2023 @ 6:19am

KitchenLib Beta v0.5.2b8-Pref

Release Notes - API Related

Utilities

PreferenceUtils

- `PreferenceUtils` is now Obsolete.

PreferenceManager

- Added `PreferenceManager(string MOD_ID)`
- Added `PreferenceBase PreferenceManager.RegisterPreference(PreferenceBase preference)`
- Added `PreferenceManager.Save()`
- Added `PreferenceManager.Load()`
- Added `PreferenceManager.Get<PreferenceBase>(string key)`
- Added `PreferenceManager.Set<PreferenceBase>(string key, object value)`

Update: 13 Feb, 2023 @ 6:15pm

KitchenLib Beta v0.5.2b7

Release Notes - API Related

Utilities

PreferenceUtils

- Readded Save(string file) alongside new Save(string MOD_ID, string file) for backwards compatibility.

Update: 13 Feb, 2023 @ 6:02pm

KitchenLib Beta v0.5.2b6

Release Notes - API Related

Utilities

PreferenceUtils

- `Save()` Now has a MOD_ID parameter. This is to allow for mods to save their own preferences without interfering with other mods.
- `Save(string MOD_ID, string file)`

Update: 13 Feb, 2023 @ 5:46pm

KitchenLib Beta 0.5.2 b5

Release Notes - API Related

Base Classes

CustomUnlock

- Added `string IconOverride`
- Added `Color ColourOverride`

Update: 13 Feb, 2023 @ 4:46pm

Version Bump