Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 109 forks source link

feat: event on group updates #415

Closed solareon closed 3 months ago

solareon commented 3 months ago

Description

When updating groups for a player we don't trigger any event that can be consumed to update other resources. This adds a new event for resources to listen to and perform various functions such as updating UIs etc.

Checklist

FjamZoo commented 3 months ago

Wouldnt it be better just to send the name and the grade that was modified, and the name that was removed?

That way scripts can do individual checks like if x was removed do y

instead of having to iterate over the entire table