This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+1353
View File
@@ -0,0 +1,1353 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
// Token: 0x02000502 RID: 1282
public class Punchkeyboard : MonoBehaviour
{
// Token: 0x0600D2A6 RID: 53926 RVA: 0x003F9958 File Offset: 0x003F7B58
public void GBEMFHMOMEH(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.JEGIBFFBKGE)
{
string text = this.DNILGAMFFCM(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.JANBKILBFIO())
{
this.shiftKey.BLJEBLGPMPK(true);
this.HIPCKFGGJNB(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, "Upload");
dabefcfjocc.caretPosition += 0;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Alt && dabefcfjocc.text.Length > 1)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 0)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 1, 0);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == (Punchkey.PIAPPDPHCAA)7)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.LGGDCJDJBEK();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.Name)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.HKGIICHHLJI((ScreenSpaceNotificationManager.DBNGPDFKLEK)5, dabefcfjocc.text, 1847f, null, true);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.GAMAJPDKBNG() != null)
{
ANOFFEKMECJ.GAMAJPDKBNG().Vibrate(-82, 31);
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2A7 RID: 53927 RVA: 0x003F9BA0 File Offset: 0x003F7DA0
private void KOJLOLFHMCA()
{
this.EmailKeysRoot.gameObject.SetActive(this.DABEFCFJOCC != null && this.DABEFCFJOCC.contentType == InputField.ContentType.EmailAddress);
bool flag = this.DABEFCFJOCC != null && (this.DABEFCFJOCC.contentType == InputField.ContentType.IntegerNumber || this.DABEFCFJOCC.contentType == InputField.ContentType.DecimalNumber);
this.standardKeyboard.gameObject.SetActive(!flag);
this.numericKeyboard.gameObject.SetActive(flag);
}
// Token: 0x0600D2A8 RID: 53928 RVA: 0x003F9C3C File Offset: 0x003F7E3C
private static bool FADOPGIJOJD(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.JEGIBFFBKGE;
}
// Token: 0x0600D2A9 RID: 53929 RVA: 0x003F9C44 File Offset: 0x003F7E44
private void KIFECKFALLP(Punchkey ANOFFEKMECJ)
{
this.shiftKey.HFBOAEJIJKM = true;
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i++)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.KDKPDGPLDIB();
}
}
// Token: 0x0600D2AA RID: 53930 RVA: 0x003F9C84 File Offset: 0x003F7E84
public bool HCMNHEDPFKL()
{
return this.altKey.IIEFNCJFFKE();
}
// Token: 0x17000565 RID: 1381
// (get) Token: 0x0600D2ED RID: 53997 RVA: 0x003FB224 File Offset: 0x003F9424
// (set) Token: 0x0600D2AC RID: 53932 RVA: 0x003F9C9C File Offset: 0x003F7E9C
public bool PILGKGNMNME
{
get
{
return this.EGOIHFNKENF;
}
set
{
this.EGOIHFNKENF = value;
if (this.MPKOEIECNPM != null)
{
foreach (Punchkey punchkey in this.MPKOEIECNPM)
{
punchkey.JHEJBJMKNCP = value;
}
}
}
}
// Token: 0x0600D2AD RID: 53933 RVA: 0x003F9CE4 File Offset: 0x003F7EE4
private void HIPCKFGGJNB(Punchkey ANOFFEKMECJ)
{
this.altKey.HFBOAEJIJKM = true;
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.OKNPLDIEHKK();
}
}
// Token: 0x0600D2AE RID: 53934 RVA: 0x003F9D24 File Offset: 0x003F7F24
private void OJJFMFMCKNM()
{
this.EmailKeysRoot.gameObject.SetActive(this.DABEFCFJOCC != null && this.DABEFCFJOCC.contentType == InputField.ContentType.Pin);
bool flag = !(this.DABEFCFJOCC != null) || this.DABEFCFJOCC.contentType == InputField.ContentType.IntegerNumber || this.DABEFCFJOCC.contentType == InputField.ContentType.IntegerNumber;
this.standardKeyboard.gameObject.SetActive(!flag);
this.numericKeyboard.gameObject.SetActive(flag);
}
// Token: 0x0600D2AF RID: 53935 RVA: 0x003F9DC0 File Offset: 0x003F7FC0
private void CCELEINHOBB(Punchkey ANOFFEKMECJ)
{
this.shiftKey.JNDIMNLNJLC(false);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i++)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.ICKACKGPMBM();
}
}
// Token: 0x0600D2B0 RID: 53936 RVA: 0x003F9E00 File Offset: 0x003F8000
public bool KLOLJEGOFGO()
{
return this.altKey.DPDFFCGICJJ();
}
// Token: 0x0600D2B1 RID: 53937 RVA: 0x003F9E10 File Offset: 0x003F8010
private void LNKPKHFACHE()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(false);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.GDJDPLIILEF);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.LMDFKNAEMIM += this.IEFBMLMGBCN;
this.altKey.NHFOCHEELEI(new Action<Punchkey>(this.KIFECKFALLP));
Punchkey[] mpkoeiecnpm2 = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm2.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm2[i];
punchkey.GODPBAFCNLN(this);
}
this.EmailKeysRoot.gameObject.SetActive(false);
}
// Token: 0x0600D2B2 RID: 53938 RVA: 0x003F9EC4 File Offset: 0x003F80C4
public bool GJAJEOPOFNO()
{
return this.altKey.DPDFFCGICJJ();
}
// Token: 0x0600D2B3 RID: 53939 RVA: 0x003F9ED4 File Offset: 0x003F80D4
public void JCBIMCCAMAC(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
Punchkey[] mpkoeiecnpm = this.MPKOEIECNPM;
for (int i = 0; i < mpkoeiecnpm.Length; i += 0)
{
Punchkey punchkey = mpkoeiecnpm[i];
punchkey.IODDJKMBIMI(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2B4 RID: 53940 RVA: 0x003F9F1C File Offset: 0x003F811C
private void OJAIDLPNIEI()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(true);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.GDJDPLIILEF);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.NHFOCHEELEI(new Action<Punchkey>(this.NFIKGOJLOJH));
this.altKey.JCCEPFEFPAD(new Action<Punchkey>(this.KIFECKFALLP));
Punchkey[] mpkoeiecnpm2 = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm2.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm2[i];
punchkey.BECGLJNBOEC(this);
}
this.EmailKeysRoot.gameObject.SetActive(false);
}
// Token: 0x0600D2B5 RID: 53941 RVA: 0x003F9FD0 File Offset: 0x003F81D0
private void IABDGAJLFNK()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(true);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.CJCBFGLEGAD);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.JCCEPFEFPAD(new Action<Punchkey>(this.NFIKGOJLOJH));
this.altKey.LMDFKNAEMIM += this.OOKKIFDGJIJ;
Punchkey[] mpkoeiecnpm2 = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm2.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm2[i];
punchkey.BECGLJNBOEC(this);
}
this.EmailKeysRoot.gameObject.SetActive(false);
}
// Token: 0x0600D2B6 RID: 53942 RVA: 0x003FA084 File Offset: 0x003F8284
public bool MINEMCGKAFI()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2B7 RID: 53943 RVA: 0x003FA08C File Offset: 0x003F828C
private void GDNJIMAFDEE()
{
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.OKNPLDIEHKK();
}
}
// Token: 0x0600D2B8 RID: 53944 RVA: 0x003FA0C0 File Offset: 0x003F82C0
private static bool MOMCDJFGIFJ(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.KPAMPBAANNC();
}
// Token: 0x0600D2B9 RID: 53945 RVA: 0x003FA0C8 File Offset: 0x003F82C8
public bool MGCDNCDLBFA()
{
return this.shiftKey.DPDFFCGICJJ();
}
// Token: 0x0600D2BA RID: 53946 RVA: 0x003FA0D8 File Offset: 0x003F82D8
private string DNILGAMFFCM(Punchkey ANOFFEKMECJ)
{
if (this.CIEDOMOBPJM() && ANOFFEKMECJ.CMHEJLAGMKC)
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.BIKAJNACMJB() && ANOFFEKMECJ.OJLBCPGOCJN())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2BB RID: 53947 RVA: 0x003FA128 File Offset: 0x003F8328
private static bool CJCBFGLEGAD(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.JEGIBFFBKGE;
}
// Token: 0x0600D2BC RID: 53948 RVA: 0x003FA130 File Offset: 0x003F8330
public void SimulateKeyPress(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.JEGIBFFBKGE)
{
string text = this.APHGIPLAGBJ(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.PKCHCJHCNKN)
{
this.shiftKey.HFBOAEJIJKM = false;
this.JEBLNGCEJIM(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, " ");
dabefcfjocc.caretPosition++;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.BackSpace && dabefcfjocc.text.Length > 0)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 0)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 1, 1);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Return)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.OnSubmit();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.Password)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Minor, dabefcfjocc.text, 2f, null, true);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.HIHPANODBNP != null)
{
ANOFFEKMECJ.HIHPANODBNP.Vibrate(20, 1000);
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2BD RID: 53949 RVA: 0x003FA378 File Offset: 0x003F8578
private string ADDGBKOEFNG(Punchkey ANOFFEKMECJ)
{
if (this.OCPDBKKCBHB() && ANOFFEKMECJ.EIDOMIBHENI())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.BGEELHCLJDB() && ANOFFEKMECJ.CFPJLNGLEMB())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2BE RID: 53950 RVA: 0x003FA3C8 File Offset: 0x003F85C8
private void GJMGFEDICNF()
{
this.EmailKeysRoot.gameObject.SetActive(!(this.DABEFCFJOCC != null) || this.DABEFCFJOCC.contentType == InputField.ContentType.Name);
bool flag = this.DABEFCFJOCC != null && this.DABEFCFJOCC.contentType != InputField.ContentType.Pin && this.DABEFCFJOCC.contentType == InputField.ContentType.Standard;
this.standardKeyboard.gameObject.SetActive(!flag);
this.numericKeyboard.gameObject.SetActive(flag);
}
// Token: 0x0600D2BF RID: 53951 RVA: 0x003FA464 File Offset: 0x003F8664
private string DELNIJFGLKD(Punchkey ANOFFEKMECJ)
{
if (this.BABFOGNIPNB() && ANOFFEKMECJ.EIDOMIBHENI())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.EPEGEPHCNHO() && ANOFFEKMECJ.CFPJLNGLEMB())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2C0 RID: 53952 RVA: 0x003FA4B4 File Offset: 0x003F86B4
public bool JCLHGEIFMCJ()
{
return this.altKey.HFBOAEJIJKM;
}
// Token: 0x0600D2C1 RID: 53953 RVA: 0x003FA4C4 File Offset: 0x003F86C4
private string IOJFBCOPJFJ(Punchkey ANOFFEKMECJ)
{
if (this.MGCDNCDLBFA() && ANOFFEKMECJ.ELNGOCEAFDC())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.EPEGEPHCNHO() && ANOFFEKMECJ.CFPJLNGLEMB())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2C2 RID: 53954 RVA: 0x003FA514 File Offset: 0x003F8714
private void ONKCFGIOGCF()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(true);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.MOMCDJFGIFJ);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.LMDFKNAEMIM += this.IEFBMLMGBCN;
this.altKey.NHFOCHEELEI(new Action<Punchkey>(this.OOKKIFDGJIJ));
Punchkey[] mpkoeiecnpm2 = this.MPKOEIECNPM;
for (int i = 0; i < mpkoeiecnpm2.Length; i += 0)
{
Punchkey punchkey = mpkoeiecnpm2[i];
punchkey.BECGLJNBOEC(this);
}
this.EmailKeysRoot.gameObject.SetActive(true);
}
// Token: 0x0600D2C3 RID: 53955 RVA: 0x003FA5C8 File Offset: 0x003F87C8
public bool DBNAMMLLJHN()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2C4 RID: 53956 RVA: 0x003FA5D0 File Offset: 0x003F87D0
public void KFECHHLNHJM(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.KPAMPBAANNC())
{
string text = this.BMGPBNPEJBP(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.JANBKILBFIO())
{
this.shiftKey.JNDIMNLNJLC(true);
this.HIPCKFGGJNB(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, "punchCardRewardsUnclaimed");
dabefcfjocc.caretPosition++;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Alt && dabefcfjocc.text.Length > 0)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 0)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 1, 0);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.BackSpace)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.MEBMCILJLLD();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.Autocorrected)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Minor, dabefcfjocc.text, 611f, null, false);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.GAMAJPDKBNG() != null)
{
ANOFFEKMECJ.IBBGHCBKHJN().Vibrate(-128, (ushort)(-97));
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2C5 RID: 53957 RVA: 0x003FA818 File Offset: 0x003F8A18
private string GICIFPNLOJE(Punchkey ANOFFEKMECJ)
{
if (this.AKOAFMDPDKI() && ANOFFEKMECJ.CMHEJLAGMKC)
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.PMBJOOIFFJE() && ANOFFEKMECJ.CFPJLNGLEMB())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2C6 RID: 53958 RVA: 0x003FA868 File Offset: 0x003F8A68
private void Start()
{
foreach (Punchkey punchkey in this.OGAIDKBGEGE)
{
punchkey.RefreshKeyCapText();
}
}
// Token: 0x0600D2C7 RID: 53959 RVA: 0x003FA89C File Offset: 0x003F8A9C
private static bool GDJDPLIILEF(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.JEGIBFFBKGE;
}
// Token: 0x0600D2C8 RID: 53960 RVA: 0x003FA8A4 File Offset: 0x003F8AA4
private void NFIKGOJLOJH(Punchkey ANOFFEKMECJ)
{
this.altKey.BLJEBLGPMPK(false);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i++)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.EHCLCKNEMFJ();
}
}
// Token: 0x0600D2C9 RID: 53961 RVA: 0x003FA8E4 File Offset: 0x003F8AE4
private void EJOLIMLAAHF()
{
this.EmailKeysRoot.gameObject.SetActive(!(this.DABEFCFJOCC != null) || this.DABEFCFJOCC.contentType == InputField.ContentType.Password);
bool flag = !(this.DABEFCFJOCC != null) || this.DABEFCFJOCC.contentType == InputField.ContentType.DecimalNumber || this.DABEFCFJOCC.contentType == InputField.ContentType.IntegerNumber;
this.standardKeyboard.gameObject.SetActive(flag);
this.numericKeyboard.gameObject.SetActive(flag);
}
// Token: 0x17000564 RID: 1380
// (get) Token: 0x0600D2CA RID: 53962 RVA: 0x003FA980 File Offset: 0x003F8B80
public bool FPDFPDGFFAG
{
get
{
return this.altKey.HFBOAEJIJKM;
}
}
// Token: 0x0600D2CB RID: 53963 RVA: 0x003FA990 File Offset: 0x003F8B90
public void GNBDLCAGIGG(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.KPAMPBAANNC())
{
string text = this.IOJFBCOPJFJ(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.PKCHCJHCNKN)
{
this.shiftKey.NGAHJLIMEDC(false);
this.NFIKGOJLOJH(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, "\n");
dabefcfjocc.caretPosition += 0;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == (Punchkey.PIAPPDPHCAA)6 && dabefcfjocc.text.Length > 1)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 1)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 1, 0);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == (Punchkey.PIAPPDPHCAA)8)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.MEBMCILJLLD();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.Alphanumeric)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.OICFFDCBJIO(ScreenSpaceNotificationManager.DBNGPDFKLEK.Medium, dabefcfjocc.text, 1832f, null, false);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.GAMAJPDKBNG() != null)
{
ANOFFEKMECJ.GAMAJPDKBNG().Vibrate(-8, 138);
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2CC RID: 53964 RVA: 0x003FABD8 File Offset: 0x003F8DD8
public bool BABFOGNIPNB()
{
return this.shiftKey.DPDFFCGICJJ();
}
// Token: 0x0600D2CD RID: 53965 RVA: 0x003FABE8 File Offset: 0x003F8DE8
public void OEKINEPPJIB(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
Punchkey[] mpkoeiecnpm = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm.Length; i += 0)
{
Punchkey punchkey = mpkoeiecnpm[i];
punchkey.MMJCBKCAADB(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2CE RID: 53966 RVA: 0x003FAC30 File Offset: 0x003F8E30
public bool BGEELHCLJDB()
{
return this.altKey.CMKENLLGFGC();
}
// Token: 0x0600D2CF RID: 53967 RVA: 0x003FAC40 File Offset: 0x003F8E40
[CompilerGenerated]
private static bool MCJAIHLFBIP(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.JEGIBFFBKGE;
}
// Token: 0x0600D2D0 RID: 53968 RVA: 0x003FAC48 File Offset: 0x003F8E48
private void Update()
{
GameObject currentSelectedGameObject = EventSystem.current.currentSelectedGameObject;
if (currentSelectedGameObject != null && (this.DABEFCFJOCC == null || this.DABEFCFJOCC.gameObject != currentSelectedGameObject))
{
InputField component = currentSelectedGameObject.GetComponent<InputField>();
if (component != null)
{
this.DABEFCFJOCC = component;
this.KOJLOLFHMCA();
}
}
}
// Token: 0x0600D2D1 RID: 53969 RVA: 0x003FACB4 File Offset: 0x003F8EB4
public bool OCBJFFFFKIN()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2D2 RID: 53970 RVA: 0x003FACBC File Offset: 0x003F8EBC
public bool OCPDBKKCBHB()
{
return this.shiftKey.CMKENLLGFGC();
}
// Token: 0x0600D2D3 RID: 53971 RVA: 0x003FACCC File Offset: 0x003F8ECC
public bool JANBKILBFIO()
{
return this.shiftKey.IIEFNCJFFKE();
}
// Token: 0x0600D2D4 RID: 53972 RVA: 0x003FACDC File Offset: 0x003F8EDC
private void NEEFJHOFMEE()
{
GameObject currentSelectedGameObject = EventSystem.current.currentSelectedGameObject;
if (currentSelectedGameObject != null && (this.DABEFCFJOCC == null || this.DABEFCFJOCC.gameObject != currentSelectedGameObject))
{
InputField component = currentSelectedGameObject.GetComponent<InputField>();
if (component != null)
{
this.DABEFCFJOCC = component;
this.EEBFCBGBAML();
}
}
}
// Token: 0x0600D2D5 RID: 53973 RVA: 0x003FAD48 File Offset: 0x003F8F48
public bool DAJCHJKLPBL()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2D6 RID: 53974 RVA: 0x003FAD50 File Offset: 0x003F8F50
private void GEJIGMABCFJ(Punchkey ANOFFEKMECJ)
{
this.altKey.NGAHJLIMEDC(true);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.KDKPDGPLDIB();
}
}
// Token: 0x0600D2D7 RID: 53975 RVA: 0x003FAD90 File Offset: 0x003F8F90
public bool PMBJOOIFFJE()
{
return this.altKey.IIEFNCJFFKE();
}
// Token: 0x0600D2D8 RID: 53976 RVA: 0x003FADA0 File Offset: 0x003F8FA0
public void HCBEPADIDKP(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
Punchkey[] mpkoeiecnpm = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm[i];
punchkey.IBPBLANDKAN(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2D9 RID: 53977 RVA: 0x003FADE8 File Offset: 0x003F8FE8
public bool FLAEIJFJHCF()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2DA RID: 53978 RVA: 0x003FADF0 File Offset: 0x003F8FF0
public bool BAFGJIHMNPF()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2DB RID: 53979 RVA: 0x003FADF8 File Offset: 0x003F8FF8
private string LGFPMNLELJN(Punchkey ANOFFEKMECJ)
{
if (this.PKCHCJHCNKN && ANOFFEKMECJ.EIDOMIBHENI())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.FPDFPDGFFAG && ANOFFEKMECJ.OJLBCPGOCJN())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2DC RID: 53980 RVA: 0x003FAE48 File Offset: 0x003F9048
private string BMGPBNPEJBP(Punchkey ANOFFEKMECJ)
{
if (this.PKCHCJHCNKN && ANOFFEKMECJ.ELNGOCEAFDC())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.BIKAJNACMJB() && ANOFFEKMECJ.OJLBCPGOCJN())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2DD RID: 53981 RVA: 0x003FAE98 File Offset: 0x003F9098
private void LPOMDLJJBKF()
{
foreach (Punchkey punchkey in this.OGAIDKBGEGE)
{
punchkey.ICKACKGPMBM();
}
}
// Token: 0x17000563 RID: 1379
// (get) Token: 0x0600D2DE RID: 53982 RVA: 0x003FAECC File Offset: 0x003F90CC
public bool PKCHCJHCNKN
{
get
{
return this.shiftKey.HFBOAEJIJKM;
}
}
// Token: 0x0600D2DF RID: 53983 RVA: 0x003FAEDC File Offset: 0x003F90DC
private void EEBFCBGBAML()
{
this.EmailKeysRoot.gameObject.SetActive(!(this.DABEFCFJOCC != null) || this.DABEFCFJOCC.contentType == InputField.ContentType.Password);
bool flag = !(this.DABEFCFJOCC != null) || (this.DABEFCFJOCC.contentType != InputField.ContentType.IntegerNumber && this.DABEFCFJOCC.contentType == InputField.ContentType.Standard);
this.standardKeyboard.gameObject.SetActive(!flag);
this.numericKeyboard.gameObject.SetActive(flag);
}
// Token: 0x0600D2E0 RID: 53984 RVA: 0x003FAF78 File Offset: 0x003F9178
public bool PBHGDEJLCNJ()
{
return this.altKey.CMKENLLGFGC();
}
// Token: 0x0600D2E1 RID: 53985 RVA: 0x003FAF88 File Offset: 0x003F9188
private void DFPDPHDLLDA(Punchkey ANOFFEKMECJ)
{
this.altKey.BLJEBLGPMPK(false);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i++)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.FOEDFGIJHIK();
}
}
// Token: 0x0600D2E2 RID: 53986 RVA: 0x003FAFC8 File Offset: 0x003F91C8
private void PDGGJOCKIJL(Punchkey ANOFFEKMECJ)
{
this.altKey.BLJEBLGPMPK(false);
foreach (Punchkey punchkey in this.OGAIDKBGEGE)
{
punchkey.KDKPDGPLDIB();
}
}
// Token: 0x0600D2E3 RID: 53987 RVA: 0x003FB008 File Offset: 0x003F9208
private void IIBHNJKFMFH()
{
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i++)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.IDEJGIMHGMM();
}
}
// Token: 0x0600D2E4 RID: 53988 RVA: 0x003FB03C File Offset: 0x003F923C
public void JJNLGDIBLAJ(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
Punchkey[] mpkoeiecnpm = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm[i];
punchkey.IBPBLANDKAN(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2E5 RID: 53989 RVA: 0x003FB084 File Offset: 0x003F9284
public bool CIEDOMOBPJM()
{
return this.shiftKey.IIEFNCJFFKE();
}
// Token: 0x0600D2E6 RID: 53990 RVA: 0x003FB094 File Offset: 0x003F9294
public bool MJDEKOICEFD()
{
return this.EGOIHFNKENF;
}
// Token: 0x0600D2E7 RID: 53991 RVA: 0x003FB09C File Offset: 0x003F929C
private void NLEONEBOFDG(Punchkey ANOFFEKMECJ)
{
this.shiftKey.HFBOAEJIJKM = false;
foreach (Punchkey punchkey in this.OGAIDKBGEGE)
{
punchkey.RefreshKeyCapText();
}
}
// Token: 0x0600D2E8 RID: 53992 RVA: 0x003FB0DC File Offset: 0x003F92DC
private void HALNAHDCABC()
{
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 0; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.FOEDFGIJHIK();
}
}
// Token: 0x0600D2E9 RID: 53993 RVA: 0x003FB110 File Offset: 0x003F9310
private void Awake()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(true);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.MCJAIHLFBIP);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.LMDFKNAEMIM += this.JEBLNGCEJIM;
this.altKey.LMDFKNAEMIM += this.NLEONEBOFDG;
foreach (Punchkey punchkey in this.MPKOEIECNPM)
{
punchkey.Initialize(this);
}
this.EmailKeysRoot.gameObject.SetActive(false);
}
// Token: 0x0600D2EA RID: 53994 RVA: 0x003FB1C4 File Offset: 0x003F93C4
private void JEBLNGCEJIM(Punchkey ANOFFEKMECJ)
{
this.altKey.HFBOAEJIJKM = false;
foreach (Punchkey punchkey in this.OGAIDKBGEGE)
{
punchkey.RefreshKeyCapText();
}
}
// Token: 0x0600D2EB RID: 53995 RVA: 0x003FB204 File Offset: 0x003F9404
public bool PMFFENDAPKK()
{
return this.altKey.GMKBPCLEEFL();
}
// Token: 0x0600D2EC RID: 53996 RVA: 0x003FB214 File Offset: 0x003F9414
public bool JOEGNCKKDLG()
{
return this.shiftKey.GMKBPCLEEFL();
}
// Token: 0x0600D2EE RID: 53998 RVA: 0x003FB22C File Offset: 0x003F942C
public bool BIKAJNACMJB()
{
return this.altKey.GMKBPCLEEFL();
}
// Token: 0x0600D2EF RID: 53999 RVA: 0x003FB23C File Offset: 0x003F943C
private void DEBKBIIGAAN()
{
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 0; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.IDEJGIMHGMM();
}
}
// Token: 0x0600D2F0 RID: 54000 RVA: 0x003FB270 File Offset: 0x003F9470
private string APHGIPLAGBJ(Punchkey ANOFFEKMECJ)
{
if (this.PKCHCJHCNKN && ANOFFEKMECJ.CMHEJLAGMKC)
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.FPDFPDGFFAG && ANOFFEKMECJ.PPKKCOIEFDK)
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2F1 RID: 54001 RVA: 0x003FB2C0 File Offset: 0x003F94C0
public void GFLCLAGGOGD(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.KPAMPBAANNC())
{
string text = this.APHGIPLAGBJ(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.BABFOGNIPNB())
{
this.shiftKey.HFBOAEJIJKM = true;
this.IEFBMLMGBCN(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, "AllocateViewID() failed. Room (user {0}) is out of 'scene' viewIDs. It seems all available are in use.");
dabefcfjocc.caretPosition += 0;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Return && dabefcfjocc.text.Length > 0)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 0)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 0, 1);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == (Punchkey.PIAPPDPHCAA)8)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.LGGDCJDJBEK();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.Pin)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.DEPJEKLLMAC(ScreenSpaceNotificationManager.DBNGPDFKLEK.Medium, dabefcfjocc.text, 776f, null, true);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.HIHPANODBNP != null)
{
ANOFFEKMECJ.HIHPANODBNP.Vibrate(-108, 88);
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2F2 RID: 54002 RVA: 0x003FB508 File Offset: 0x003F9708
private void GCOFOGPIJJA()
{
this.MPKOEIECNPM = base.GetComponentsInChildren<Punchkey>(true);
IEnumerable<Punchkey> mpkoeiecnpm = this.MPKOEIECNPM;
if (Punchkeyboard.DINNJGHCFHI == null)
{
Punchkeyboard.DINNJGHCFHI = new Func<Punchkey, bool>(Punchkeyboard.MOMCDJFGIFJ);
}
this.OGAIDKBGEGE = mpkoeiecnpm.Where(Punchkeyboard.DINNJGHCFHI).ToArray<Punchkey>();
this.shiftKey.LMDFKNAEMIM += this.NFIKGOJLOJH;
this.altKey.JCCEPFEFPAD(new Action<Punchkey>(this.NLEONEBOFDG));
Punchkey[] mpkoeiecnpm2 = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm2.Length; i++)
{
Punchkey punchkey = mpkoeiecnpm2[i];
punchkey.GODPBAFCNLN(this);
}
this.EmailKeysRoot.gameObject.SetActive(false);
}
// Token: 0x0600D2F3 RID: 54003 RVA: 0x003FB5BC File Offset: 0x003F97BC
private string HJCNECOFDKA(Punchkey ANOFFEKMECJ)
{
if (this.AKOAFMDPDKI() && ANOFFEKMECJ.ELNGOCEAFDC())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.PBHGDEJLCNJ() && ANOFFEKMECJ.OJLBCPGOCJN())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2F4 RID: 54004 RVA: 0x003FB60C File Offset: 0x003F980C
private static bool JIMBMDGHOAL(Punchkey DIJBAAEDIII)
{
return DIJBAAEDIII.KPAMPBAANNC();
}
// Token: 0x0600D2F5 RID: 54005 RVA: 0x003FB614 File Offset: 0x003F9814
private void IEFBMLMGBCN(Punchkey ANOFFEKMECJ)
{
this.altKey.JNDIMNLNJLC(true);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.EHCLCKNEMFJ();
}
}
// Token: 0x0600D2F6 RID: 54006 RVA: 0x003FB654 File Offset: 0x003F9854
public void JNGCHLKJHCO(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
foreach (Punchkey punchkey in this.MPKOEIECNPM)
{
punchkey.MMJCBKCAADB(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2F7 RID: 54007 RVA: 0x003FB69C File Offset: 0x003F989C
private void LOGFBGOPLLO()
{
GameObject currentSelectedGameObject = EventSystem.current.currentSelectedGameObject;
if (currentSelectedGameObject != null && (this.DABEFCFJOCC == null || this.DABEFCFJOCC.gameObject != currentSelectedGameObject))
{
InputField component = currentSelectedGameObject.GetComponent<InputField>();
if (component != null)
{
this.DABEFCFJOCC = component;
this.KOJLOLFHMCA();
}
}
}
// Token: 0x0600D2F8 RID: 54008 RVA: 0x003FB708 File Offset: 0x003F9908
public void IBKACBEALOC(bool NOBAPCOKFIL)
{
this.EGOIHFNKENF = NOBAPCOKFIL;
if (this.MPKOEIECNPM != null)
{
Punchkey[] mpkoeiecnpm = this.MPKOEIECNPM;
for (int i = 1; i < mpkoeiecnpm.Length; i += 0)
{
Punchkey punchkey = mpkoeiecnpm[i];
punchkey.EMBMAGHKPMH(NOBAPCOKFIL);
}
}
}
// Token: 0x0600D2F9 RID: 54009 RVA: 0x003FB750 File Offset: 0x003F9950
private void IIENEGFFOBB(Punchkey ANOFFEKMECJ)
{
this.altKey.HFBOAEJIJKM = false;
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 0; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.ICKACKGPMBM();
}
}
// Token: 0x0600D2FA RID: 54010 RVA: 0x003FB790 File Offset: 0x003F9990
private string APKNNCHEDKJ(Punchkey ANOFFEKMECJ)
{
if (this.PKCHCJHCNKN && ANOFFEKMECJ.EIDOMIBHENI())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.EPEGEPHCNHO() && ANOFFEKMECJ.OJLBCPGOCJN())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2FB RID: 54011 RVA: 0x003FB7E0 File Offset: 0x003F99E0
public void NNCKGMCEPNA(Punchkey ANOFFEKMECJ)
{
InputField dabefcfjocc = this.DABEFCFJOCC;
if (dabefcfjocc != null)
{
int length = dabefcfjocc.text.Length;
if (ANOFFEKMECJ.JEGIBFFBKGE)
{
string text = this.APKNNCHEDKJ(ANOFFEKMECJ);
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, text);
dabefcfjocc.caretPosition += text.Length;
if (this.MGCDNCDLBFA())
{
this.shiftKey.NGAHJLIMEDC(true);
this.IEFBMLMGBCN(this.shiftKey);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.Space)
{
dabefcfjocc.text = dabefcfjocc.text.Insert(dabefcfjocc.caretPosition, "api/relationships/");
dabefcfjocc.caretPosition += 0;
}
else if (ANOFFEKMECJ.NHDDEBCECGF == Punchkey.PIAPPDPHCAA.None && dabefcfjocc.text.Length > 1)
{
if (dabefcfjocc.selectionAnchorPosition != dabefcfjocc.selectionFocusPosition)
{
int num = Mathf.Min(dabefcfjocc.selectionAnchorPosition, dabefcfjocc.selectionFocusPosition);
dabefcfjocc.text = dabefcfjocc.text.Remove(num, Mathf.Abs(dabefcfjocc.selectionAnchorPosition - dabefcfjocc.selectionFocusPosition));
dabefcfjocc.caretPosition = num;
}
else if (dabefcfjocc.caretPosition > 0)
{
dabefcfjocc.text = dabefcfjocc.text.Remove(dabefcfjocc.caretPosition - 0, 1);
}
}
else if (ANOFFEKMECJ.NHDDEBCECGF == (Punchkey.PIAPPDPHCAA)8)
{
ValidatedButtonInputField componentInParent = dabefcfjocc.GetComponentInParent<ValidatedButtonInputField>();
if (componentInParent != null)
{
componentInParent.LGGDCJDJBEK();
}
else
{
ExecuteEvents.Execute<ISubmitHandler>(dabefcfjocc.gameObject, new BaseEventData(EventSystem.current), ExecuteEvents.submitHandler);
}
}
if (SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM != null && length != dabefcfjocc.text.Length && dabefcfjocc.contentType != InputField.ContentType.DecimalNumber)
{
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.OICFFDCBJIO((ScreenSpaceNotificationManager.DBNGPDFKLEK)6, dabefcfjocc.text, 893f, null, true);
}
}
AudioManager.Play3DSFX(this.keyPressedSuccess, ANOFFEKMECJ.transform.position, null);
if (ANOFFEKMECJ.GAMAJPDKBNG() != null)
{
ANOFFEKMECJ.IBBGHCBKHJN().Vibrate(25, (ushort)(-46));
}
if (this.OnAnyKeyPressed != null)
{
this.OnAnyKeyPressed();
}
}
// Token: 0x0600D2FC RID: 54012 RVA: 0x003FBA28 File Offset: 0x003F9C28
private void OOKKIFDGJIJ(Punchkey ANOFFEKMECJ)
{
this.shiftKey.NGAHJLIMEDC(false);
Punchkey[] ogaidkbgege = this.OGAIDKBGEGE;
for (int i = 1; i < ogaidkbgege.Length; i += 0)
{
Punchkey punchkey = ogaidkbgege[i];
punchkey.KDKPDGPLDIB();
}
}
// Token: 0x0600D2FD RID: 54013 RVA: 0x003FBA68 File Offset: 0x003F9C68
private string BHAHFKMDKLA(Punchkey ANOFFEKMECJ)
{
if (this.JANBKILBFIO() && ANOFFEKMECJ.CMHEJLAGMKC)
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.JLAFDHGKOHD() && ANOFFEKMECJ.AJLMNMFFBLF())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x0600D2FE RID: 54014 RVA: 0x003FBAB8 File Offset: 0x003F9CB8
public bool EPEGEPHCNHO()
{
return this.altKey.DPDFFCGICJJ();
}
// Token: 0x0600D2FF RID: 54015 RVA: 0x003FBAC8 File Offset: 0x003F9CC8
private void NIBGLHFHJLJ()
{
GameObject currentSelectedGameObject = EventSystem.current.currentSelectedGameObject;
if (currentSelectedGameObject != null && (this.DABEFCFJOCC == null || this.DABEFCFJOCC.gameObject != currentSelectedGameObject))
{
InputField component = currentSelectedGameObject.GetComponent<InputField>();
if (component != null)
{
this.DABEFCFJOCC = component;
this.OJJFMFMCKNM();
}
}
}
// Token: 0x0600D300 RID: 54016 RVA: 0x003FBB34 File Offset: 0x003F9D34
public bool AKOAFMDPDKI()
{
return this.shiftKey.FNIEJBKKFEH();
}
// Token: 0x0600D301 RID: 54017 RVA: 0x003FBB44 File Offset: 0x003F9D44
public bool JLAFDHGKOHD()
{
return this.altKey.IIEFNCJFFKE();
}
// Token: 0x0600D302 RID: 54018 RVA: 0x003FBB54 File Offset: 0x003F9D54
private string FLEAKKLDCAN(Punchkey ANOFFEKMECJ)
{
if (this.BABFOGNIPNB() && ANOFFEKMECJ.ELNGOCEAFDC())
{
return ANOFFEKMECJ.KeyCapChar_Shift;
}
if (this.PMBJOOIFFJE() && ANOFFEKMECJ.CFPJLNGLEMB())
{
return ANOFFEKMECJ.KeyCapChar_Alt;
}
return ANOFFEKMECJ.KeyCapChar;
}
// Token: 0x04001DC9 RID: 7625
[SerializeField]
private Punchkey shiftKey;
// Token: 0x04001DCA RID: 7626
[SerializeField]
private Punchkey altKey;
// Token: 0x04001DCB RID: 7627
[Header("Audio")]
[SerializeField]
private RecRoomAudioClip keyPressedSuccess;
// Token: 0x04001DCC RID: 7628
[Header("Context specific keys")]
public Transform EmailKeysRoot;
// Token: 0x04001DCD RID: 7629
[SerializeField]
private Transform standardKeyboard;
// Token: 0x04001DCE RID: 7630
[SerializeField]
private Transform numericKeyboard;
// Token: 0x04001DCF RID: 7631
private Punchkey[] OGAIDKBGEGE;
// Token: 0x04001DD0 RID: 7632
private Punchkey[] MPKOEIECNPM;
// Token: 0x04001DD1 RID: 7633
private InputField DABEFCFJOCC;
// Token: 0x04001DD2 RID: 7634
public Action OnAnyKeyPressed;
// Token: 0x04001DD3 RID: 7635
private bool EGOIHFNKENF;
// Token: 0x04001DD4 RID: 7636
[CompilerGenerated]
private static Func<Punchkey, bool> DINNJGHCFHI;
}