Frida Docs Unified
    Preparing search index...

    Scaffold class.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    • get actualInstanceSize(): number

      Gets the actual size of the instance of the current class.

      Returns number

    • get arrayClass(): Class

      Gets the array class which encompass the current class.

      Returns Class

    • get arrayElementSize(): number

      Gets the size of the object encompassed by the current array class.

      Returns number

    • get assemblyName(): string

      Gets the name of the assembly in which the current class is defined.

      Returns string

    • get baseType(): Il2Cpp.Type

      Gets the encompassed type of this array, reference, pointer or enum type.

      Returns Il2Cpp.Type

    • get declaringClass(): Class

      Gets the class that declares the current nested class.

      Returns Class

    • get elementClass(): Class

      Gets the class of the object encompassed or referred to by the current array, pointer or reference class.

      Returns Class

    • get flags(): number

      Gets the flags of the current class.

      Returns number

    • get fullName(): string

      Gets the full name (namespace + name) of the current class.

      Returns string

    • get genericClass(): Class

      Gets the generic class of the current class if the current class is inflated.

      Returns Class

    • get generics(): Class[]

      Gets the generics parameters of this generic class.

      Returns Class[]

    • get hasReferences(): boolean

      Determines whether the GC has tracking references to the current class instances.

      Returns boolean

    • get hasStaticConstructor(): boolean

      Determines whether ther current class has a valid static constructor.

      Returns boolean

    • get image(): Image

      Gets the image in which the current class is defined.

      Returns Image

    • get instanceSize(): number

      Gets the size of the instance of the current class.

      Returns number

    • get interfaces(): Class[]

      Gets the interfaces implemented or inherited by the current class.

      Returns Class[]

    • get isAbstract(): boolean

      Determines whether the current class is abstract.

      Returns boolean

    • get isBlittable(): boolean

      Determines whether the current class is blittable.

      Returns boolean

    • get isEnum(): boolean

      Determines whether the current class is an enumeration.

      Returns boolean

    • get isGeneric(): boolean

      Determines whether the current class is a generic one.

      Returns boolean

    • get isInflated(): boolean

      Determines whether the current class is inflated.

      Returns boolean

    • get isInterface(): boolean

      Determines whether the current class is an interface.

      Returns boolean

    • get isStruct(): boolean

      Determines whether the current class is a struct.

      Returns boolean

    • get isValueType(): boolean

      Determines whether the current class is a value type.

      Returns boolean

    • get name(): string

      Gets the name of the current class.

      Returns string

    • get namespace(): string

      Gets the namespace of the current class.

      Returns string

    • get nestedClasses(): Class[]

      Gets the classes nested inside the current class.

      Returns Class[]

    • get parent(): Class

      Gets the class from which the current class directly inherits.

      Returns Class

    • get pointerClass(): Class

      Gets the pointer class of the current class.

      Returns Class

    • get rank(): number

      Gets the rank (number of dimensions) of the current array class.

      Returns number

    • get valueTypeSize(): number

      Gets the size of the instance - as a value type - of the current class.

      Returns number

    Methods

    • Executes a callback for every defined class.

      Parameters

      • block: (klass: Class) => void

      Returns void

    • Gets the hierarchy of the current class.

      Parameters

      • Optionaloptions: { includeCurrent?: boolean }

      Returns Generator<Class>

    • Builds a generic instance of the current generic class.

      Parameters

      Returns Class

    • Calls the static constructor of the current class.

      Returns Class

    • Determines whether an instance of other class can be assigned to a variable of the current type.

      Parameters

      Returns boolean

    • Determines whether the current class derives from other class.

      Parameters

      • other: Class
      • checkInterfaces: boolean

      Returns boolean

    • Gets the method identified by the given name and parameter count.

      Type Parameters

      Parameters

      • name: string
      • OptionalparameterCount: number

      Returns Il2Cpp.Method<T>

    • Gets the nested class with the given name.

      Parameters

      • name: string

      Returns Class

    • Allocates a new object of the current class and calls its default constructor.

      Returns Il2Cpp.Object

    • Returns string

    • Gets the method with the given name and parameter count.

      Type Parameters

      Parameters

      • name: string
      • OptionalparameterCount: number

      Returns Il2Cpp.Method<T>

    • Gets the nested class with the given name.

      Parameters

      • name: string

      Returns Class