Files
Cpp2IL/LibCpp2IL/BinaryStructures/Il2CppArrayType.cs
Jeremy Pritts e93c0fecc9 Implement some helpers to improve the debugging experience (#437)
* Implement some helpers to improve the debugging experience

* Revisions
2025-04-03 23:09:23 +01:00

24 lines
633 B
C#

namespace LibCpp2IL.BinaryStructures;
public class Il2CppArrayType : ReadableClass
{
public ulong etype;
public byte rank;
public byte numsizes;
public byte numlobounds;
public ulong sizes;
public ulong lobounds;
public Il2CppType ElementType => LibCpp2IlMain.Binary!.GetIl2CppTypeFromPointer(etype);
public override void Read(ClassReadingBinaryReader reader)
{
etype = reader.ReadNUint();
rank = reader.ReadByte();
numsizes = reader.ReadByte();
numlobounds = reader.ReadByte();
sizes = reader.ReadNUint();
lobounds = reader.ReadNUint();
}
}