54 lines
1.4 KiB
C#
54 lines
1.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02002198 RID: 8600
|
|
[Token(Token = "0x2002198")]
|
|
public class YearSuffixUIRotator : IntRangeUIRotator
|
|
{
|
|
// Token: 0x0600DCA7 RID: 56487 RVA: 0x00332E08 File Offset: 0x00331008
|
|
[Token(Token = "0x600DCA7")]
|
|
[Address(RVA = "0x111A4B0", Offset = "0x11192B0", VA = "0x18111A4B0", 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_69;
|
|
}
|
|
DateTime now = DateTime.Now;
|
|
ulong num2;
|
|
num2 += num2;
|
|
long num3 = (long)(num2 * (ulong)((uint)100));
|
|
int num4 = (int)((long)num4 - num3);
|
|
this.end = num4;
|
|
}
|
|
this.end = (int)((ulong)99L);
|
|
IL_69:
|
|
int num5 = 0;
|
|
base.MKKPNGFMJFP(num5);
|
|
}
|
|
|
|
// Token: 0x0600DCA8 RID: 56488 RVA: 0x00332E90 File Offset: 0x00331090
|
|
[Token(Token = "0x600DCA8")]
|
|
[Address(RVA = "0x111A5B0", Offset = "0x11193B0", VA = "0x18111A5B0")]
|
|
public YearSuffixUIRotator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04008FDA RID: 36826
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4008FDA")]
|
|
[SerializeField]
|
|
private IntRangeUIRotator yearPrefixRotator;
|
|
}
|
|
}
|