97 lines
2.7 KiB
C#
97 lines
2.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.UI
|
|
{
|
|
// Token: 0x020029B8 RID: 10680
|
|
[Token(Token = "0x20029B8")]
|
|
public class ScreenHUDControlDialogMultiInput : ScreenHUDControlDialog
|
|
{
|
|
// Token: 0x06011E08 RID: 73224 RVA: 0x004127F4 File Offset: 0x004109F4
|
|
[Token(Token = "0x6011E08")]
|
|
[Address(RVA = "0x1017E60", Offset = "0x1016C60", VA = "0x181017E60", Slot = "5")]
|
|
public override void SetContent(bool CNEIBILGFCO, ScreenHUDControlDialog.MDALNNCNPON GKNIHNHGBKC, Sprite JGFDCDNAHEL, Sprite AFJPEKBFCHN, Sprite KCFIJDHHOIM, string MFDCCNKNIPD, float MFOPFLCAHLJ)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
bool flag = JGFDCDNAHEL != num;
|
|
int ckelnnobapp = this.CKELNNOBAPP;
|
|
int frameCount = Time.frameCount;
|
|
bool flag2 = ckelnnobapp == frameCount;
|
|
if (flag != flag2)
|
|
{
|
|
this.labelText.RecalculateMasking();
|
|
bool flag3;
|
|
if (!flag3)
|
|
{
|
|
this.labelText.RecalculateMasking();
|
|
}
|
|
}
|
|
int num2 = 0;
|
|
Sprite sprite = this.inputButtonImage.m_Sprite;
|
|
this.inputButtonImageL.gameObject.SetActive(num2 != 0);
|
|
this.inputButtonImageR.gameObject.SetActive(num2 != 0);
|
|
this.inputButtonDividerImage.gameObject.SetActive(num2 != 0);
|
|
if (num2 != 0)
|
|
{
|
|
GameObject gameObject = this.inputButtonImage.gameObject;
|
|
int num3 = 0;
|
|
gameObject.SetActive(num3 != 0);
|
|
this.inputButtonImageR.sprite = sprite;
|
|
this.inputButtonImageL.sprite = JGFDCDNAHEL;
|
|
}
|
|
Transform transform = base.transform;
|
|
if (transform == 0 || transform != 0)
|
|
{
|
|
Transform transform2 = base.transform;
|
|
if (transform2 == 0 || transform2 != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011E09 RID: 73225 RVA: 0x004128F8 File Offset: 0x00410AF8
|
|
[Token(Token = "0x6011E09")]
|
|
[Address(RVA = "0x10181C0", Offset = "0x1016FC0", VA = "0x1810181C0")]
|
|
public ScreenHUDControlDialogMultiInput()
|
|
{
|
|
this.defaultButtonScale = 1f;
|
|
this.pressedButtonScale = 1.2f;
|
|
Keyframe[] array = new Keyframe[2];
|
|
int num = 0;
|
|
array[0] = num;
|
|
array[3] = num;
|
|
int num2 = 0;
|
|
array[3] = num2;
|
|
array[6] = num2;
|
|
AnimationCurve animationCurve = new AnimationCurve(array);
|
|
this.progressCurve = animationCurve;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400B83A RID: 47162
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400B83A")]
|
|
[SerializeField]
|
|
[Header("Multi Input button")]
|
|
private Image inputButtonImageL;
|
|
|
|
// Token: 0x0400B83B RID: 47163
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400B83B")]
|
|
[SerializeField]
|
|
private Image inputButtonImageR;
|
|
|
|
// Token: 0x0400B83C RID: 47164
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400B83C")]
|
|
[SerializeField]
|
|
private Image inputButtonDividerImage;
|
|
}
|
|
}
|