The difference between a trait and an event would be that an event is global: you can't choose which implementation is used, while with a trait, you can choose.
One place this would be used is the networking packet hooks. This would be where you could put some sort of anti-cheat subsystem.
The difference between a trait and an event would be that an event is global: you can't choose which implementation is used, while with a trait, you can choose.
One place this would be used is the networking packet hooks. This would be where you could put some sort of anti-cheat subsystem.