mirror of
https://github.com/edubart/otclient.git
synced 2025-12-19 15:17:12 +01:00
allow setting/getting nodes in g_configs
This commit is contained in:
@@ -37,6 +37,11 @@ public:
|
||||
void setList(const std::string& key, const std::vector<std::string>& list);
|
||||
std::string get(const std::string& key);
|
||||
std::vector<std::string> getList(const std::string& key);
|
||||
|
||||
void setNode(const std::string& key, const OTMLNodePtr& node);
|
||||
void addNode(const std::string& key, const OTMLNodePtr& node);
|
||||
OTMLNodePtr getNode(const std::string& key);
|
||||
|
||||
bool exists(const std::string& key);
|
||||
void remove(const std::string& key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user