Expose engine funcs and globals for extensions. For now there're just a few of them, but it can be easily extended in the future when necessary.
Description
Adds new 3 classes which are exported to extensions.
IEngineFuncs exports engine functions which cannot be hooked.
IEngineFuncsHooked same as above but they can be hooked.
IEngineGlobals exports engine globals.
I haven't added ...Core functions for getting those functions inside the core since they can be used directly and I believe there's no need to add extra complexity.
Motivation and Context
Extensions needs them to provide some basic functionality, like getting cmd params, getting game time etc.
How has this been tested?
It'll be tested when there's at least one functional extension.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Expose engine funcs and globals for extensions. For now there're just a few of them, but it can be easily extended in the future when necessary.
Description
Adds new 3 classes which are exported to extensions.
IEngineFuncs
exports engine functions which cannot be hooked.IEngineFuncsHooked
same as above but they can be hooked.IEngineGlobals
exports engine globals.I haven't added
...Core
functions for getting those functions inside the core since they can be used directly and I believe there's no need to add extra complexity.Motivation and Context
Extensions needs them to provide some basic functionality, like getting cmd params, getting game time etc.
How has this been tested?
It'll be tested when there's at least one functional extension.
Types of changes
Checklist: