mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
implement options
This commit is contained in:
@@ -31,6 +31,7 @@ public:
|
||||
bool load(const std::string& file);
|
||||
bool save();
|
||||
|
||||
bool exists(const std::string& key) { return m_confsMap.find(key) != m_confsMap.end(); }
|
||||
void set(const std::string& key, const std::string& value) { m_confsMap[key] = value; }
|
||||
std::string get(const std::string& key) { return m_confsMap[key]; }
|
||||
|
||||
|
Reference in New Issue
Block a user