mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Generic NodeMetadata text input
This commit is contained in:
parent
79c9f14aec
commit
64fa59e24f
3 changed files with 20 additions and 28 deletions
|
@ -36,8 +36,9 @@ public:
|
|||
virtual void serializeBody(std::ostream &os);
|
||||
virtual std::string infoText();
|
||||
|
||||
std::string getText(){ return m_text; }
|
||||
void setText(std::string t){ m_text = t; }
|
||||
virtual bool allowsTextInput(){ return true; }
|
||||
virtual std::string getText(){ return m_text; }
|
||||
virtual void setText(const std::string &t){ m_text = t; }
|
||||
|
||||
private:
|
||||
std::string m_text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue