27.10.2016, 14:30
Firstly, the upgrade/downgrade is negligible.
Secondly, it makes your code tidier.
By doing the check in OnPlayerCommandReceived callback, you avoid the command function call and also the OnPlayerCommandPerformed function call. You are saving two function calls.
Whatever the change in performance may be, it is so negligible that you won't even save 1ms after running the server for a whole day.
Secondly, it makes your code tidier.
By doing the check in OnPlayerCommandReceived callback, you avoid the command function call and also the OnPlayerCommandPerformed function call. You are saving two function calls.
Whatever the change in performance may be, it is so negligible that you won't even save 1ms after running the server for a whole day.