Commando icon indicating copy to clipboard operation
Commando copied to clipboard

Loaders and Loadables

Open Gawdl3y opened this issue 7 years ago • 1 comments

Currently, the registry handles fancy loading, unloading, and reloading of commands. In order to make this logic reusable for things other than commands, this logic will need to be abstracted out into a Loader/Loadable system.

Gawdl3y avatar Sep 26 '18 03:09 Gawdl3y

  • Would a Loader just have load, unload, and reload methods?
  • Would a Loadable just have unload and reload methods?
  • Would there be checks to make sure that a Loadable can only be loaded/unloaded/reloaded by a Loader that is compatible with it using a property on the Loader like an array of classes that can be loaded by the Loader?

brandonbothell avatar Jan 09 '19 11:01 brandonbothell