Files
NobetaSource/Cpp2IL/Assembly-CSharp/UIInputIcon.cs
2023-09-06 22:09:22 +02:00

84 lines
2.6 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;
// Token: 0x02000281 RID: 641
[Token(Token = "0x2000281")]
public class UIInputIcon : MonoBehaviour
{
// Token: 0x060018A5 RID: 6309 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60018A5")]
[Address(RVA = "0x7B7CE0", Offset = "0x7B64E0", VA = "0x1807B7CE0")]
public void UpdateStyle(ControllerDevice device, string keyName)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060018A6 RID: 6310 RVA: 0x0003C440 File Offset: 0x0003A640
[Token(Token = "0x60018A6")]
[Address(RVA = "0x7B7C90", Offset = "0x7B6490", VA = "0x1807B7C90")]
public void UpdateAnchoredPosition(Vector2 position)
{
Image image = this.icon;
int num = 0;
image.rectTransform.anchoredPosition = num;
}
// Token: 0x060018A7 RID: 6311 RVA: 0x0003C468 File Offset: 0x0003A668
[Token(Token = "0x60018A7")]
[Address(RVA = "0x7B3E70", Offset = "0x7B2670", VA = "0x1807B3E70")]
public void SetFont(GameFontPack fontPack)
{
Text text = this.label;
Font regular = fontPack.regular;
text.font = regular;
}
// Token: 0x060018A8 RID: 6312 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60018A8")]
[Address(RVA = "0x7B79B0", Offset = "0x7B61B0", VA = "0x1807B79B0")]
public float GetIconWidth()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060018A9 RID: 6313 RVA: 0x0003C490 File Offset: 0x0003A690
[Token(Token = "0x60018A9")]
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
public UIInputIcon()
{
}
// Token: 0x060018AA RID: 6314 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60018AA")]
[Address(RVA = "0x7B7B00", Offset = "0x7B6300", VA = "0x1807B7B00")]
[CompilerGenerated]
private void <UpdateStyle>g__UpdateKeyboardStyle|2_0(string key)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060018AB RID: 6315 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60018AB")]
[Address(RVA = "0x7B7A00", Offset = "0x7B6200", VA = "0x1807B7A00")]
[CompilerGenerated]
private void <UpdateStyle>g__UpdateGamepadStyle|2_1(string key)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x040022C4 RID: 8900
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40022C4")]
[SerializeField]
private Image icon;
// Token: 0x040022C5 RID: 8901
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40022C5")]
[SerializeField]
private Text label;
}