mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Allow ObjDefManager instances to be cloned
This commit is contained in:
parent
d1c6cc72cc
commit
2062c80e21
13 changed files with 370 additions and 5 deletions
|
@ -739,6 +739,9 @@ public:
|
|||
virtual ~NodeResolver();
|
||||
virtual void resolveNodeNames() = 0;
|
||||
|
||||
// required because this class is used as mixin for ObjDef
|
||||
void cloneTo(NodeResolver *res) const;
|
||||
|
||||
bool getIdFromNrBacklog(content_t *result_out,
|
||||
const std::string &node_alt, content_t c_fallback,
|
||||
bool error_on_fallback = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue