Files
2026-04-08 23:40:05 +02:00

56 lines
1.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom
{
// Token: 0x02001DFB RID: 7675
[Token(Token = "0x2001DFB")]
[StructLayout(3)]
public class YearSuffixUIRotator : IntRangeUIRotator
{
// Token: 0x0600CEB1 RID: 52913 RVA: 0x00311E24 File Offset: 0x00310024
[Token(Token = "0x600CEB1")]
[Address(RVA = "0x1803050", Offset = "0x1801A50", VA = "0x181803050", Slot = "5")]
protected override void MKKPNGFMJFP(int NFBLHCGNNMB = 0)
{
IntRangeUIRotator intRangeUIRotator = this.yearPrefixRotator;
int num = 0;
this.start = num;
int? value = intRangeUIRotator.Value;
if (value == (ulong)19L == value)
{
int? value2 = this.yearPrefixRotator.Value;
if (value2 == (ulong)20L == value2)
{
goto IL_6E;
}
ulong num2 = DateTime.Now.dateData;
ulong num3;
num3 += num3;
long num4 = (long)(num3 * (ulong)((uint)100));
num2 -= (ulong)num4;
this.end = (int)num2;
}
this.end = (int)((ulong)99L);
IL_6E:
int num5 = 0;
base.MKKPNGFMJFP(num5);
}
// Token: 0x0600CEB2 RID: 52914 RVA: 0x00311EB0 File Offset: 0x003100B0
[Token(Token = "0x600CEB2")]
[Address(RVA = "0xF9E630", Offset = "0xF9D030", VA = "0x180F9E630")]
public YearSuffixUIRotator()
{
}
// Token: 0x04008B7B RID: 35707
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4008B7B")]
[SerializeField]
private IntRangeUIRotator yearPrefixRotator;
}
}