using System; using System.Collections.Generic; using Cpp2IlInjected; using RecRoom.Core; using TMPro; using UnityEngine; // Token: 0x02000055 RID: 85 [Token(Token = "0x2000055")] public class WeeklyChallengeBulletinBoardUI : MonoBehaviour { // Token: 0x06000269 RID: 617 RVA: 0x0000D0A8 File Offset: 0x0000B2A8 [Token(Token = "0x6000269")] [Address(RVA = "0x156AB50", Offset = "0x1569950", VA = "0x18156AB50")] private void Start() { Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG; WeeklyChallengeBulletinBoardUI.PLCFNNMIHHL plcfnnmihhl; plcfnnmihhl.System.IDisposable.Dispose(); plcfnnmihhl.<>1__state = (int)((ulong)0L); plcfnnmihhl.<>4__this = this; KFBABPAPIMB kfbabpapimb = instance.Run(this, plcfnnmihhl); } // Token: 0x0600026A RID: 618 RVA: 0x0000D0E0 File Offset: 0x0000B2E0 [Token(Token = "0x600026A")] [Address(RVA = "0x156A8C0", Offset = "0x15696C0", VA = "0x18156A8C0")] private IEnumerator OFFLOPLJBBG() { /* An exception occurred when decompiling this method (0600026A) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1 WeeklyChallengeBulletinBoardUI::OFFLOPLJBBG() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(PLCFNNMIHHL::System.IDisposable.Dispose, ldloc:PLCFNNMIHHL(var_0)) stfld:int32(PLCFNNMIHHL::<>1__state, ldloc:PLCFNNMIHHL(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:WeeklyChallengeBulletinBoardUI(PLCFNNMIHHL::<>4__this, ldloc:PLCFNNMIHHL(var_0), ldloc:WeeklyChallengeBulletinBoardUI(this)) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660 */; } // Token: 0x0600026B RID: 619 RVA: 0x0000D104 File Offset: 0x0000B304 [Token(Token = "0x600026B")] [Address(RVA = "0x156A920", Offset = "0x1569720", VA = "0x18156A920")] private void OnDestroy() { ObjectiveChecklist objectiveChecklist; Delegate delegate2; do { WeeklyChallengeManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; int num = 0; bool flag = instance != num; if (flag) { WeeklyChallengeManager instance2 = SingletonMonoBehaviour.ONCPNMDGGKG; Action action = new Action(this.BNEBFKLIAKC); Action mijnejmbboc = instance2.MIJNEJMBBOC; Delegate @delegate = Delegate.Remove(mijnejmbboc, action); if (@delegate != 0 && @delegate == 0) { continue; } while (@delegate != mijnejmbboc) { } } objectiveChecklist = this.weeklyChecklist; Action onRewardObjectSpawned = objectiveChecklist.OnRewardObjectSpawned; Action action2 = new Action(this.EKIJCFBMAIC); delegate2 = Delegate.Remove(onRewardObjectSpawned, action2); } while (delegate2 != 0 && delegate2 == 0); objectiveChecklist.OnRewardObjectSpawned = delegate2; } // Token: 0x0600026C RID: 620 RVA: 0x0000D1A8 File Offset: 0x0000B3A8 [Token(Token = "0x600026C")] [Address(RVA = "0x156A1E0", Offset = "0x1568FE0", VA = "0x18156A1E0")] private void EKIJCFBMAIC(GameObject IBKGGHGLIFD) { RewardDisplay rewardDisplay = this.rewardDisplay; SavedExtents componentInChildren = IBKGGHGLIFD.GetComponentInChildren(); rewardDisplay.Encompass(componentInChildren); } // Token: 0x0600026D RID: 621 RVA: 0x0000D1D0 File Offset: 0x0000B3D0 [Token(Token = "0x600026D")] [Address(RVA = "0x156AC20", Offset = "0x1569A20", VA = "0x18156AC20")] private void Update() { WeeklyChallengeManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; DateTime? k__BackingField = instance.k__BackingField; if (instance != 0) { DateTime? k__BackingField2 = SingletonMonoBehaviour.ONCPNMDGGKG.k__BackingField; DateTime utcNow = DateTime.UtcNow; TimeSpan? k__BackingField = SingletonMonoBehaviour.ONCPNMDGGKG.k__BackingField; TimeSpan timeSpan; DateTime dateTime = utcNow + timeSpan; DateTime dateTime2; TimeSpan timeSpan2 = dateTime2 - dateTime; this.AABIMFBCMNN = timeSpan2; int num; if (num != this.PBGIFGLINIO) { string text = this.MFBGOHOEAEN(); string text2 = this.weeklyChallengePrefix; TextMeshProUGUI textMeshProUGUI = this.weeklyChallengeTimeRemaining; string text3 = text2 + text; PLDMAFINLJO.FANDNIHFMNM(textMeshProUGUI, text3); int num2; this.PBGIFGLINIO = num2; } } } // Token: 0x0600026E RID: 622 RVA: 0x0000D278 File Offset: 0x0000B478 [Token(Token = "0x600026E")] [Address(RVA = "0x156AB10", Offset = "0x1569910", VA = "0x18156AB10")] private void PDGDCHLPGHA() { string text = this.MFBGOHOEAEN(); string text2 = this.weeklyChallengePrefix; TextMeshProUGUI textMeshProUGUI = this.weeklyChallengeTimeRemaining; string text3 = text2 + text; PLDMAFINLJO.FANDNIHFMNM(textMeshProUGUI, text3); } // Token: 0x0600026F RID: 623 RVA: 0x0000D2AC File Offset: 0x0000B4AC [Token(Token = "0x600026F")] [Address(RVA = "0x156A1C0", Offset = "0x1568FC0", VA = "0x18156A1C0")] private void BNEBFKLIAKC() { bool flag = this.weeklyChecklist.UpdateAllObjectives(); } // Token: 0x06000270 RID: 624 RVA: 0x0000D2CC File Offset: 0x0000B4CC [Token(Token = "0x6000270")] [Address(RVA = "0x156A250", Offset = "0x1569050", VA = "0x18156A250")] private string MFBGOHOEAEN() { if (SingletonMonoBehaviour.ONCPNMDGGKG != 0) { WeeklyChallengeManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; if (instance != 0) { if (instance <= 0) { object[] array = new object[4]; int num; if (num != 0) { } array[0] = num; int num2; if (num2 != 0) { } array[1] = num2; if (num2 != 0) { } array[2] = num2; if (num2 != 0) { } array[3] = num2; return string.Format("{0:D2}:{1:D2}:{2:D2}:{3:D2}", array); } object[] array2 = new object[4]; int num3; if (num3 != 0) { } array2[0] = num3; if (num3 != 0) { } array2[1] = num3; if (num3 != 0) { } array2[2] = num3; if (num3 != 0) { } } } object[] array3 = new object[4]; int num4; if (num4 != 0) { } array3[0] = num4; int num5; if (num5 != 0) { } array3[1] = num5; if (num5 != 0) { } array3[2] = num5; if (num5 != 0) { } array3[3] = num5; return string.Format("{0:D2}:{1:D2}:{2:D2}:{0:D2}", array3); } // Token: 0x06000271 RID: 625 RVA: 0x0000D3DC File Offset: 0x0000B5DC [Token(Token = "0x6000271")] [Address(RVA = "0x156ADF0", Offset = "0x1569BF0", VA = "0x18156ADF0")] public WeeklyChallengeBulletinBoardUI() { } // Token: 0x04000203 RID: 515 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000203")] [SerializeField] private TextMeshProUGUI weeklyChallengeTimeRemaining; // Token: 0x04000204 RID: 516 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000204")] [SerializeField] private string weeklyChallengePrefix = "New Weekly Challenges in "; // Token: 0x04000205 RID: 517 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000205")] [SerializeField] private TextMeshProUGUI themeText; // Token: 0x04000206 RID: 518 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000206")] [SerializeField] private ObjectiveChecklist weeklyChecklist; // Token: 0x04000207 RID: 519 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000207")] [SerializeField] private RewardDisplay rewardDisplay; // Token: 0x04000208 RID: 520 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000208")] private SavedExtents OANBIDIDGMJ; // Token: 0x04000209 RID: 521 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4000209")] private TimeSpan AABIMFBCMNN; // Token: 0x0400020A RID: 522 [FieldOffset(Offset = "0x50")] [Token(Token = "0x400020A")] private int PBGIFGLINIO = (int)((ulong)4294967295L); }