fix: improve skill management in InventoryComponent to ensure correct client updates

This commit is contained in:
Aaron Kimbrell
2026-06-09 16:03:15 -05:00
parent 54dc3a0b80
commit dd24e20165
3 changed files with 45 additions and 9 deletions

View File

@@ -402,6 +402,8 @@ public:
std::map<BehaviorSlot, uint32_t> GetSkills() { return m_Skills; };
void ClearSkills() { m_Skills.clear(); };
bool SetSkill(int slot, uint32_t skillId);
bool SetSkill(BehaviorSlot slot, uint32_t skillId);