mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Minor improvements to metadata handling
This commit is contained in:
parent
610ddaba7c
commit
700fbc803d
6 changed files with 31 additions and 29 deletions
|
@ -57,7 +57,10 @@ public:
|
|||
{
|
||||
return m_privatevars.count(name) != 0;
|
||||
}
|
||||
void markPrivate(const std::string &name, bool set);
|
||||
|
||||
/// Marks a key as private.
|
||||
/// @return metadata modified?
|
||||
bool markPrivate(const std::string &name, bool set);
|
||||
|
||||
private:
|
||||
int countNonPrivate() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue