diff options
author | sfan5 <sfan5@live.de> | 2020-04-09 23:40:12 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-05-05 19:26:59 +0200 |
commit | 2062c80e21b657fed8e68aa48523fa12ad5ef095 (patch) | |
tree | 4e760f58a01ddcf55593bed8abcbf41d11f1c96b /src/nodedef.h | |
parent | d1c6cc72cce7e02dcaca7797b463d071d67d27db (diff) | |
download | dragonfireclient-2062c80e21b657fed8e68aa48523fa12ad5ef095.tar.xz |
Allow ObjDefManager instances to be cloned
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index c77d53324..0fce6eab1 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -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); |