mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
ToolDefManager serialization
This commit is contained in:
parent
8d2d28f1dc
commit
0754f2a7af
2 changed files with 39 additions and 1 deletions
|
@ -85,6 +85,9 @@ public:
|
|||
const std::string &toolname) const =0;
|
||||
|
||||
virtual bool registerTool(std::string toolname, const ToolDefinition &def)=0;
|
||||
|
||||
virtual void serialize(std::ostream &os)=0;
|
||||
virtual void deSerialize(std::istream &is)=0;
|
||||
};
|
||||
|
||||
IWritableToolDefManager* createToolDefManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue