(klass: Il2Cpp.Class)
| 337 | } |
| 338 | |
| 339 | function addClassMethods(klass: Il2Cpp.Class): void { |
| 340 | let methods: Il2Cpp.Method[]; |
| 341 | try { |
| 342 | methods = klass.methods; |
| 343 | } catch (_error) { |
| 344 | return; |
| 345 | } |
| 346 | |
| 347 | for (const method of methods) { |
| 348 | addMethod(method); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | function addMethod(method: Il2Cpp.Method): void { |
| 353 | const module = getIl2CppModule(); |
no test coverage detected