Gets the field with the given name.
(name)
| 11141 | } |
| 11142 | /** Gets the field with the given name. */ |
| 11143 | tryField(name) { |
| 11144 | const handle = Il2Cpp.Api._classGetFieldFromName(this, Memory.allocUtf8String(name)); |
| 11145 | return handle.isNull() ? null : new Il2Cpp.Field(handle); |
| 11146 | } |
| 11147 | /** Gets the method with the given name and parameter count. */ |
| 11148 | tryMethod(name, parameterCount = -1) { |
| 11149 | const handle = Il2Cpp.Api._classGetMethodFromName(this, Memory.allocUtf8String(name), parameterCount); |