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

Method AddKey

Plugins/UnLua/Source/UnLua/Private/UnLuaDebugBase.cpp:127–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 FLuaDebugValue* FLuaDebugValue::AddKey()
128 {
129 // limit value depth
130 if (Depth >= MAX_LUA_VALUE_DEPTH)
131 {
132 return nullptr;
133 }
134
135 Keys.AddDefaulted();
136 FLuaDebugValue &Key = Keys.Top();
137 Key.Depth = Depth + 1;
138 return &Key;
139 }
140
141 FLuaDebugValue* FLuaDebugValue::AddValue()
142 {

Callers

nothing calls this directly

Calls 2

AddDefaultedMethod · 0.80
TopMethod · 0.80

Tested by

no test coverage detected