| 21 | { |
| 22 | |
| 23 | FString FLuaDebugValue::ToString() const |
| 24 | { |
| 25 | FString Description; |
| 26 | for (int32 i = 0; i < Depth; ++i) |
| 27 | { |
| 28 | Description += TEXT("\t"); |
| 29 | } |
| 30 | Description += ReadableValue; |
| 31 | |
| 32 | for (int32 i = 0; i < Keys.Num(); ++i) |
| 33 | { |
| 34 | Description += Keys[i].ToString(); |
| 35 | Description += Values[i].ToString(); |
| 36 | Description += TEXT("\n"); |
| 37 | } |
| 38 | |
| 39 | return Description; |
| 40 | } |
| 41 | |
| 42 | void FLuaDebugValue::Build(lua_State *L, int32 Index, int32 Level) |
| 43 | { |