* refactor(Core): Let modules source config from env
* create a cache of configs from env
* Update src/common/Configuration/Config.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Update src/common/Configuration/Config.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* enforce new function name
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Core/Config: Implement config override with env vars
Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export TC_DATA_DIR=/usr
$ AC_WORLD_SERVER_PORT=8080 ./worldserver
* Add tests for env vars config