Skip to content

Commit

Permalink
Fix UI type information
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbyte committed Mar 25, 2024
1 parent 1a4b97d commit 6dd27c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions BG3Extender/GameDefinitions/Base/TypeInformation.inl
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ void TypeInformationRepository::Initialize()
RegisterStaticType<Guid>("Guid", LuaTypeId::String);
//RegisterStaticType<TemplateHandle>("TemplateHandle", LuaTypeId::Integer);
RegisterStaticType<lua::Ref>("Ref", LuaTypeId::Any);
RegisterStaticType<lua::AnyRef>("AnyRef", LuaTypeId::Any);
RegisterStaticType<lua::AnyUserdataRef>("AnyUserdataRef", LuaTypeId::Object);
RegisterStaticType<lua::FunctionRef>("FunctionRef", LuaTypeId::Function);
RegisterStaticType<lua::RegistryEntry>("RegistryEntry", LuaTypeId::Any);
RegisterStaticType<lua::PersistentRef>("PersistentRef", LuaTypeId::Any);
RegisterStaticType<lua::PersistentRegistryEntry>("PersistentRegistryEntry", LuaTypeId::Any);
Expand Down
1 change: 1 addition & 0 deletions BG3Extender/Lua/Shared/Proxies/LuaTypeInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ void RegisterObjectProxyTypeInformation()
#define END_ENUM() GetStaticTypeInfo(Overload<TEnum>{}).Type = &ty; })();

#include <GameDefinitions/Enumerations.inl>
#include <GameDefinitions/ExternalEnumerations.inl>

#undef BEGIN_BITMASK_NS
#undef BEGIN_ENUM_NS
Expand Down
4 changes: 2 additions & 2 deletions BG3Extender/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dd27c1

Please sign in to comment.