mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
assets preloading with preload.json
This commit is contained in:
parent
739282dce9
commit
7449434f5c
8 changed files with 209 additions and 64 deletions
|
|
@ -77,6 +77,11 @@ namespace dynamic {
|
|||
std::unordered_map<std::string, std::unique_ptr<Value>> values;
|
||||
~Map();
|
||||
|
||||
std::string getStr(std::string key) const;
|
||||
double getNum(std::string key) const;
|
||||
int64_t getInt(std::string key) const;
|
||||
bool getBool(std::string key) const;
|
||||
|
||||
std::string getStr(std::string key, const std::string& def) const;
|
||||
double getNum(std::string key, double def) const;
|
||||
int64_t getInt(std::string key, int64_t def) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue