| 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 |
nothing calls this directly
no test coverage detected