pub struct AssemblyDefinition {
pub image_index: i32,
pub token: u32,
pub referenced_assembly_start: i32,
pub referenced_assembly_count: i32,
pub name_index: u32,
pub culture_index: u32,
pub public_key_index: u32,
pub hash_alg: u32,
pub hash_len: i32,
pub flags: u32,
pub version: [i32; 4],
pub public_key_token: [u8; 8],
}Expand description
Il2CppAssemblyDefinition: an assembly’s identity and the image that holds it.
Fields§
§image_index: i32Index into Metadata::images of this assembly’s image.
token: u32The assembly’s metadata token.
referenced_assembly_start: i32Index into the referenced_assemblies section of the first assembly this one references.
referenced_assembly_count: i32How many assemblies this one references.
name_index: u32The assembly’s simple name, e.g. Assembly-CSharp. Index into the string pool; read it with Metadata::string.
culture_index: u32The assembly’s culture, empty for neutral. Index into the string pool; read it with Metadata::string.
public_key_index: u32The assembly’s public key, as an escaped string. Index into the string pool; read it with Metadata::string.
hash_alg: u32The hash algorithm id (AssemblyHashAlgorithm).
hash_len: i32The length of the assembly hash.
flags: u32AssemblyFlags, e.g. whether the public key is full or a token.
version: [i32; 4][major, minor, build, revision].
public_key_token: [u8; 8]The last 8 bytes of the public key’s hash; all zero for an unsigned assembly.