Module versions

Module versions 

Source
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