(object: Il2Cpp.Object)
| 193 | } |
| 194 | |
| 195 | function formatObjectSummary(object: Il2Cpp.Object): string { |
| 196 | const className = getClassName(object.class); |
| 197 | const text = sanitizeText(object.toString()); |
| 198 | if (text.length === 0 || text === "null") { |
| 199 | return colorize(`& ${className}`, "gray"); |
| 200 | } |
| 201 | |
| 202 | return colorize(`& ${className}: ${text}`, "gray"); |
| 203 | } |
| 204 | |
| 205 | function tryAsArray(object: Il2Cpp.Object): Il2Cpp.Array | null { |
| 206 | try { |
no test coverage detected