diff --git a/BG3Extender/GameDefinitions/Base/TypeInformation.inl b/BG3Extender/GameDefinitions/Base/TypeInformation.inl index 67e10dea..bcfad6ef 100644 --- a/BG3Extender/GameDefinitions/Base/TypeInformation.inl +++ b/BG3Extender/GameDefinitions/Base/TypeInformation.inl @@ -193,6 +193,9 @@ void TypeInformationRepository::Initialize() RegisterStaticType("Guid", LuaTypeId::String); //RegisterStaticType("TemplateHandle", LuaTypeId::Integer); RegisterStaticType("Ref", LuaTypeId::Any); + RegisterStaticType("AnyRef", LuaTypeId::Any); + RegisterStaticType("AnyUserdataRef", LuaTypeId::Object); + RegisterStaticType("FunctionRef", LuaTypeId::Function); RegisterStaticType("RegistryEntry", LuaTypeId::Any); RegisterStaticType("PersistentRef", LuaTypeId::Any); RegisterStaticType("PersistentRegistryEntry", LuaTypeId::Any); diff --git a/BG3Extender/Lua/Shared/Proxies/LuaTypeInformation.cpp b/BG3Extender/Lua/Shared/Proxies/LuaTypeInformation.cpp index 4e8aab66..a54445ec 100644 --- a/BG3Extender/Lua/Shared/Proxies/LuaTypeInformation.cpp +++ b/BG3Extender/Lua/Shared/Proxies/LuaTypeInformation.cpp @@ -108,6 +108,7 @@ void RegisterObjectProxyTypeInformation() #define END_ENUM() GetStaticTypeInfo(Overload{}).Type = &ty; })(); #include +#include #undef BEGIN_BITMASK_NS #undef BEGIN_ENUM_NS diff --git a/BG3Extender/resource.h b/BG3Extender/resource.h index 7c6c0dd9..51b2575b 100644 --- a/BG3Extender/resource.h +++ b/BG3Extender/resource.h @@ -2,8 +2,8 @@ // Microsoft Visual C++ generated include file. // Used by BG3Extender.rc // -#define RES_DLL_MAJOR_VERSION 14 -#define RES_DLL_VERSION_STRING "14.0.0.0" +#define RES_DLL_MAJOR_VERSION 15 +#define RES_DLL_VERSION_STRING "15.0.0.0" #define IDR_LUA_BUILTIN_BUNDLE 101 #define IDR_BINARY_MAPPINGS 107