Determines whether ther current class has a valid static constructor.
()
| 11007 | } |
| 11008 | /** Determines whether ther current class has a valid static constructor. */ |
| 11009 | get hasStaticConstructor() { |
| 11010 | const staticConstructor = this.tryMethod(".cctor"); |
| 11011 | return staticConstructor != null && !staticConstructor.virtualAddress.isNull(); |
| 11012 | } |
| 11013 | /** Gets the image in which the current class is defined. */ |
| 11014 | get image() { |
| 11015 | return new Il2Cpp.Image(Il2Cpp.Api._classGetImage(this)); |