mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
core.get_setting test
This commit is contained in:
parent
75a7b89fc8
commit
f8ec75b121
5 changed files with 20 additions and 8 deletions
|
|
@ -353,7 +353,7 @@ Value::~Value() {
|
|||
}
|
||||
}
|
||||
|
||||
Value Value::of(bool value) {
|
||||
Value Value::boolean(bool value) {
|
||||
return Value(valtype::boolean, value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace dynamic {
|
|||
Value(valtype type, valvalue value);
|
||||
~Value();
|
||||
|
||||
static Value of(bool value);
|
||||
static Value boolean(bool value);
|
||||
static Value of(number_u value);
|
||||
static Value of(const std::string& value);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue