MCPcopy Create free account
hub / github.com/Tencent/UnLua / PushUObject

Function PushUObject

Plugins/UnLua/Source/UnLua/Private/UnLuaBase.cpp:301–305  ·  view source on GitHub ↗

* Push a UObject */

Source from the content-addressed store, hash-verified

299 * Push a UObject
300 */
301 int32 PushUObject(lua_State *L, UObjectBaseUtility *Object, bool bAddRef)
302 {
303 FLuaEnv::FindEnvChecked(L).GetObjectRegistry()->Push(L, (UObject*)Object);
304 return 1;
305 }
306
307 /**
308 * Get a UObject at the given stack index

Callers 15

StartMethod · 0.85
Global_NewObjectFunction · 0.85
PushFunctionFunction · 0.85
Class_StaticClassFunction · 0.85
UObject_LoadFunction · 0.85
UObject_GetOuterFunction · 0.85
UObject_GetClassFunction · 0.85
UObject_GetWorldFunction · 0.85
UClass_LoadFunction · 0.85
UClass_GetDefaultObjectFunction · 0.85
UWorld_SpawnActorFunction · 0.85
UWorld_SpawnActorExFunction · 0.85

Calls 1

PushMethod · 0.45

Tested by 15

SetUpMethod · 0.68
RunFunction · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
RunTestMethod · 0.68
SetUpMethod · 0.68
RunTestMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68