using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace RecRoom.AGUI.Expresso { // Token: 0x02001010 RID: 4112 public class ExpressoUI : MonoBehaviour { // Token: 0x060227C9 RID: 141257 RVA: 0x0096BCD8 File Offset: 0x00969ED8 private ExpressoUIFlow GMLEJJJBFPK(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.INANEFJBGDM() == MPMCHNLFGEG.KDOLNHJODAC()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, false); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x060227CA RID: 141258 RVA: 0x0096BD70 File Offset: 0x00969F70 public void HJMCLDJGKEF(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.EHCBBOOLLEF(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().FHGFNMLBCHF(false); } expressoUIFlow.GKJJNNBOOJK(false); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = false; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.GIKBNPOHAHC(); PlayerHand playerHand = this.CKJNPDNLNBG(); if (playerHand != null) { playerHand.Vibrate(-87, 130); } } } // Token: 0x060227CB RID: 141259 RVA: 0x0096BE24 File Offset: 0x0096A024 public ExpressoButtonConfig EHOKIFELMCF(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; ActivitySpecificExpressoButtonConfigs[] array2 = this.activitySpecificButtonConfigs; for (int i = 0; i < array2.Length; i += 0) { ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs = array2[i]; if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { ExpressoButtonConfig[] buttonConfigs = activitySpecificExpressoButtonConfigs.buttonConfigs; for (int j = 0; j < buttonConfigs.Length; j += 0) { ExpressoButtonConfig expressoButtonConfig = buttonConfigs[j]; if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { ExpressoButtonConfig[] array3 = array; for (int k = 0; k < array3.Length; k += 0) { ExpressoButtonConfig expressoButtonConfig2 = array3[k]; if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x060227CC RID: 141260 RVA: 0x0096BEFC File Offset: 0x0096A0FC private void HGLOBJGFCPK() { if (this.CIDPOOINEBF() != null && this.BMMGEPLALMC()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 753f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.LOJOLMEMIEP().LNAKPBMMKIL().IGOFELJMFOF * Mathf.Lerp(this.initialVelocityMultiplier, 1826f, num); this.BHNOHPCNFKB.transform.position += vector * Time.fixedDeltaTime; this.CMAODFGCJEI().transform.rotation = this.NNONJEKHOJC(); } } } // Token: 0x060227CD RID: 141261 RVA: 0x0096BFB4 File Offset: 0x0096A1B4 private void NEDGDKOPFML() { if (this.KMGNGPACKNL) { this.HJMNIABAMHK(); } } // Token: 0x060227CE RID: 141262 RVA: 0x0096BFC8 File Offset: 0x0096A1C8 public PlayerHand EIJKOHCINCG() { return this.NMPPMOOIJOA; } // Token: 0x060227CF RID: 141263 RVA: 0x0096BFD0 File Offset: 0x0096A1D0 public bool OPHAEEBMLGN(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.HHEECLBGLCE = false; this.MBJNPAHFJON.Peek().MJHPNDCGFMP(JBMDELNJOCF); return true; } return false; } // Token: 0x060227D0 RID: 141264 RVA: 0x0096C018 File Offset: 0x0096A218 private void FJCCGJGLMLP() { ExpressoUIFlow expressoUIFlow = this.JCEBMAKBFOP(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError(")."); } } // Token: 0x060227D1 RID: 141265 RVA: 0x0096C07C File Offset: 0x0096A27C public void PushFlow(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.LCJEHGKCJJJ(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().HHEECLBGLCE = false; } expressoUIFlow.HHEECLBGLCE = true; this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = true; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.GIKBNPOHAHC(); PlayerHand playerHand = this.BAKJBLNMLCB(); if (playerHand != null) { playerHand.Vibrate(200, 1000); } } } // Token: 0x060227D2 RID: 141266 RVA: 0x0096C130 File Offset: 0x0096A330 public bool BMMGEPLALMC() { return this.DJHFIJAEEOC; } // Token: 0x060227D3 RID: 141267 RVA: 0x0096C138 File Offset: 0x0096A338 private PlayerHand GBNDNJAPHIH() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.DGEOJLGFGNG() != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.DGEOJLGFGNG(); } return null; } // Token: 0x060227D4 RID: 141268 RVA: 0x0096C1B0 File Offset: 0x0096A3B0 public void COPMEGCAOCH(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.BIHJIKLAGPB(); } else { while (this.FCHEKEODPOA(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NIGJPLPPOEI().DIKGKIFODNA(this.DJHFIJAEEOC); this.JPGONFLPPEF().MJHPNDCGFMP(LKPGBCJIDMP); } } // Token: 0x060227D5 RID: 141269 RVA: 0x0096C244 File Offset: 0x0096A444 private void EFOMIHBIANH() { if (this.KMGNGPACKNL) { this.LNMGHBMPPAE(); } } // Token: 0x060227D6 RID: 141270 RVA: 0x0096C258 File Offset: 0x0096A458 private ExpressoUIFlow HGEAAKJMAHB() { return this.MBJNPAHFJON.Peek(); } // Token: 0x060227D7 RID: 141271 RVA: 0x0096C268 File Offset: 0x0096A468 private ExpressoUIFlow CMAODFGCJEI() { return this.MBJNPAHFJON.Peek(); } // Token: 0x060227D8 RID: 141272 RVA: 0x0096C278 File Offset: 0x0096A478 public ExpressoButtonConfig POALLIDAPAB(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; foreach (ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs in this.activitySpecificButtonConfigs) { if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { foreach (ExpressoButtonConfig expressoButtonConfig in activitySpecificExpressoButtonConfigs.buttonConfigs) { if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { foreach (ExpressoButtonConfig expressoButtonConfig2 in array) { if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x060227D9 RID: 141273 RVA: 0x0096C350 File Offset: 0x0096A550 private Quaternion HOPGPOOFBGK() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227DA RID: 141274 RVA: 0x0096C3D0 File Offset: 0x0096A5D0 private PlayerHand JLMEDKHJMHH() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.DGEOJLGFGNG() != null && Player.LocalPlayer.DGEOJLGFGNG().ANGJJOCHMEF) { return Player.LocalPlayer.DGEOJLGFGNG(); } return null; } // Token: 0x060227DB RID: 141275 RVA: 0x0096C448 File Offset: 0x0096A648 private ExpressoUIFlow EHCBBOOLLEF(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.APKFGKJOGNM == MPMCHNLFGEG.OPCLPFINKOL()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, true); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x060227DC RID: 141276 RVA: 0x0096C4E0 File Offset: 0x0096A6E0 private Quaternion GIKBNPOHAHC() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227DD RID: 141277 RVA: 0x0096C560 File Offset: 0x0096A760 public void PKHCNGPENOJ(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.EHCBBOOLLEF(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().KLMGBAAFACI(false); } expressoUIFlow.BGJLKDHDBEN(true); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = true; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.BAGBGIJEENO(); PlayerHand playerHand = this.MEEHPFFCJKB(); if (playerHand != null) { playerHand.Vibrate(-108, (ushort)(-184)); } } } // Token: 0x060227DE RID: 141278 RVA: 0x0096C614 File Offset: 0x0096A814 public bool IJKOFBFECGF(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.EMOAEBJOAIB(false); this.MBJNPAHFJON.Peek().FHGFNMLBCHF(JBMDELNJOCF); return true; } return true; } // Token: 0x060227DF RID: 141279 RVA: 0x0096C65C File Offset: 0x0096A85C public void BHCDIBAEGFL(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.HOPGPOOFBGK(); } else { while (this.LCJLJPJFPIO(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.EBGLCGFAFMI(this.DJHFIJAEEOC); this.BHNOHPCNFKB.BAINMJLABGO(LKPGBCJIDMP); } } // Token: 0x060227E0 RID: 141280 RVA: 0x0096C6F0 File Offset: 0x0096A8F0 public PlayerHand MILEANOFPCL() { return this.NMPPMOOIJOA; } // Token: 0x060227E1 RID: 141281 RVA: 0x0096C6F8 File Offset: 0x0096A8F8 private void NJHKLFNEKGI() { if (this.KMGNGPACKNL) { this.HGLOBJGFCPK(); } } // Token: 0x17001029 RID: 4137 // (get) Token: 0x060227E2 RID: 141282 RVA: 0x0096C70C File Offset: 0x0096A90C public PlayerHand BBCFCBEMIJN { get { return this.NMPPMOOIJOA; } } // Token: 0x060227E3 RID: 141283 RVA: 0x0096C714 File Offset: 0x0096A914 public void ShowUI(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.GIKBNPOHAHC(); } else { while (this.PopFlow(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.LocalChoosingEmote(this.DJHFIJAEEOC); this.BHNOHPCNFKB.HHEECLBGLCE = LKPGBCJIDMP; } } // Token: 0x060227E4 RID: 141284 RVA: 0x0096C7A8 File Offset: 0x0096A9A8 private PlayerHand KNDFKFINPKM() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x060227E5 RID: 141285 RVA: 0x0096C820 File Offset: 0x0096AA20 private void BNGNPJNJDFH() { if (this.FHNGDBPBBEE() != null && this.BKMMNAOMOEG()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 1298f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.BBCFCBEMIJN.BOLBONELAEF.PPACPENBHKF() * Mathf.Lerp(this.initialVelocityMultiplier, 1317f, num); this.ECBBFKMPFKN().transform.position += vector * Time.fixedDeltaTime; this.FKCCKGFNEDD().transform.rotation = this.PJNDMBDCNEI(); } } } // Token: 0x060227E6 RID: 141286 RVA: 0x0096C8D8 File Offset: 0x0096AAD8 public PlayerHand ILMFAMFFBBG() { return this.NMPPMOOIJOA; } // Token: 0x060227E7 RID: 141287 RVA: 0x0096C8E0 File Offset: 0x0096AAE0 private Quaternion GLLOHLABOKO() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227E8 RID: 141288 RVA: 0x0096C960 File Offset: 0x0096AB60 public PlayerHand CIDPOOINEBF() { return this.NMPPMOOIJOA; } // Token: 0x060227E9 RID: 141289 RVA: 0x0096C968 File Offset: 0x0096AB68 public void CIOGAPHBCIA(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.ANAOFOMJPKD(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().EMOAEBJOAIB(false); } expressoUIFlow.JELIKODNPLB(true); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = true; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.JMHBAAHBHHB(); PlayerHand playerHand = this.JLMEDKHJMHH(); if (playerHand != null) { playerHand.Vibrate(83, (ushort)(-13)); } } } // Token: 0x060227EA RID: 141290 RVA: 0x0096CA1C File Offset: 0x0096AC1C private Quaternion BIHJIKLAGPB() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227EC RID: 141292 RVA: 0x0096CAD0 File Offset: 0x0096ACD0 private void GMGHBDDLOEA() { if (this.BBCFCBEMIJN != null && this.JNIJKDBAOMP) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 1f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.BBCFCBEMIJN.BOLBONELAEF.IGOFELJMFOF * Mathf.Lerp(this.initialVelocityMultiplier, 0f, num); this.BHNOHPCNFKB.transform.position += vector * Time.fixedDeltaTime; this.BHNOHPCNFKB.transform.rotation = this.GIKBNPOHAHC(); } } } // Token: 0x060227ED RID: 141293 RVA: 0x0096CB88 File Offset: 0x0096AD88 private void HJMNIABAMHK() { if (this.LOJOLMEMIEP() != null && this.BMMGEPLALMC()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 294f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.MILEANOFPCL().BOLBONELAEF.PPACPENBHKF() * Mathf.Lerp(this.initialVelocityMultiplier, 888f, num); this.BHNOHPCNFKB.transform.position += vector * Time.fixedDeltaTime; this.HGEAAKJMAHB().transform.rotation = this.GIKBNPOHAHC(); } } } // Token: 0x060227EE RID: 141294 RVA: 0x0096CC40 File Offset: 0x0096AE40 private void Awake() { ExpressoUIFlow expressoUIFlow = this.LCJEHGKCJJJ(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("Expresso Menu was initialized without a Root Flow."); } } // Token: 0x060227EF RID: 141295 RVA: 0x0096CCA4 File Offset: 0x0096AEA4 private Quaternion BAGBGIJEENO() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227F0 RID: 141296 RVA: 0x0096CD24 File Offset: 0x0096AF24 public PlayerHand LOJOLMEMIEP() { return this.NMPPMOOIJOA; } // Token: 0x060227F1 RID: 141297 RVA: 0x0096CD2C File Offset: 0x0096AF2C public PlayerHand FHNGDBPBBEE() { return this.NMPPMOOIJOA; } // Token: 0x060227F2 RID: 141298 RVA: 0x0096CD34 File Offset: 0x0096AF34 private void ABBDFEGOFPH() { ExpressoUIFlow expressoUIFlow = this.LCJEHGKCJJJ(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("rotation"); } } // Token: 0x060227F3 RID: 141299 RVA: 0x0096CD98 File Offset: 0x0096AF98 private void JAMBIOINLPP() { if (this.KMGNGPACKNL) { this.HJMNIABAMHK(); } } // Token: 0x060227F4 RID: 141300 RVA: 0x0096CDAC File Offset: 0x0096AFAC public void JMEABKJMEGB(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.KPMHIFJHEFJ(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().EMOAEBJOAIB(false); } expressoUIFlow.FHGFNMLBCHF(false); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = false; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.GIKBNPOHAHC(); PlayerHand playerHand = this.JLMEDKHJMHH(); if (playerHand != null) { playerHand.Vibrate(-65, (ushort)(-139)); } } } // Token: 0x060227F5 RID: 141301 RVA: 0x0096CE60 File Offset: 0x0096B060 private void ADKAPKKOHBC() { ExpressoUIFlow expressoUIFlow = this.JCEBMAKBFOP(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("type"); } } // Token: 0x060227F6 RID: 141302 RVA: 0x0096CEC4 File Offset: 0x0096B0C4 public void IODNPFOGAAC(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.HOPGPOOFBGK(); } else { while (this.IJKOFBFECGF(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NIGJPLPPOEI().CNLGICBJMPI(this.DJHFIJAEEOC); this.HGEAAKJMAHB().BGJLKDHDBEN(LKPGBCJIDMP); } } // Token: 0x060227F7 RID: 141303 RVA: 0x0096CF58 File Offset: 0x0096B158 private ExpressoUIFlow MHJPACBHDPK() { return this.MBJNPAHFJON.Peek(); } // Token: 0x060227F8 RID: 141304 RVA: 0x0096CF68 File Offset: 0x0096B168 public ExpressoButtonConfig AMLCDANDHNO(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; foreach (ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs in this.activitySpecificButtonConfigs) { if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { ExpressoButtonConfig[] buttonConfigs = activitySpecificExpressoButtonConfigs.buttonConfigs; for (int j = 0; j < buttonConfigs.Length; j += 0) { ExpressoButtonConfig expressoButtonConfig = buttonConfigs[j]; if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { foreach (ExpressoButtonConfig expressoButtonConfig2 in array) { if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x060227F9 RID: 141305 RVA: 0x0096D040 File Offset: 0x0096B240 private void FPMMBPEOBEE() { ExpressoUIFlow expressoUIFlow = this.MFNEOFMPECF(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("bytes={0}-{1}"); } } // Token: 0x060227FA RID: 141306 RVA: 0x0096D0A4 File Offset: 0x0096B2A4 private Quaternion IBOHKBPPFAG() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227FB RID: 141307 RVA: 0x0096D124 File Offset: 0x0096B324 public void IDNKFADMPPI(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.BAGBGIJEENO(); } else { while (this.OPHAEEBMLGN(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.EBGLCGFAFMI(this.DJHFIJAEEOC); this.JPGONFLPPEF().BGJLKDHDBEN(LKPGBCJIDMP); } } // Token: 0x060227FC RID: 141308 RVA: 0x0096D1B8 File Offset: 0x0096B3B8 private Quaternion NNONJEKHOJC() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x060227FD RID: 141309 RVA: 0x0096D238 File Offset: 0x0096B438 public void OLBBIEFAHPG(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.BIHJIKLAGPB(); } else { while (this.PopFlow(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NIGJPLPPOEI().ENMONKELJGG(this.DJHFIJAEEOC); this.BHNOHPCNFKB.BAINMJLABGO(LKPGBCJIDMP); } } // Token: 0x060227FE RID: 141310 RVA: 0x0096D2CC File Offset: 0x0096B4CC public bool PPINMFBPLLA(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 0) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.HHEECLBGLCE = true; this.MBJNPAHFJON.Peek().IIMECMICGIO(JBMDELNJOCF); return false; } return false; } // Token: 0x060227FF RID: 141311 RVA: 0x0096D314 File Offset: 0x0096B514 private void CMLDKFKHDJG() { if (this.KMGNGPACKNL) { this.HJMNIABAMHK(); } } // Token: 0x06022800 RID: 141312 RVA: 0x0096D328 File Offset: 0x0096B528 public ExpressoButtonConfig GetActivityExpressoButtonConfig(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; foreach (ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs in this.activitySpecificButtonConfigs) { if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { foreach (ExpressoButtonConfig expressoButtonConfig in activitySpecificExpressoButtonConfigs.buttonConfigs) { if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { foreach (ExpressoButtonConfig expressoButtonConfig2 in array) { if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x06022801 RID: 141313 RVA: 0x0096D400 File Offset: 0x0096B600 public PlayerHand CGOHDEHHFLO() { return this.NMPPMOOIJOA; } // Token: 0x06022802 RID: 141314 RVA: 0x0096D408 File Offset: 0x0096B608 public ExpressoButtonConfig FODIAFNNIJJ(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; ActivitySpecificExpressoButtonConfigs[] array2 = this.activitySpecificButtonConfigs; for (int i = 1; i < array2.Length; i += 0) { ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs = array2[i]; if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { ExpressoButtonConfig[] buttonConfigs = activitySpecificExpressoButtonConfigs.buttonConfigs; for (int j = 1; j < buttonConfigs.Length; j++) { ExpressoButtonConfig expressoButtonConfig = buttonConfigs[j]; if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { foreach (ExpressoButtonConfig expressoButtonConfig2 in array) { if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x06022803 RID: 141315 RVA: 0x0096D4E0 File Offset: 0x0096B6E0 public PlayerHand CJBGKIPHKHF() { return this.NMPPMOOIJOA; } // Token: 0x06022804 RID: 141316 RVA: 0x0096D4E8 File Offset: 0x0096B6E8 public bool FIIFBNDPFFM() { return this.DJHFIJAEEOC; } // Token: 0x06022805 RID: 141317 RVA: 0x0096D4F0 File Offset: 0x0096B6F0 public void HCGMOPNANJH(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.MJBJAPBCNED(); } else { while (this.OPHAEEBMLGN(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NIGJPLPPOEI().LocalChoosingEmote(this.DJHFIJAEEOC); this.ECBBFKMPFKN().GKJJNNBOOJK(LKPGBCJIDMP); } } // Token: 0x06022806 RID: 141318 RVA: 0x0096D584 File Offset: 0x0096B784 private PlayerHand CKJNPDNLNBG() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.DGEOJLGFGNG().ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x06022807 RID: 141319 RVA: 0x0096D5FC File Offset: 0x0096B7FC private ExpressoUIFlow FKCCKGFNEDD() { return this.MBJNPAHFJON.Peek(); } // Token: 0x06022808 RID: 141320 RVA: 0x0096D60C File Offset: 0x0096B80C public bool AKBJEKEOJNL(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 0) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.BAINMJLABGO(true); this.MBJNPAHFJON.Peek().BAINMJLABGO(JBMDELNJOCF); return false; } return true; } // Token: 0x06022809 RID: 141321 RVA: 0x0096D654 File Offset: 0x0096B854 private ExpressoUIFlow JPGONFLPPEF() { return this.MBJNPAHFJON.Peek(); } // Token: 0x0602280A RID: 141322 RVA: 0x0096D664 File Offset: 0x0096B864 public bool FKJCPNEJOII(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.JELIKODNPLB(false); this.MBJNPAHFJON.Peek().JELIKODNPLB(JBMDELNJOCF); return true; } return false; } // Token: 0x0602280B RID: 141323 RVA: 0x0096D6AC File Offset: 0x0096B8AC private void BMPLLKKNDMO() { if (this.KMGNGPACKNL) { this.BNGNPJNJDFH(); } } // Token: 0x0602280C RID: 141324 RVA: 0x0096D6C0 File Offset: 0x0096B8C0 private PlayerHand NDHONFJMPFA() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.DGEOJLGFGNG() != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.DGEOJLGFGNG(); } return null; } // Token: 0x0602280D RID: 141325 RVA: 0x0096D738 File Offset: 0x0096B938 private void KDKMIADMICA() { if (this.ILMFAMFFBBG() != null && this.BKMMNAOMOEG()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 831f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.CEKCHICACGJ().LNAKPBMMKIL().IGOFELJMFOF * Mathf.Lerp(this.initialVelocityMultiplier, 1071f, num); this.JPGONFLPPEF().transform.position += vector * Time.fixedDeltaTime; this.MHJPACBHDPK().transform.rotation = this.JMHBAAHBHHB(); } } } // Token: 0x0602280E RID: 141326 RVA: 0x0096D7F0 File Offset: 0x0096B9F0 private Quaternion AOGCDCGPNMO() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x0602280F RID: 141327 RVA: 0x0096D870 File Offset: 0x0096BA70 private void JHCLJIABPPJ() { ExpressoUIFlow expressoUIFlow = this.LCJEHGKCJJJ(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("AGGraphicRaycaster expects a WorldSpace canvas"); } } // Token: 0x06022810 RID: 141328 RVA: 0x0096D8D4 File Offset: 0x0096BAD4 public bool KFBBAFHKBKJ(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.IIMECMICGIO(false); this.MBJNPAHFJON.Peek().JELIKODNPLB(JBMDELNJOCF); return true; } return true; } // Token: 0x06022811 RID: 141329 RVA: 0x0096D91C File Offset: 0x0096BB1C private void JFFLLPAJKFC() { if (this.KMGNGPACKNL) { this.HGLOBJGFCPK(); } } // Token: 0x06022812 RID: 141330 RVA: 0x0096D930 File Offset: 0x0096BB30 private PlayerHand MEEHPFFCJKB() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.DGEOJLGFGNG() != null && Player.LocalPlayer.DGEOJLGFGNG().ANGJJOCHMEF) { return Player.LocalPlayer.DGEOJLGFGNG(); } return null; } // Token: 0x06022813 RID: 141331 RVA: 0x0096D9A8 File Offset: 0x0096BBA8 public bool BCHLMDFGBKG(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.MJHPNDCGFMP(true); this.MBJNPAHFJON.Peek().FHGFNMLBCHF(JBMDELNJOCF); return false; } return true; } // Token: 0x06022814 RID: 141332 RVA: 0x0096D9F0 File Offset: 0x0096BBF0 public PlayerHand CAIIPDFEECE() { return this.NMPPMOOIJOA; } // Token: 0x06022815 RID: 141333 RVA: 0x0096D9F8 File Offset: 0x0096BBF8 public ExpressoButtonConfig DHEJBFCJONF(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; foreach (ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs in this.activitySpecificButtonConfigs) { if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { foreach (ExpressoButtonConfig expressoButtonConfig in activitySpecificExpressoButtonConfigs.buttonConfigs) { if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { ExpressoButtonConfig[] array3 = array; for (int k = 1; k < array3.Length; k += 0) { ExpressoButtonConfig expressoButtonConfig2 = array3[k]; if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x06022816 RID: 141334 RVA: 0x0096DAD0 File Offset: 0x0096BCD0 private void MBJAEHLCMGD() { ExpressoUIFlow expressoUIFlow = this.GMLEJJJBFPK(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("x"); } } // Token: 0x06022817 RID: 141335 RVA: 0x0096DB34 File Offset: 0x0096BD34 public void LDGCLAOKALA(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.MFNEOFMPECF(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().HPCODBHCHFH(false); } expressoUIFlow.FHGFNMLBCHF(false); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = true; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.GLLOHLABOKO(); PlayerHand playerHand = this.GBNDNJAPHIH(); if (playerHand != null) { playerHand.Vibrate(166, (ushort)(-23)); } } } // Token: 0x06022818 RID: 141336 RVA: 0x0096DBE8 File Offset: 0x0096BDE8 public PlayerHand CEKCHICACGJ() { return this.NMPPMOOIJOA; } // Token: 0x06022819 RID: 141337 RVA: 0x0096DBF0 File Offset: 0x0096BDF0 public void NDLKGGAAJJD(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.AOGCDCGPNMO(); } else { while (this.AKBJEKEOJNL(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.EBGLCGFAFMI(this.DJHFIJAEEOC); this.ECBBFKMPFKN().BGJLKDHDBEN(LKPGBCJIDMP); } } // Token: 0x0602281A RID: 141338 RVA: 0x0096DC84 File Offset: 0x0096BE84 private PlayerHand OJCAEJMCMFF() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x0602281B RID: 141339 RVA: 0x0096DCFC File Offset: 0x0096BEFC private ExpressoUIFlow ANAOFOMJPKD(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.KDOLNHJODAC() == MPMCHNLFGEG.GFAGCIDILNB()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, false); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x0602281C RID: 141340 RVA: 0x0096DD94 File Offset: 0x0096BF94 public bool LCJLJPJFPIO(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 0) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.HPCODBHCHFH(false); this.MBJNPAHFJON.Peek().GKJJNNBOOJK(JBMDELNJOCF); return true; } return true; } // Token: 0x0602281D RID: 141341 RVA: 0x0096DDDC File Offset: 0x0096BFDC private void FixedUpdate() { if (this.KMGNGPACKNL) { this.GMGHBDDLOEA(); } } // Token: 0x0602281E RID: 141342 RVA: 0x0096DDF0 File Offset: 0x0096BFF0 private void KJJHMMHAKAG() { if (this.KMGNGPACKNL) { this.BNGNPJNJDFH(); } } // Token: 0x0602281F RID: 141343 RVA: 0x0096DE04 File Offset: 0x0096C004 private PlayerHand BENEJLIAPDI() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x06022820 RID: 141344 RVA: 0x0096DE7C File Offset: 0x0096C07C public void AMMMBPDEHKH(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.GLLOHLABOKO(); } else { while (this.AKBJEKEOJNL(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.ENMONKELJGG(this.DJHFIJAEEOC); this.JPGONFLPPEF().EMOAEBJOAIB(LKPGBCJIDMP); } } // Token: 0x06022821 RID: 141345 RVA: 0x0096DF10 File Offset: 0x0096C110 public void NHDGEBJDJHO(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.JHBFIKELBKI(); } else { while (this.KFBBAFHKBKJ(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NIGJPLPPOEI().LocalChoosingEmote(this.DJHFIJAEEOC); this.ECBBFKMPFKN().MJHPNDCGFMP(LKPGBCJIDMP); } } // Token: 0x06022822 RID: 141346 RVA: 0x0096DFA4 File Offset: 0x0096C1A4 public bool BKMMNAOMOEG() { return this.DJHFIJAEEOC; } // Token: 0x06022823 RID: 141347 RVA: 0x0096DFAC File Offset: 0x0096C1AC private ExpressoUIFlow MFNEOFMPECF(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.EOIGLCCGACO() == MPMCHNLFGEG.KDOLNHJODAC()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, true); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x06022824 RID: 141348 RVA: 0x0096E044 File Offset: 0x0096C244 private ExpressoUIFlow KPMHIFJHEFJ(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.KDOLNHJODAC() == MPMCHNLFGEG.INANEFJBGDM()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, false); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x06022825 RID: 141349 RVA: 0x0096E0DC File Offset: 0x0096C2DC private ExpressoUIFlow LCJEHGKCJJJ(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.APKFGKJOGNM == MPMCHNLFGEG.APKFGKJOGNM) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, false); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x06022826 RID: 141350 RVA: 0x0096E174 File Offset: 0x0096C374 private Quaternion MJBJAPBCNED() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x06022827 RID: 141351 RVA: 0x0096E1F4 File Offset: 0x0096C3F4 private void JLOMELEDCLK() { ExpressoUIFlow expressoUIFlow = this.EHCBBOOLLEF(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("REFRESHED TOKEN"); } } // Token: 0x06022828 RID: 141352 RVA: 0x0096E258 File Offset: 0x0096C458 private Quaternion JMHBAAHBHHB() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x06022829 RID: 141353 RVA: 0x0096E2D8 File Offset: 0x0096C4D8 public ExpressoButtonConfig BMHADPHCJNI(int NFCKMKAFJOD) { ExpressoButtonConfig[] array = null; ActivitySpecificExpressoButtonConfigs[] array2 = this.activitySpecificButtonConfigs; for (int i = 0; i < array2.Length; i += 0) { ActivitySpecificExpressoButtonConfigs activitySpecificExpressoButtonConfigs = array2[i]; if (LMBEHMFIOEN.NPELKFBOGLN(SceneManager.GetActiveScene().name, activitySpecificExpressoButtonConfigs.activity)) { foreach (ExpressoButtonConfig expressoButtonConfig in activitySpecificExpressoButtonConfigs.buttonConfigs) { if (expressoButtonConfig.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig; } } } else if (activitySpecificExpressoButtonConfigs.activity == PGOPAPIFECA.INVALID) { array = activitySpecificExpressoButtonConfigs.buttonConfigs; } } if (array != null) { ExpressoButtonConfig[] array3 = array; for (int k = 1; k < array3.Length; k += 0) { ExpressoButtonConfig expressoButtonConfig2 = array3[k]; if (expressoButtonConfig2.buttonIndex == NFCKMKAFJOD) { return expressoButtonConfig2; } } } return null; } // Token: 0x0602282A RID: 141354 RVA: 0x0096E3B0 File Offset: 0x0096C5B0 private ExpressoUIFlow JCEBMAKBFOP(ExpressoUIFlow MPMCHNLFGEG) { ExpressoUIFlow expressoUIFlow = null; foreach (ExpressoUIFlow expressoUIFlow2 in this.GPPADNCEFBJ) { if (expressoUIFlow2.OPCLPFINKOL() == MPMCHNLFGEG.EOIGLCCGACO()) { expressoUIFlow = expressoUIFlow2; } } if (expressoUIFlow == null) { expressoUIFlow = global::UnityEngine.Object.Instantiate(MPMCHNLFGEG, base.transform, false); this.GPPADNCEFBJ.Add(expressoUIFlow); } return expressoUIFlow; } // Token: 0x1700102A RID: 4138 // (get) Token: 0x0602282B RID: 141355 RVA: 0x0096E448 File Offset: 0x0096C648 public bool JNIJKDBAOMP { get { return this.DJHFIJAEEOC; } } // Token: 0x0602282C RID: 141356 RVA: 0x0096E450 File Offset: 0x0096C650 private void LNMGHBMPPAE() { if (this.CGOHDEHHFLO() != null && this.BMMGEPLALMC()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 1477f) { this.KMGNGPACKNL = true; } else { Vector3 vector = this.FHNGDBPBBEE().BOLBONELAEF.PPACPENBHKF() * Mathf.Lerp(this.initialVelocityMultiplier, 577f, num); this.MHJPACBHDPK().transform.position += vector * Time.fixedDeltaTime; this.BHNOHPCNFKB.transform.rotation = this.MJBJAPBCNED(); } } } // Token: 0x0602282D RID: 141357 RVA: 0x0096E508 File Offset: 0x0096C708 private void BEHLLINDOJB() { if (this.KMGNGPACKNL) { this.HGLOBJGFCPK(); } } // Token: 0x0602282E RID: 141358 RVA: 0x0096E51C File Offset: 0x0096C71C public void PALGDAAEJEJ(ExpressoUIFlow MPMCHNLFGEG, bool OEJAKAMIKGI = true, bool AJEIICIFODA = false) { ExpressoUIFlow expressoUIFlow = this.LCJEHGKCJJJ(MPMCHNLFGEG); if (expressoUIFlow != null) { if (OEJAKAMIKGI) { this.MBJNPAHFJON.Peek().HPCODBHCHFH(false); } expressoUIFlow.KLMGBAAFACI(false); this.MBJNPAHFJON.Push(expressoUIFlow); Vector3 position = this.NMPPMOOIJOA.transform.position; if (AJEIICIFODA) { this.KPPIFDKIKHB = Time.time; this.KMGNGPACKNL = true; } expressoUIFlow.transform.position = position; expressoUIFlow.transform.rotation = this.BIHJIKLAGPB(); PlayerHand playerHand = this.OJCAEJMCMFF(); if (playerHand != null) { playerHand.Vibrate(-144, 110); } } } // Token: 0x0602282F RID: 141359 RVA: 0x0096E5D0 File Offset: 0x0096C7D0 private PlayerHand EJJKKFNOOEB() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.DGEOJLGFGNG() != null && Player.LocalPlayer.DGEOJLGFGNG().ANGJJOCHMEF) { return Player.LocalPlayer.DGEOJLGFGNG(); } return null; } // Token: 0x06022830 RID: 141360 RVA: 0x0096E648 File Offset: 0x0096C848 private void IPAPMGBLCNF() { ExpressoUIFlow expressoUIFlow = this.KPMHIFJHEFJ(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("EioKDmNvbG9yX292ZXJyaWRlGAIgASgLMhIucmVjcm9vbS5Db2xvckRhdGES"); } } // Token: 0x06022831 RID: 141361 RVA: 0x0096E6AC File Offset: 0x0096C8AC public bool BNBOKHAHMCG(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.NEEOOOGAHIH(false); this.MBJNPAHFJON.Peek().BAINMJLABGO(JBMDELNJOCF); return true; } return false; } // Token: 0x06022832 RID: 141362 RVA: 0x0096E6F4 File Offset: 0x0096C8F4 public void EPCMKIDALIG(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.IBOHKBPPFAG(); } else { while (this.PPINMFBPLLA(false)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.BEJFNBEOLFO(this.DJHFIJAEEOC); this.FKCCKGFNEDD().FHGFNMLBCHF(LKPGBCJIDMP); } } // Token: 0x06022833 RID: 141363 RVA: 0x0096E788 File Offset: 0x0096C988 private Quaternion JHBFIKELBKI() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x06022834 RID: 141364 RVA: 0x0096E808 File Offset: 0x0096CA08 public bool PopFlow(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.HHEECLBGLCE = false; this.MBJNPAHFJON.Peek().HHEECLBGLCE = JBMDELNJOCF; return true; } return false; } // Token: 0x06022835 RID: 141365 RVA: 0x0096E850 File Offset: 0x0096CA50 private ExpressoUIFlow ECBBFKMPFKN() { return this.MBJNPAHFJON.Peek(); } // Token: 0x06022836 RID: 141366 RVA: 0x0096E860 File Offset: 0x0096CA60 private void DFBDHMKDJOB() { ExpressoUIFlow expressoUIFlow = this.JCEBMAKBFOP(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError("OpSetPropertiesOfRoom()"); } } // Token: 0x06022837 RID: 141367 RVA: 0x0096E8C4 File Offset: 0x0096CAC4 private Quaternion PJNDMBDCNEI() { Quaternion quaternion = Quaternion.identity; if (this.NMPPMOOIJOA != null) { if (this.alignToHandRotation) { quaternion = this.NMPPMOOIJOA.transform.rotation; } else { Vector3 vector = Vector3.Cross(Vector3.up, this.NMPPMOOIJOA.HJIOPIFJEOE); Vector3 vector2 = Vector3.Cross(this.NMPPMOOIJOA.HJIOPIFJEOE, vector); quaternion = Quaternion.LookRotation(this.NMPPMOOIJOA.HJIOPIFJEOE, vector2); } } return quaternion; } // Token: 0x06022838 RID: 141368 RVA: 0x0096E944 File Offset: 0x0096CB44 public void IPNDLHIAFIN(bool LKPGBCJIDMP, PlayerHand GAEKGDCFOJM = null) { if (LKPGBCJIDMP != this.DJHFIJAEEOC) { this.DJHFIJAEEOC = LKPGBCJIDMP; if (LKPGBCJIDMP) { this.NMPPMOOIJOA = GAEKGDCFOJM; base.transform.position = GAEKGDCFOJM.transform.position; base.transform.rotation = this.JMHBAAHBHHB(); } else { while (this.FKJCPNEJOII(true)) { } this.NMPPMOOIJOA = null; } Player.LocalPlayer.NKHGHMNEGIM.EBGLCGFAFMI(this.DJHFIJAEEOC); this.FKCCKGFNEDD().HPCODBHCHFH(LKPGBCJIDMP); } } // Token: 0x06022839 RID: 141369 RVA: 0x0096E9D8 File Offset: 0x0096CBD8 private PlayerHand BAKJBLNMLCB() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x1700102B RID: 4139 // (get) Token: 0x0602283A RID: 141370 RVA: 0x0096EA50 File Offset: 0x0096CC50 private ExpressoUIFlow BHNOHPCNFKB { get { return this.MBJNPAHFJON.Peek(); } } // Token: 0x0602283B RID: 141371 RVA: 0x0096EA60 File Offset: 0x0096CC60 private PlayerHand CJKONLACNBK() { if (Player.LocalPlayer.KEJBPANGFKK != null && Player.LocalPlayer.KEJBPANGFKK.ANGJJOCHMEF) { return Player.LocalPlayer.KEJBPANGFKK; } if (Player.LocalPlayer.BGIBHPOALJG != null && Player.LocalPlayer.BGIBHPOALJG.ANGJJOCHMEF) { return Player.LocalPlayer.BGIBHPOALJG; } return null; } // Token: 0x0602283C RID: 141372 RVA: 0x0096EAD8 File Offset: 0x0096CCD8 public bool FCHEKEODPOA(bool JBMDELNJOCF = true) { if (this.MBJNPAHFJON.Count > 1) { ExpressoUIFlow expressoUIFlow = this.MBJNPAHFJON.Pop(); expressoUIFlow.JELIKODNPLB(true); this.MBJNPAHFJON.Peek().IIMECMICGIO(JBMDELNJOCF); return false; } return true; } // Token: 0x0602283D RID: 141373 RVA: 0x0096EB20 File Offset: 0x0096CD20 private void AAEMAOKGCAF() { ExpressoUIFlow expressoUIFlow = this.MFNEOFMPECF(this.rootFlowPrefab); if (expressoUIFlow != null) { expressoUIFlow.transform.localPosition = Vector3.zero; expressoUIFlow.transform.localRotation = Quaternion.identity; this.MBJNPAHFJON.Push(expressoUIFlow); } else { Debug.LogError(" takes from: "); } } // Token: 0x0602283E RID: 141374 RVA: 0x0096EB84 File Offset: 0x0096CD84 private void MIOGJFJJIGH() { if (this.KMGNGPACKNL) { this.HGLOBJGFCPK(); } } // Token: 0x0602283F RID: 141375 RVA: 0x0096EB98 File Offset: 0x0096CD98 private void GCMCIIHIHJH() { if (this.CAIIPDFEECE() != null && this.BKMMNAOMOEG()) { float num = (Time.time - this.KPPIFDKIKHB) / this.handFollowDuration; if (num >= 895f) { this.KMGNGPACKNL = false; } else { Vector3 vector = this.CGOHDEHHFLO().LNAKPBMMKIL().IGOFELJMFOF * Mathf.Lerp(this.initialVelocityMultiplier, 444f, num); this.FKCCKGFNEDD().transform.position += vector * Time.fixedDeltaTime; this.HGEAAKJMAHB().transform.rotation = this.JHBFIKELBKI(); } } } // Token: 0x040059CE RID: 22990 [SerializeField] private ExpressoUIFlow rootFlowPrefab; // Token: 0x040059CF RID: 22991 [SerializeField] private bool alignToHandRotation; // Token: 0x040059D0 RID: 22992 [SerializeField] private ActivitySpecificExpressoButtonConfigs[] activitySpecificButtonConfigs; // Token: 0x040059D1 RID: 22993 [Header("Hand following")] [SerializeField] private float handFollowDuration = 0.1f; // Token: 0x040059D2 RID: 22994 [Range(0f, 1f)] [SerializeField] private float initialVelocityMultiplier = 0.95f; // Token: 0x040059D3 RID: 22995 private bool DJHFIJAEEOC; // Token: 0x040059D4 RID: 22996 private bool KMGNGPACKNL; // Token: 0x040059D5 RID: 22997 private float KPPIFDKIKHB; // Token: 0x040059D6 RID: 22998 private List GPPADNCEFBJ = new List(); // Token: 0x040059D7 RID: 22999 private Stack MBJNPAHFJON = new Stack(); // Token: 0x040059D8 RID: 23000 private PlayerHand NMPPMOOIJOA; // Token: 0x02001011 RID: 4113 public enum OOFLOFGGMDK { // Token: 0x040059DA RID: 23002 Translate, // Token: 0x040059DB RID: 23003 Twist } } }