UE4SS

Results 349 comments of UE4SS

> > For implementing type-checking of params, see these links: https://docs.ue4ss.com/lua-api/classes/ustruct.html#foreachpropertyfunction-callback https://docs.ue4ss.com/lua-api/classes/property.html#isapropertytypes-propertytype https://docs.ue4ss.com/lua-api/table-definitions/propertytypes.html?#propertytypes > > Do you mind elaborating on this part further? I assume you want me to type...

> I assume the above should be correct? It results in the following: > > ``` > [05:35:41] Error: [Lua::call_function] lua_pcall returned Tried calling a member function but the UObject...

If the `IsA` overload isn't implemented, you'd have to do string comparisons with `property:GetClass():GetFName():ToString()`. With `IsA` implemented, the idea is that you can do this instead: ```lua -- 'property1' being...

> I've run into a small problem which I'm not sure how to solve myself: > > ```lua > for i = 1, #OriginalTypes, 1 do > if (CallbackTypes[i]:IsA(OriginalTypes[i]:GetClass())) then...

According to [this](https://docs.unrealengine.com/5.2/en-US/large-world-coordinates-project-conversion-guidelines-in-unreal-engine-5/), it looks to me like a BP float can be either double or single precision automatically depending on context. So in theory, we should be able to...

> According to [this](https://docs.unrealengine.com/5.2/en-US/large-world-coordinates-project-conversion-guidelines-in-unreal-engine-5/), it looks to me like a BP float can be either double or single precision automatically depending on context. So in theory, we should be able...

I added NumericProperty & IsFloatingPoint to Lua. The following code should work: ```lua -- Excuse the extremely long line but I believe Lua has short circuiting so -- this should...

Changelog & docs need updating to reflect the changes in this PR.

Just to be clear, my previous comment wasn't a response to the question about the status of this PR. It's not ready for final review, and as far as the...

I think we can improve performance by removing all the string comparisons to "UFunction"`: ```lua -- At file/global-scope: local FunctionClass = StaticFindObject("/Script/CoreUObject.Function") if not FunctionClass:IsValid() then -- No need to...