Expand description
Constants for defining current feature versions of the software
This is used heavily with plugin compatibility checking, please report features your plugins use correctly. If version of one of the listed features updates and your plugin is using it, it will be deemed incompatible. This is made to ensure that the program will not crash because of API differences between plugin and the core.
Versions here do not represent how up to date the features are, versions here are just for making sure plugins are not using unsupported API.
Constants§
- COMPILER_
VERSION - Compiler version used to compile the project, make sure you’re using same toolchain version as specified here (1.64)
- CONFIG
- Config, will be updated everytime there’s changes to existing functions or functions get deleted
- CORE
- Core version, will be updated everytime there’s change to core struct, probably never
- CORE_
EVENTS - Core events, will be updated everytime there’s changes to existing events or an event was removed
- CORE_
METHODS - Core methods version, will be updated everytime there’s changes to existing functions or functions get deleted
- GLOBAL_
EVENTS - Global events, will be updated everytime there’s changes to existing events or an event was removed
- MODULE_
MANAGER - Module manager, will be updated everytime there’s changes to existing functions or functions get deleted
- PLUGIN_
API - API related to plugin definition and initialization, will be updated very rarely if ever
- RENDERING
- Rendering version, will be updated everytime there’s changes to existing rendering API for plugins
- SDMODULE_
TRAIT - SDModule trait version, will be updated everytime there’s a change to the module trait
- SOCKET_
API - Socket API of daemon, mostly used for socket communication, will be updated everytime there’s changes to existing requests or a request was removed
- SUPPORTED_
FEATURES - Constant array of currently supported features, can also be used for plugin to specify using all of the features