Minor bugfix, added reflection notify

This commit is contained in:
Vulpovile
2023-11-09 00:36:59 -08:00
parent 11362f0f63
commit 39d91f3943
13 changed files with 48 additions and 31 deletions

View File

@@ -1,4 +1,5 @@
#include "Reflection/ReflectionDataTable.h"
#include "DataModelV3/Instance.h"
using namespace B3D::Reflection;
@@ -26,6 +27,11 @@ std::string ReflectionDataTable::getClassName(void)
return className;
}
void ReflectionDataTable::notify(ReflectionProperty<void*>* prop)
{
parentInstance->reflectionNotify(prop);
}
void ReflectionDataTable::mapProperty(std::string key, ReflectionProperty<void*>* prop)
{
if(propertyTable.find(key) != propertyTable.end())