a
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RRUI.Animation
|
||||
{
|
||||
// Token: 0x02001046 RID: 4166
|
||||
[Token(Token = "0x2001046")]
|
||||
[Serializable]
|
||||
public abstract class RotationTransition : TweenTransition
|
||||
{
|
||||
// Token: 0x1700101E RID: 4126
|
||||
// (get) Token: 0x06005E55 RID: 24149 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x1700101E")]
|
||||
protected Quaternion CachedRotation
|
||||
{
|
||||
[Token(Token = "0x6005E55")]
|
||||
[Address(RVA = "0x774D80", Offset = "0x773B80", VA = "0x180774D80")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700101F RID: 4127
|
||||
// (get) Token: 0x06005E56 RID: 24150
|
||||
[Token(Token = "0x1700101F")]
|
||||
protected abstract Quaternion Target
|
||||
{
|
||||
[Token(Token = "0x6005E56")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06005E57 RID: 24151 RVA: 0x0014C650 File Offset: 0x0014A850
|
||||
[Token(Token = "0x6005E57")]
|
||||
[Address(RVA = "0x106B450", Offset = "0x106A250", VA = "0x18106B450", Slot = "4")]
|
||||
protected override void Initialize()
|
||||
{
|
||||
RectTransform rectTransform = base.RectTransform;
|
||||
}
|
||||
|
||||
// Token: 0x06005E58 RID: 24152 RVA: 0x0014C66C File Offset: 0x0014A86C
|
||||
[Token(Token = "0x6005E58")]
|
||||
[Address(RVA = "0x106B370", Offset = "0x106A170", VA = "0x18106B370", Slot = "6")]
|
||||
protected override PIPDAMDIAPC Execute()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06005E58)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling PIPDAMDIAPC RRUI.Animation.RotationTransition::Execute()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:RectTransform(var_0_06, callgetter:RectTransform(TransitionImplementation::get_RectTransform, ldloc:RotationTransition[exp:TransitionImplementation](this)))
|
||||
stloc:JOMGGPNCMFK(var_1_0D, ldfld:JOMGGPNCMFK(TweenTransition::easeFunction, ldloc:RotationTransition[exp:TweenTransition](this)))
|
||||
stloc:MonoBehaviour(var_2_14, ldfld:MonoBehaviour(TransitionImplementation::<MonoBehaviour>k__BackingField, ldloc:RotationTransition[exp:TransitionImplementation](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: 0x06005E59 RID: 24153 RVA: 0x0014C690 File Offset: 0x0014A890
|
||||
[Token(Token = "0x6005E59")]
|
||||
[Address(RVA = "0x106B490", Offset = "0x106A290", VA = "0x18106B490", Slot = "7")]
|
||||
public override void Reset()
|
||||
{
|
||||
RectTransform rectTransform = base.RectTransform;
|
||||
Quaternion quaternion = this.cachedRotation;
|
||||
rectTransform.localRotation = quaternion;
|
||||
}
|
||||
|
||||
// Token: 0x06005E5A RID: 24154 RVA: 0x0014C6B8 File Offset: 0x0014A8B8
|
||||
[Token(Token = "0x6005E5A")]
|
||||
[Address(RVA = "0x106B4D0", Offset = "0x106A2D0", VA = "0x18106B4D0")]
|
||||
protected RotationTransition()
|
||||
{
|
||||
Quaternion identity = Quaternion.identity;
|
||||
this.duration = 0.33f;
|
||||
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
|
||||
this.isWorldCanvas = true;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x04003ED0 RID: 16080
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4003ED0")]
|
||||
[NonSerialized]
|
||||
private Quaternion cachedRotation;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user