mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-10 18:18:26 +00:00
Remove GameConfig
This commit is contained in:
@@ -51,3 +51,7 @@ void dConfig::ProcessLine(const std::string& line) {
|
||||
|
||||
this->m_ConfigValues.insert(std::make_pair(key, value));
|
||||
}
|
||||
|
||||
void dConfig::AddToConfig(std::string& key, std::string& value) {
|
||||
this->m_ConfigValues.insert_or_assign(key, value);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,11 @@ public:
|
||||
*/
|
||||
void ReloadConfig();
|
||||
|
||||
/**
|
||||
* Adds to or replaces a config in the config values.
|
||||
*/
|
||||
void AddToConfig(std::string& key, std::string& value);
|
||||
|
||||
private:
|
||||
void ProcessLine(const std::string& line);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user