Commit Graph
4 Commits
Author SHA1 Message Date
noccy 070f607187 Add support for registering classes with CommandRegistry
* Calling registerClass() on CommandRegistry will result in all
  methods having the #[RpcCallable("command-here")] attribute
  being registered as commands.
* Commands can be unregistered by calling unregisterClass().
2025-04-07 00:06:55 +02:00
noccy 9ab9561270 Refactor names in CommandResolverInterface 2024-12-28 15:35:41 +01:00
noccy 07f8ae467c Make CommandBus use CommandResolverInterface
* Add CommandResolverInterface to resolve commands.
* Replace single CommandRegistry with CommandResolverInterface[]
  in CommandBus.
* Make CommandRegistry implement CommandResolverInterface.
2024-12-15 13:24:57 +01:00
noccy befe5f5d59 Initial commit 2024-03-01 14:34:14 +01:00