67 lines
4.0 KiB
C#
67 lines
4.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RRUI.Animation
|
|
{
|
|
// Token: 0x02001040 RID: 4160
|
|
[Token(Token = "0x2001040")]
|
|
[MMOINKHEKJF("Rings/Absolute", "Tween from the current Rings layers to new absolute layers.")]
|
|
[Serializable]
|
|
public class RingsAbsoluteTransition : RingsTransition
|
|
{
|
|
// Token: 0x17001019 RID: 4121
|
|
// (get) Token: 0x06005E43 RID: 24131 RVA: 0x0014C304 File Offset: 0x0014A504
|
|
[Token(Token = "0x17001019")]
|
|
protected override IReadOnlyList<UIRings.RingLayer> TargetRingLayers
|
|
{
|
|
[Token(Token = "0x6005E43")]
|
|
[Address(RVA = "0x423E10", Offset = "0x422C10", VA = "0x180423E10", Slot = "8")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06005E43)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<RRUI.UIRings/RingLayer> RRUI.Animation.RingsAbsoluteTransition::get_TargetRingLayers()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype RRUI.UIRings/RingLayer>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype RRUI.UIRings/RingLayer>(RingsAbsoluteTransition::ringLayers, ldloc:RingsAbsoluteTransition(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: 0x06005E44 RID: 24132 RVA: 0x0014C318 File Offset: 0x0014A518
|
|
[Token(Token = "0x6005E44")]
|
|
[Address(RVA = "0x106AB40", Offset = "0x1069940", VA = "0x18106AB40")]
|
|
public RingsAbsoluteTransition()
|
|
{
|
|
List<UIRings.RingLayer> list = new List();
|
|
Color white = Color.white;
|
|
Color black = Color.black;
|
|
this.ringLayers = list;
|
|
this.duration = 0.33f;
|
|
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
|
|
this.isWorldCanvas = true;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04003ECA RID: 16074
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4003ECA")]
|
|
[SerializeField]
|
|
private List<UIRings.RingLayer> ringLayers;
|
|
}
|
|
}
|