summaryrefslogtreecommitdiff
path: root/ZAPD/ZResource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ZAPD/ZResource.cpp')
-rw-r--r--ZAPD/ZResource.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ZAPD/ZResource.cpp b/ZAPD/ZResource.cpp
index 1e772ae..cb811f4 100644
--- a/ZAPD/ZResource.cpp
+++ b/ZAPD/ZResource.cpp
@@ -44,6 +44,7 @@ void ZResource::ExtractFromXML(tinyxml2::XMLElement* reader, offset_t nRawDataIn
if (decl != nullptr)
{
decl->declaredInXml = true;
+ decl->staticConf = staticConf;
}
}
}
@@ -231,6 +232,11 @@ bool ZResource::WasDeclaredInXml() const
return declaredInXml;
}
+StaticConfig ZResource::GetStaticConf() const
+{
+ return staticConf;
+}
+
offset_t ZResource::GetRawDataIndex() const
{
return rawDataIndex;