Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/AGUI/Inputs/InputFieldManager.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

117 lines
3.5 KiB
C#

using System;
using Cpp2IlInjected;
using RecRoom;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
namespace AGUI.Inputs
{
// Token: 0x0200114D RID: 4429
[Token(Token = "0x200114D")]
public class InputFieldManager : SingletonMonoBehaviour<InputFieldManager>
{
// Token: 0x170010C3 RID: 4291
// (get) Token: 0x060062CE RID: 25294 RVA: 0x001577EC File Offset: 0x001559EC
// (set) Token: 0x060062CF RID: 25295 RVA: 0x00157800 File Offset: 0x00155A00
[Token(Token = "0x170010C3")]
public TMP_InputField OEOGDGECMNG
{
[Token(Token = "0x60062CE")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get;
[Token(Token = "0x60062CF")]
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
private set;
}
// Token: 0x060062D0 RID: 25296 RVA: 0x00157814 File Offset: 0x00155A14
[Token(Token = "0x60062D0")]
[Address(RVA = "0x1A5D010", Offset = "0x1A5C010", VA = "0x181A5D010", Slot = "4")]
protected override void Awake()
{
base.Awake();
TMP_InputField.InputFieldInstantiated += new Action(this.AEEJODLPDFL);
}
// Token: 0x060062D1 RID: 25297 RVA: 0x00157838 File Offset: 0x00155A38
[Token(Token = "0x60062D1")]
[Address(RVA = "0x1A5D210", Offset = "0x1A5C210", VA = "0x181A5D210", Slot = "5")]
protected override void OnDestroy()
{
base.OnDestroy();
TMP_InputField.InputFieldInstantiated -= new Action(this.AEEJODLPDFL);
}
// Token: 0x060062D2 RID: 25298 RVA: 0x0015785C File Offset: 0x00155A5C
[Token(Token = "0x60062D2")]
[Address(RVA = "0x1A5D2B0", Offset = "0x1A5C2B0", VA = "0x181A5D2B0")]
private void Update()
{
EventSystem current = EventSystem.current;
int num = 0;
if (current != num)
{
GameObject currentSelected = EventSystem.current.m_CurrentSelected;
int num2 = 0;
if (currentSelected != num2 && currentSelected.activeInHierarchy)
{
TMP_InputField component = currentSelected.GetComponent<TMP_InputField>();
int num3 = 0;
if (component != num3 && component.m_AllowInput)
{
goto IL_60;
}
}
}
int num4 = 0;
IL_60:
this.<JBLJOOPHIAE>k__BackingField = num4;
}
// Token: 0x060062D3 RID: 25299 RVA: 0x001578D8 File Offset: 0x00155AD8
[Token(Token = "0x60062D3")]
[Address(RVA = "0x1A5D0B0", Offset = "0x1A5C0B0", VA = "0x181A5D0B0")]
private TMP_InputField NMHDOLMJPAO()
{
EventSystem current = EventSystem.current;
int num = 0;
if (current != num)
{
GameObject currentSelected = EventSystem.current.m_CurrentSelected;
int num2 = 0;
if (currentSelected != num2 && currentSelected.activeInHierarchy)
{
TMP_InputField component = currentSelected.GetComponent<TMP_InputField>();
int num3 = 0;
if (component != num3 && component.m_AllowInput)
{
return component;
}
}
}
throw new NullReferenceException();
}
// Token: 0x060062D4 RID: 25300 RVA: 0x00157950 File Offset: 0x00155B50
[Token(Token = "0x60062D4")]
[Address(RVA = "0x1A5CF60", Offset = "0x1A5BF60", VA = "0x181A5CF60")]
private void AEEJODLPDFL(TMP_InputField BIBOIEDPNOJ)
{
DisabledAltRenderedObject component = BIBOIEDPNOJ.GetComponent<DisabledAltRenderedObject>();
int num = 0;
if (component == num)
{
BIBOIEDPNOJ.gameObject.AddComponent<DisabledAltRenderedObject>().NeverRender = true;
}
}
// Token: 0x060062D5 RID: 25301 RVA: 0x00157988 File Offset: 0x00155B88
[Token(Token = "0x60062D5")]
[Address(RVA = "0x1A5D410", Offset = "0x1A5C410", VA = "0x181A5D410")]
public InputFieldManager()
{
}
}
}