mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +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
|
@ -95,6 +95,8 @@ public:
|
|||
Schematic();
|
||||
virtual ~Schematic();
|
||||
|
||||
ObjDef *clone() const;
|
||||
|
||||
virtual void resolveNodeNames();
|
||||
|
||||
bool loadSchematicFromFile(const std::string &filename,
|
||||
|
@ -128,6 +130,8 @@ public:
|
|||
SchematicManager(Server *server);
|
||||
virtual ~SchematicManager() = default;
|
||||
|
||||
// not cloneable
|
||||
|
||||
virtual void clear();
|
||||
|
||||
const char *getObjectTitle() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue