using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.UI; using UnityEngine; using UnityEngine.UI; namespace RecRoom.Core.UI { // Token: 0x02002B0E RID: 11022 [Token(Token = "0x2002B0E")] [StructLayout(3)] public class WatchButtonSprite : ShortcutEntryDecorator { // Token: 0x06013452 RID: 78930 RVA: 0x0049F444 File Offset: 0x0049D644 [Token(Token = "0x6013452")] [Address(RVA = "0x1371320", Offset = "0x136FD20", VA = "0x181371320")] public void Awake() { GameObject gameObject = this.notificationBadge.gameObject; int num = 0; gameObject.SetActive(num != 0); } // Token: 0x06013453 RID: 78931 RVA: 0x0049F46C File Offset: 0x0049D66C [Token(Token = "0x6013453")] [Address(RVA = "0x1371400", Offset = "0x136FE00", VA = "0x181371400")] public void Start() { Image image = this.notificationBadge; int num = 0; if (!(image == num)) { Action action = new Action(this.IFGLJFLHHEN); IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.Update5hz(this, action); CameraRig instance = SingletonMonoBehaviour.Instance; if (instance != 0) { bool isWatchNotificationBadgeVisible = instance.screenModeHUD.HBGNCGCKAGG; } int num2 = 0; this.notificationBadge.gameObject.SetActive(num2 != 0); return; } Debug.LogWarning("WatchButtonSprite does not have a notification badge hooked up"); } // Token: 0x06013454 RID: 78932 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6013454")] [Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "4")] public override void Repaint() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06013455 RID: 78933 RVA: 0x0049F4E4 File Offset: 0x0049D6E4 [Token(Token = "0x6013455")] [Address(RVA = "0x1371350", Offset = "0x136FD50", VA = "0x181371350")] private void IFGLJFLHHEN(float POGAEJIEPIM) { CameraRig instance = SingletonMonoBehaviour.Instance; if (instance != 0) { bool isWatchNotificationBadgeVisible = instance.screenModeHUD.HBGNCGCKAGG; } int num = 0; this.notificationBadge.gameObject.SetActive(num != 0); } // Token: 0x06013456 RID: 78934 RVA: 0x0049F520 File Offset: 0x0049D720 [Token(Token = "0x6013456")] [Address(RVA = "0x6A4030", Offset = "0x6A2A30", VA = "0x1806A4030")] public WatchButtonSprite() { } // Token: 0x0400D15E RID: 53598 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400D15E")] [SerializeField] private Image notificationBadge; } }