mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
menu page queries
This commit is contained in:
parent
7f8a86b740
commit
4dc2c4701d
8 changed files with 55 additions and 11 deletions
|
|
@ -386,3 +386,7 @@ std::unique_ptr<Value> Value::of(number_u value) {
|
|||
std::unique_ptr<Value> Value::of(const std::string& value) {
|
||||
return std::make_unique<Value>(valtype::string, value);
|
||||
}
|
||||
|
||||
std::unique_ptr<Value> Value::of(std::unique_ptr<Map> value) {
|
||||
return std::make_unique<Value>(valtype::map, value.release());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue