Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/UnLua
/ GetState
Function
GetState
Plugins/UnLua/Source/UnLua/Private/UnLuaBase.cpp:41–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
lua_State* GetState()
42
{
43
const auto Env = IUnLuaModule::Get().GetEnv();
44
return Env ? Env->GetMainState() : nullptr;
45
}
46
47
bool Startup()
48
{
Callers
15
Parse
Method · 0.85
Append
Method · 0.85
Patch
Method · 0.85
CloneTopOperand
Method · 0.85
CreateState
Function · 0.85
SetUp
Method · 0.85
RunTest
Method · 0.85
Run
Function · 0.85
RunTest
Method · 0.85
RunTest
Method · 0.85
RunTest
Method · 0.85
RunTest
Method · 0.85
Calls
2
Get
Function · 0.50
GetEnv
Method · 0.45
Tested by
15
SetUp
Method · 0.68
RunTest
Method · 0.68
Run
Function · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68
RunTest
Method · 0.68