feat(citizen-server-gui): add state bags viewer gui
Goal of this PR
Add a new debug menu that displays state bag statistics, rate limit data, a list of state bags, and the ability to view information about each one. I know the description is lacking right now, but I'm too tired to write a proper one at the moment :sweat_smile:.
How is this PR achieving the goal
Create multiple functions in StateBagComponent that return information to be able to render them in the GUI
This PR applies to the following area(s)
Server
Successfully tested on
Game builds: 3258 Platforms: Windows
Checklist
- [x] Code compiles and has been tested successfully.
- [ ] Code explains itself well and/or is documented.
- [x] My commit message explains what the changes do and what they are for.
- [x] No extra compilation warnings are added by these changes.
Fixes issues
fixes #3528
This is very cool, but also Client ID is not their client id its their slot id, iirc some of the other ui has something to convert from slot -> net.
Really cool, wonder how'd look with 2k clients
This is very cool, but also Client ID is not their client id its their slot id, iirc some of the other ui has something to convert from slot -> net.
Solved
Really cool, wonder how'd look with 2k clients
Yeah I'm curious too :laughing:
please add that. would be very helpfull to understand statebags way better