diff --git a/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomEntries.lua b/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomEntries.lua index e332f8f67..90e0c62b6 100644 --- a/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomEntries.lua +++ b/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomEntries.lua @@ -81,6 +81,7 @@ function Ext.RegisterConsoleCommand(cmd, handler) end --- @class EntityHandle --- @field CreateComponent fun(self:EntityHandle, type:ExtComponentType):BaseComponent --- @field GetComponent fun(self:EntityHandle, type:ExtComponentType):BaseComponent +--- @field HasRawComponent fun(self:EntityHandle, type:FixedString):boolean --- @field GetAllComponents fun(self:EntityHandle, warnOnMissing:boolean?):table --- @field GetAllComponentNames fun(self:EntityHandle, mapped:boolean?):table --- @field GetEntityType fun(self:EntityHandle):number diff --git a/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomFunctionExtras.lua b/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomFunctionExtras.lua index cbabeb6f3..8eb51f11c 100644 --- a/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomFunctionExtras.lua +++ b/BG3Extender/LuaScripts/Libs/HelpersGenerator/CustomFunctionExtras.lua @@ -108,6 +108,9 @@ function Ext_ServerOsiris.RegisterListener(name, arity, typeName, callback) end ["ExtuiTreeParent.AddChildWindow"] = { ReplaceReturnValue = "ExtuiChildWindow" }, + ["ExtuiTreeParent.AddMenu"] = { + ReplaceReturnValue = "ExtuiMenu" + }, ["ExtuiTreeParent.AddRadioButton"] = { ReplaceReturnValue = "ExtuiRadioButton" },