mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Derive NodeMetaRef from MetaDataRef
This commit is contained in:
parent
13f94ecad5
commit
c2e7b1f579
9 changed files with 407 additions and 232 deletions
|
@ -44,10 +44,10 @@ public:
|
|||
bool empty() const;
|
||||
|
||||
// Generic key/value store
|
||||
std::string getString(const std::string &name, u16 recursion = 0) const;
|
||||
const std::string &getString(const std::string &name, u16 recursion = 0) const;
|
||||
void setString(const std::string &name, const std::string &var);
|
||||
// Support variable names in values
|
||||
std::string resolveString(const std::string &str, u16 recursion = 0) const;
|
||||
const std::string &resolveString(const std::string &str, u16 recursion = 0) const;
|
||||
const StringMap &getStrings() const
|
||||
{
|
||||
return m_stringvars;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue