BTKUILib Release v2.3.0
Sup nerds! Here be the release of 2.3.0, with even more feature creep from the first preview!
This update brings a TON of quality of life features to UILib for both users and mod developers! Be sure to check out the new stuff, I'll be working on updating the wiki pages with the new stuff soon!
THIS UPDATE CONTAINS A POTENTIALLY BREAKING CHANGE!
Users can now select themselves in the playerlist, this means that any option in the player select page can now find itself getting the local user, this may cause unforeseen issues! Please check your mods out!
Changes:
- Reworked PlayerList to use normal button creation instead of jank JS stuff
- Added OpenPlayerListByUserID to QuickMenuAPI
- Added OnPlayerEntitySelected action to QuickMenuAPI, this reutrns the CVRPlayerEntity object when selected
- Fixed some playerlist icons not properly highlighting on hover
- Added Expand button to PlayerList and Player Settings page, this opens the big menu equivalent
- Added Quick User Settings to Player Settings page, this includes common self moderation functions
- Added patch to hijack player selection while the QM is open, it'll now open the Player Select page
- Adjusted Keyboard to use KeyboardClose function as well
- Added NotAKid's MelonPref UILib extensions to the library natively
- Hopefully fixed playerlist being empty after a quick disconnect/reconnect event
- Fixed UIUtils.GetIconStream not fetching from the correct assembly
- Wrapped CVRPlayerEntity with UIPlayerObject, this will be used for anything related to the PlayerList
- Switched everything in PlayerList to use UIPlayerObject
- Added Kick, Vote Kick, and Friending to player select quick settings panel
- Added local user to PlayerList entries
- Added Misc Tab First option to BTKUI Settings page
- Added QuickMenuAPI.OpenPlayerList function
- Added QuickMenuAPI.OpenPlayerSelector function, this reuses the PlayerList as a player selector and fires a callback when selected
- Added QuickMenuAPI.OpenPlayerListByUserID function, this opens the player select to a given user