60 lines
1.7 KiB
C#
60 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001DF6 RID: 7670
|
|
[Token(Token = "0x2001DF6")]
|
|
[StructLayout(3)]
|
|
public class MonthDaysUIRotator : IntRangeUIRotator
|
|
{
|
|
// Token: 0x0600CE97 RID: 52887 RVA: 0x00311AF4 File Offset: 0x0030FCF4
|
|
[Token(Token = "0x600CE97")]
|
|
[Address(RVA = "0xF9E500", Offset = "0xF9CF00", VA = "0x180F9E500", Slot = "5")]
|
|
protected override void MKKPNGFMJFP(int NFBLHCGNNMB = -1)
|
|
{
|
|
IntRangeUIRotator intRangeUIRotator = this.monthRotator;
|
|
int? value = intRangeUIRotator.Value;
|
|
int? value2 = this.yearPrefixRotator.Value;
|
|
int? value3 = this.yearSuffixRotator.Value;
|
|
int? num = AgeCheckUIDialog.YearCalc(value2, value3);
|
|
this.start = (int)((ulong)1L);
|
|
if (num != 0)
|
|
{
|
|
int value4 = num.value;
|
|
int value5 = num.value;
|
|
int num2 = DateTime.DaysInMonth(value4, value5);
|
|
}
|
|
this.end = (int)((uint)31);
|
|
base.MKKPNGFMJFP(NFBLHCGNNMB);
|
|
}
|
|
|
|
// Token: 0x0600CE98 RID: 52888 RVA: 0x00311B78 File Offset: 0x0030FD78
|
|
[Token(Token = "0x600CE98")]
|
|
[Address(RVA = "0xF9E630", Offset = "0xF9D030", VA = "0x180F9E630")]
|
|
public MonthDaysUIRotator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04008B71 RID: 35697
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4008B71")]
|
|
[SerializeField]
|
|
private IntRangeUIRotator monthRotator;
|
|
|
|
// Token: 0x04008B72 RID: 35698
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4008B72")]
|
|
[SerializeField]
|
|
private IntRangeUIRotator yearPrefixRotator;
|
|
|
|
// Token: 0x04008B73 RID: 35699
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4008B73")]
|
|
[SerializeField]
|
|
private IntRangeUIRotator yearSuffixRotator;
|
|
}
|
|
}
|