mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
add contains function to ds
This commit is contained in:
parent
8b57d68f7b
commit
189574c945
1 changed files with 2 additions and 1 deletions
|
@ -160,10 +160,11 @@ namespace geode {
|
|||
|
||||
DataStore(Mod* m, nlohmann::json& j) : m_mod(m), m_store(j) {}
|
||||
friend class Mod;
|
||||
public:
|
||||
public:
|
||||
~DataStore();
|
||||
nlohmann::json& operator[](std::string const&);
|
||||
DataStore& operator=(nlohmann::json&);
|
||||
bool contains(std::string const&);
|
||||
operator nlohmann::json();
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue