Extensions provide a means of adding functionality to CommandHelper and the MethodScript engine. While the API used is under construction still, it is still deemed stable enough for production use. Any breakages will be minimal, and deprecation will be used where it applies.
An extension currently consists of three core parts:
- The lifecycle class, which takes care of the life and identity of the extension.
- Events, which add new events that MScript can use, and
- Functions, which add new functionality to MScript. These can make use of the optimization engine as well, to be integrated with the MScript compilation process.