m
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020003B9 RID: 953
|
||||
[Token(Token = "0x20003B9")]
|
||||
public class ChildControlManager : SingletonMonoBehaviour<ChildControlManager>
|
||||
{
|
||||
// Token: 0x06001EC6 RID: 7878 RVA: 0x0007DC90 File Offset: 0x0007BE90
|
||||
[Token(Token = "0x6001EC6")]
|
||||
[Address(RVA = "0x1F36460", Offset = "0x1F35460", VA = "0x181F36460")]
|
||||
public void StartShowSecondScreenWarning()
|
||||
{
|
||||
Canvas canvas = this.warningCanvas;
|
||||
int num = 0;
|
||||
if (canvas != num)
|
||||
{
|
||||
CanvasRenderer canvasRenderer = this.warningElement;
|
||||
int num2 = 0;
|
||||
if (canvasRenderer != num2)
|
||||
{
|
||||
ChildControlManager.NPOLKAIFMGD npolkaifmgd;
|
||||
npolkaifmgd.System.IDisposable.Dispose();
|
||||
npolkaifmgd.<>1__state = (int)((ulong)0L);
|
||||
npolkaifmgd.<>4__this = this;
|
||||
Coroutine coroutine = base.StartCoroutine(npolkaifmgd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EC7 RID: 7879 RVA: 0x0007DCE8 File Offset: 0x0007BEE8
|
||||
[Token(Token = "0x6001EC7")]
|
||||
[Address(RVA = "0x1F36400", Offset = "0x1F35400", VA = "0x181F36400")]
|
||||
private IEnumerator PGPGNPOGIGD()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06001EC7)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator ChildControlManager::PGPGNPOGIGD()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(NPOLKAIFMGD::System.IDisposable.Dispose, ldloc:NPOLKAIFMGD(var_0))
|
||||
stfld:int32(NPOLKAIFMGD::<>1__state, ldloc:NPOLKAIFMGD(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:ChildControlManager(NPOLKAIFMGD::<>4__this, ldloc:NPOLKAIFMGD(var_0), ldloc:ChildControlManager(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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC8 RID: 7880 RVA: 0x0007DD0C File Offset: 0x0007BF0C
|
||||
[Token(Token = "0x6001EC8")]
|
||||
[Address(RVA = "0x1F36550", Offset = "0x1F35550", VA = "0x181F36550")]
|
||||
public ChildControlManager()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001748 RID: 5960
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001748")]
|
||||
[SerializeField]
|
||||
[Header("Second screen warning")]
|
||||
private float timeBeforeFadeIn = 1f;
|
||||
|
||||
// Token: 0x04001749 RID: 5961
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4001749")]
|
||||
[SerializeField]
|
||||
private float fadeInDuration = 0.5f;
|
||||
|
||||
// Token: 0x0400174A RID: 5962
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400174A")]
|
||||
[SerializeField]
|
||||
private float visibleDuration = 0.5f;
|
||||
|
||||
// Token: 0x0400174B RID: 5963
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400174B")]
|
||||
[SerializeField]
|
||||
private float fadeOutDuration = 0.5f;
|
||||
|
||||
// Token: 0x0400174C RID: 5964
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400174C")]
|
||||
[SerializeField]
|
||||
private Canvas warningCanvas;
|
||||
|
||||
// Token: 0x0400174D RID: 5965
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400174D")]
|
||||
[SerializeField]
|
||||
private CanvasRenderer warningElement;
|
||||
}
|
||||
Reference in New Issue
Block a user