BeamMP / BeamMP-Server

Server for the multiplayer mod BeamMP for BeamNG.drive
https://beammp.com
GNU Affero General Public License v3.0
127 stars 53 forks source link

Refactor Settings out of Common.h #294

Closed jimkoen closed 3 months ago

jimkoen commented 7 months ago

Currently, dealing with TSettings in Common.h is very tedious (for example when wanting to output all settings for flush them, as requested in #158 ). In addition, Settings access is currently not threadsafe, and encapsulation of security related settings (i.e. AuthKey) from the rest of the application is implemented in a crude manner.

Settings need to be refactored into an abstraction that least supports:

jimkoen commented 3 months ago

Closed, was fixed in https://github.com/BeamMP/BeamMP-Server/pull/295