-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added global lua function CreateInvalidObject (#652) #666
Conversation
Can someone just Clone the branch from my fork, compile and test it locally, then just force merge? |
I think "Blank" is a bit confusing. Maybe dummy or empty? |
Perhaps "CreateInvalidObject" is even more accurate to what the function actually does ? |
I guess CreateInvalidLuaUObject is too verbose |
Yeah I don't think "LuaU" is necessary, and besides, we might reuse this function at some point for non-UObject stuff so it's nice to keep the "U" out of "Object". |
Yeah. I guess CreateInvalidObject works. |
Tested; local invalidObject = CreateInvalidObject()
print("blankObject variable type: " .. type(invalidObject))
if invalidObject then
print("blankObject userdata type: " .. invalidObject:type())
print("blankObject IsValid: " .. tostring(invalidObject:IsValid()))
end Result:
|
Resolves #652
Testing
Built UE4SS and deployed in Abiotic Factor.
Tested with Lua code:
Result:
Additional
Fixed
FindFirstOf
return type annotation inTypes.lua
Documentation
All changes documented in
Changelog.md
and created a new docs page forCreateBlankObject
.