How To Add Multiple Command Handlers
Diarkis commands (client to server) can have multiple command handler functions registered.
All command handlers will be invoked and executed in the order of their declarations.
The build-in commands' version and command ID are defined and exposed in "github.com/Diarkis/diarkis/util" package.
The following sample explains how to add a command handler before and after the room creation of Room module.
Last updated