Can you please add MAX_QUICKBAR_SLOTS_COUNT constant to QuickBarBase class, so we can modding it.
Another hardcoded value that should be replaced with MAX_QUICKBAR_SLOTS_COUNT :
Check inside my screenshot the line where the comment "just for sure, max map slots is 10" is
This check is useless because it's already done in SetSize function, but if you want to keep this check can you use MAX_QUICKBAR_SLOTS_COUNT instead 10?