add contains function to ds

This commit is contained in:
altalk23 2022-06-06 19:32:53 +03:00
parent 8b57d68f7b
commit 189574c945

View file

@ -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();
};