mirror of
https://github.com/AssetRipper/Cpp2IL.git
synced 2026-11-13 20:05:45 -10:00
22 lines
534 B
C#
22 lines
534 B
C#
namespace LibCpp2IL.Metadata;
|
|
|
|
public class Il2CppCustomAttributeTypeRange : ReadableClass, IIl2CppTokenProvider
|
|
{
|
|
[Version(Min = 24.1f)] public uint token;
|
|
public int start;
|
|
[Version(Max = 27.9f)] public int count; //Removed in v29
|
|
|
|
public uint Token => token;
|
|
|
|
public override void Read(ClassReadingBinaryReader reader)
|
|
{
|
|
if (IsAtLeast(24.1f))
|
|
token = reader.ReadUInt32();
|
|
|
|
start = reader.ReadInt32();
|
|
|
|
if (IsLessThan(29f))
|
|
count = reader.ReadInt32();
|
|
}
|
|
}
|