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

Method AddValue

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

Source from the content-addressed store, hash-verified

139 }
140
141 FLuaDebugValue* FLuaDebugValue::AddValue()
142 {
143 // limit value depth
144 if (Depth >= MAX_LUA_VALUE_DEPTH)
145 {
146 return nullptr;
147 }
148
149 Values.AddDefaulted();
150 FLuaDebugValue &Value = Values.Top();
151 Value.Depth = Depth + 1;
152 return &Value;
153 }
154
155 /**
156 * Get container object based on UStruct

Callers

nothing calls this directly

Calls 2

AddDefaultedMethod · 0.80
TopMethod · 0.80

Tested by

no test coverage detected