using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.Inputs.Touch; using UnityEngine; using UnityEngine.UI; namespace RecRoom.UI.Touch.SocialActions { // Token: 0x02002536 RID: 9526 [Token(Token = "0x2002536")] [StructLayout(3)] public class DancePoseSprite : MonoBehaviour { // Token: 0x17002CAA RID: 11434 // (get) Token: 0x060106CB RID: 67275 RVA: 0x003DA728 File Offset: 0x003D8928 [Token(Token = "0x17002CAA")] private bool EEPJOGMNPGF { [Token(Token = "0x60106CB")] [Address(RVA = "0x1324430", Offset = "0x1322E30", VA = "0x181324430")] get { LocalPlayerController instance = SingletonMonoBehaviour.Instance; int num = 0; bool flag = instance != num; if (!flag) { return flag; } return SingletonMonoBehaviour.Instance.screenController._isSocialRequested; } } // Token: 0x060106CC RID: 67276 RVA: 0x003DA760 File Offset: 0x003D8960 [Token(Token = "0x60106CC")] [Address(RVA = "0x1323FD0", Offset = "0x13229D0", VA = "0x181323FD0")] private void Awake() { Dictionary dictionary = new Dictionary(); Sprite sprite = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PosePhoto); dictionary.Add((uint)100, sprite); Sprite sprite2 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseCelebrate); int num = 0; dictionary.Add(num, sprite2); Sprite sprite3 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseFloss); dictionary.Add((uint)1, sprite3); Sprite sprite4 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseDab); dictionary.Add((uint)2, sprite4); Sprite sprite5 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseDuckwalk); dictionary.Add((uint)3, sprite5); Sprite sprite6 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PosePointing); dictionary.Add((uint)101, sprite6); Sprite sprite7 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseThinking); dictionary.Add((uint)102, sprite7); Sprite sprite8 = NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.HCKHBENDAAH.PoseTalking); dictionary.Add((uint)103, sprite8); Image image = this.image; this.DEPDCGMACNK = dictionary; Sprite sprite9 = image.m_Sprite; this.LAONPLJGIDO = sprite9; ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent; Action action = new Action(this.EPIGLEFHMAF); Player.LocalPlayerCreatedEvent = localPlayerCreatedEvent + action; ActionEvent currentSocialModeDancePoseSetSelectedEvent = Player.k__BackingField.CurrentSocialModeDancePoseSetSelectedEvent; Action action2 = new Action(this.UpdateSprite); int num2 = 0; currentSocialModeDancePoseSetSelectedEvent.Add(action2, num2 != 0); } // Token: 0x060106CD RID: 67277 RVA: 0x003DA880 File Offset: 0x003D8A80 [Token(Token = "0x60106CD")] [Address(RVA = "0x1324500", Offset = "0x1322F00", VA = "0x181324500")] private void OnDestroy() { ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent; Action action = new Action(this.EPIGLEFHMAF); Player.LocalPlayerCreatedEvent = localPlayerCreatedEvent - action; } // Token: 0x060106CE RID: 67278 RVA: 0x003DA8AC File Offset: 0x003D8AAC [Token(Token = "0x60106CE")] [Address(RVA = "0x1324320", Offset = "0x1322D20", VA = "0x181324320")] private void EPIGLEFHMAF() { ActionEvent currentSocialModeDancePoseSetSelectedEvent = Player.k__BackingField.CurrentSocialModeDancePoseSetSelectedEvent; Action action = new Action(this.UpdateSprite); int num = 0; currentSocialModeDancePoseSetSelectedEvent.Add(action, num != 0); } // Token: 0x060106CF RID: 67279 RVA: 0x003DA8E4 File Offset: 0x003D8AE4 [Token(Token = "0x60106CF")] [Address(RVA = "0x13245C0", Offset = "0x1322FC0", VA = "0x1813245C0")] private void OnEnable() { if (this.EEPJOGMNPGF) { Image image2; if (this.EEPJOGMNPGF) { Dictionary depdcgmacnk = this.DEPDCGMACNK; Image image = this.image; bool flag; if (flag) { this.joystickRegion.PlayToggledTransitionFromBeginning(); return; } } else { image2 = this.image; } Sprite laonpljgido = this.LAONPLJGIDO; image2.sprite = laonpljgido; return; } Image image3 = this.image; Sprite laonpljgido2 = this.LAONPLJGIDO; image3.sprite = laonpljgido2; } // Token: 0x060106D0 RID: 67280 RVA: 0x003DA95C File Offset: 0x003D8B5C [Token(Token = "0x60106D0")] [Address(RVA = "0x1324750", Offset = "0x1323150", VA = "0x181324750")] public void UpdateSprite() { Image image2; if (this.EEPJOGMNPGF) { Dictionary depdcgmacnk = this.DEPDCGMACNK; Image image = this.image; bool flag; if (flag) { this.joystickRegion.PlayToggledTransitionFromBeginning(); return; } } else { image2 = this.image; } Sprite laonpljgido = this.LAONPLJGIDO; image2.sprite = laonpljgido; } // Token: 0x060106D1 RID: 67281 RVA: 0x003DA9B0 File Offset: 0x003D8BB0 [Token(Token = "0x60106D1")] [Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")] public DancePoseSprite() { } // Token: 0x0400AEE5 RID: 44773 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400AEE5")] [SerializeField] private TouchJoystickRegion joystickRegion; // Token: 0x0400AEE6 RID: 44774 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400AEE6")] [SerializeField] private Image image; // Token: 0x0400AEE7 RID: 44775 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x400AEE7")] private Sprite LAONPLJGIDO; // Token: 0x0400AEE8 RID: 44776 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400AEE8")] private Dictionary DEPDCGMACNK; } }