631 lines
24 KiB
C#
631 lines
24 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.UI
|
|
{
|
|
// Token: 0x02002ABB RID: 10939
|
|
[Token(Token = "0x2002ABB")]
|
|
[Serializable]
|
|
public class UITransition
|
|
{
|
|
// Token: 0x170032CB RID: 13003
|
|
// (get) Token: 0x060122E1 RID: 74465 RVA: 0x0041EF1C File Offset: 0x0041D11C
|
|
[Token(Token = "0x170032CB")]
|
|
public bool HasValues
|
|
{
|
|
[Token(Token = "0x60122E1")]
|
|
[Address(RVA = "0x1C11910", Offset = "0x1C10910", VA = "0x181C11910")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060122E1)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.UI.UITransition::get_HasValues()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_2A:
|
|
brtrue(IL_00, ceq:bool(ldfld:class RecRoom.UI.UITransition/TransformTransition[](UITransition::transforms, ldloc:UITransition(this)), ldc.i4:int32[exp:class RecRoom.UI.UITransition/TransformTransition[]](0)))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x170032CC RID: 13004
|
|
// (get) Token: 0x060122E2 RID: 74466 RVA: 0x0041EF5C File Offset: 0x0041D15C
|
|
[Token(Token = "0x170032CC")]
|
|
public bool IsPlayingForward
|
|
{
|
|
[Token(Token = "0x60122E2")]
|
|
[Address(RVA = "0x1C11950", Offset = "0x1C10950", VA = "0x181C11950")]
|
|
get
|
|
{
|
|
if (this.runningTransitionPromise == (ulong)0L)
|
|
{
|
|
}
|
|
return !this.reverse;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170032CD RID: 13005
|
|
// (get) Token: 0x060122E3 RID: 74467 RVA: 0x0041EF80 File Offset: 0x0041D180
|
|
[Token(Token = "0x170032CD")]
|
|
public bool IsPlayingReverse
|
|
{
|
|
[Token(Token = "0x60122E3")]
|
|
[Address(RVA = "0x1C11970", Offset = "0x1C10970", VA = "0x181C11970")]
|
|
get
|
|
{
|
|
if (this.runningTransitionPromise == (ulong)0L)
|
|
{
|
|
}
|
|
return this.reverse;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122E4 RID: 74468 RVA: 0x0041EFA0 File Offset: 0x0041D1A0
|
|
[Token(Token = "0x60122E4")]
|
|
[Address(RVA = "0x1C117C0", Offset = "0x1C107C0", VA = "0x181C117C0")]
|
|
public void OFFLOPLJBBG()
|
|
{
|
|
UITransition.GraphicTransition[] array = this.graphics;
|
|
int num = 0;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
string text = array[num].ToString();
|
|
num++;
|
|
}
|
|
UITransition.CanvasGroupTransition[] array2 = this.canvasGroups;
|
|
int length2 = array2.Length;
|
|
if (num < length2)
|
|
{
|
|
string text2 = array2[num].ToString();
|
|
num++;
|
|
}
|
|
UITransition.TransformTransition[] array3 = this.transforms;
|
|
int length3 = array3.Length;
|
|
if (num < length3)
|
|
{
|
|
string text3 = array3[num].ToString();
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122E5 RID: 74469 RVA: 0x0041F02C File Offset: 0x0041D22C
|
|
[Token(Token = "0x60122E5")]
|
|
[Address(RVA = "0x1C112C0", Offset = "0x1C102C0", VA = "0x181C112C0")]
|
|
public void BDBPEDPLJOD(Behaviour LHOMKMINCHH, bool ENJABEBOEHC)
|
|
{
|
|
KFBABPAPIMB kfbabpapimb = this.runningTransitionPromise;
|
|
if (ENJABEBOEHC)
|
|
{
|
|
if (kfbabpapimb != 0 && !this.reverse)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
else if (kfbabpapimb != 0 && this.reverse)
|
|
{
|
|
return;
|
|
}
|
|
if (!ENJABEBOEHC)
|
|
{
|
|
this.reverse = true;
|
|
this.CPLDGKCIAGP(LHOMKMINCHH);
|
|
return;
|
|
}
|
|
this.reverse = false;
|
|
this.CPLDGKCIAGP(LHOMKMINCHH);
|
|
}
|
|
|
|
// Token: 0x060122E6 RID: 74470 RVA: 0x0041F084 File Offset: 0x0041D284
|
|
[Token(Token = "0x60122E6")]
|
|
[Address(RVA = "0x1C11300", Offset = "0x1C10300", VA = "0x181C11300")]
|
|
private void CPLDGKCIAGP(Behaviour LHOMKMINCHH)
|
|
{
|
|
this.EOIADBBCKPK();
|
|
Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
float num = this.duration;
|
|
UITransition.FELLBACGCMO fellbacgcmo;
|
|
fellbacgcmo.System.IDisposable.Dispose();
|
|
fellbacgcmo.totalDuration = num;
|
|
fellbacgcmo.<>1__state = (int)((ulong)0L);
|
|
fellbacgcmo.<>4__this = this;
|
|
KFBABPAPIMB kfbabpapimb = instance.Run(LHOMKMINCHH, fellbacgcmo);
|
|
this.runningTransitionPromise = kfbabpapimb;
|
|
}
|
|
|
|
// Token: 0x060122E7 RID: 74471 RVA: 0x0041F0D8 File Offset: 0x0041D2D8
|
|
[Token(Token = "0x60122E7")]
|
|
[Address(RVA = "0x1C11790", Offset = "0x1C10790", VA = "0x181C11790")]
|
|
public void JBBLIBHHEBC(float BDFLLOFPAPP = 0f)
|
|
{
|
|
this.reverse = false;
|
|
this.IJHPPDNPBNP(BDFLLOFPAPP);
|
|
this.EOIADBBCKPK();
|
|
}
|
|
|
|
// Token: 0x060122E8 RID: 74472 RVA: 0x0041F0FC File Offset: 0x0041D2FC
|
|
[Token(Token = "0x60122E8")]
|
|
[Address(RVA = "0x1C11470", Offset = "0x1C10470", VA = "0x181C11470")]
|
|
private void EOIADBBCKPK()
|
|
{
|
|
if (this.runningTransitionPromise != 0)
|
|
{
|
|
KFBABPAPIMB kfbabpapimb = this.runningTransitionPromise;
|
|
}
|
|
this.runningTransitionPromise = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x060122E9 RID: 74473 RVA: 0x0041F128 File Offset: 0x0041D328
|
|
[Token(Token = "0x60122E9")]
|
|
[Address(RVA = "0x1C11400", Offset = "0x1C10400", VA = "0x181C11400")]
|
|
private IEnumerator<KENFJGFMIPM> ENPHLBBCFGP(float MIJOKFMPCME)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060122E9)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<KENFJGFMIPM> RecRoom.UI.UITransition::ENPHLBBCFGP(System.Single)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(FELLBACGCMO::System.IDisposable.Dispose, ldloc:FELLBACGCMO(var_0))
|
|
stfld:float32(FELLBACGCMO::totalDuration, ldloc:FELLBACGCMO(var_0), ldloc:float32(MIJOKFMPCME))
|
|
stfld:int32(FELLBACGCMO::<>1__state, ldloc:FELLBACGCMO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:UITransition(FELLBACGCMO::<>4__this, ldloc:FELLBACGCMO(var_0), ldloc:UITransition(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: 0x060122EA RID: 74474 RVA: 0x0041F154 File Offset: 0x0041D354
|
|
[Token(Token = "0x60122EA")]
|
|
[Address(RVA = "0x1C114E0", Offset = "0x1C104E0", VA = "0x181C114E0")]
|
|
private void GDIGLMAABGN(float LIMOILDIGKF)
|
|
{
|
|
UITransition.GraphicTransition[] array = this.graphics;
|
|
int num = 0;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
array[num].NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
UITransition.CanvasGroupTransition[] array2 = this.canvasGroups;
|
|
int length2 = array2.Length;
|
|
if (num < length2)
|
|
{
|
|
array2[num].NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
UITransition.TransformTransition[] array3 = this.transforms;
|
|
int length3 = array3.Length;
|
|
if (num < length3)
|
|
{
|
|
array3[num].NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122EB RID: 74475 RVA: 0x0041F1D8 File Offset: 0x0041D3D8
|
|
[Token(Token = "0x60122EB")]
|
|
[Address(RVA = "0x1C11630", Offset = "0x1C10630", VA = "0x181C11630")]
|
|
private void IJHPPDNPBNP(float DIJKHBILKOM)
|
|
{
|
|
UITransition.GraphicTransition[] array = this.graphics;
|
|
int num = 0;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
UITransition.GraphicTransition graphicTransition = array[num];
|
|
graphicTransition.linearTime = DIJKHBILKOM;
|
|
graphicTransition.NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
UITransition.CanvasGroupTransition[] array2 = this.canvasGroups;
|
|
int length2 = array2.Length;
|
|
if (num < length2)
|
|
{
|
|
UITransition.CanvasGroupTransition canvasGroupTransition = array2[num];
|
|
canvasGroupTransition.linearTime = DIJKHBILKOM;
|
|
canvasGroupTransition.NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
UITransition.TransformTransition[] array3 = this.transforms;
|
|
int length3 = array3.Length;
|
|
if (num < length3)
|
|
{
|
|
UITransition.TransformTransition transformTransition = array3[num];
|
|
transformTransition.linearTime = DIJKHBILKOM;
|
|
transformTransition.NDLAOAAFFFH();
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122EC RID: 74476 RVA: 0x0041F280 File Offset: 0x0041D480
|
|
[Token(Token = "0x60122EC")]
|
|
[Address(RVA = "0x1C11900", Offset = "0x1C10900", VA = "0x181C11900")]
|
|
public UITransition()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BAFD RID: 47869
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400BAFD")]
|
|
[SerializeField]
|
|
[NPEEOCGHCPH("graphic")]
|
|
private UITransition.GraphicTransition[] graphics;
|
|
|
|
// Token: 0x0400BAFE RID: 47870
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400BAFE")]
|
|
[SerializeField]
|
|
[NPEEOCGHCPH("canvasGroup")]
|
|
private UITransition.CanvasGroupTransition[] canvasGroups;
|
|
|
|
// Token: 0x0400BAFF RID: 47871
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BAFF")]
|
|
[SerializeField]
|
|
[NPEEOCGHCPH("transform")]
|
|
private UITransition.TransformTransition[] transforms;
|
|
|
|
// Token: 0x0400BB00 RID: 47872
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BB00")]
|
|
[SerializeField]
|
|
private float duration = 0.05f;
|
|
|
|
// Token: 0x0400BB01 RID: 47873
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400BB01")]
|
|
private KFBABPAPIMB runningTransitionPromise;
|
|
|
|
// Token: 0x0400BB02 RID: 47874
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400BB02")]
|
|
[NonSerialized]
|
|
public bool reverse;
|
|
|
|
// Token: 0x02002ABC RID: 10940
|
|
[Token(Token = "0x2002ABC")]
|
|
[Serializable]
|
|
private abstract class ComponentTransition
|
|
{
|
|
// Token: 0x060122ED RID: 74477
|
|
[Token(Token = "0x60122ED")]
|
|
[Address(Slot = "4")]
|
|
public abstract void NDLAOAAFFFH();
|
|
|
|
// Token: 0x060122EE RID: 74478
|
|
[Token(Token = "0x60122EE")]
|
|
[Address(Slot = "5")]
|
|
public abstract void GDIGLMAABGN(float POGAEJIEPIM);
|
|
|
|
// Token: 0x060122EF RID: 74479 RVA: 0x0041F2A0 File Offset: 0x0041D4A0
|
|
[Token(Token = "0x60122EF")]
|
|
[Address(RVA = "0x1C03580", Offset = "0x1C02580", VA = "0x181C03580")]
|
|
public float CBJOLCMOMCD(float POGAEJIEPIM)
|
|
{
|
|
float num = this.durationScalar;
|
|
int num2 = 0;
|
|
if (num <= (float)num2)
|
|
{
|
|
if (num == (float)num2)
|
|
{
|
|
goto IL_23;
|
|
}
|
|
if (POGAEJIEPIM <= (float)num2)
|
|
{
|
|
goto IL_1C;
|
|
}
|
|
}
|
|
float num3 = Mathf.Clamp01(POGAEJIEPIM);
|
|
IL_1C:
|
|
this.linearTime = num3;
|
|
IL_23:
|
|
AnimationCurve animationCurve = this.curve;
|
|
float num4 = this.linearTime;
|
|
return animationCurve.Evaluate(num4);
|
|
}
|
|
|
|
// Token: 0x060122F0 RID: 74480 RVA: 0x0041F2F0 File Offset: 0x0041D4F0
|
|
[Token(Token = "0x60122F0")]
|
|
[Address(RVA = "0x1C03650", Offset = "0x1C02650", VA = "0x181C03650")]
|
|
public void IJHPPDNPBNP(float DIJKHBILKOM)
|
|
{
|
|
this.linearTime = DIJKHBILKOM;
|
|
this.NDLAOAAFFFH();
|
|
}
|
|
|
|
// Token: 0x060122F1 RID: 74481 RVA: 0x0041F30C File Offset: 0x0041D50C
|
|
[Token(Token = "0x60122F1")]
|
|
[Address(RVA = "0x1C03670", Offset = "0x1C02670", VA = "0x181C03670")]
|
|
protected ComponentTransition()
|
|
{
|
|
int num = 0;
|
|
AnimationCurve animationCurve = AnimationCurve.Linear((float)0, (float)num, 1f, 1f);
|
|
this.curve = animationCurve;
|
|
this.durationScalar = 1f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400BB03 RID: 47875
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400BB03")]
|
|
[SerializeField]
|
|
public AnimationCurve curve;
|
|
|
|
// Token: 0x0400BB04 RID: 47876
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400BB04")]
|
|
[SerializeField]
|
|
[Tooltip("Shorten this component's duration relative to the other transitions")]
|
|
[Range(0f, 1f)]
|
|
public float durationScalar;
|
|
|
|
// Token: 0x0400BB05 RID: 47877
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400BB05")]
|
|
[NonSerialized]
|
|
public float linearTime;
|
|
}
|
|
|
|
// Token: 0x02002ABD RID: 10941
|
|
[Token(Token = "0x2002ABD")]
|
|
[Serializable]
|
|
private class GraphicTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x060122F2 RID: 74482 RVA: 0x0041F348 File Offset: 0x0041D548
|
|
[Token(Token = "0x60122F2")]
|
|
[Address(RVA = "0x1C03DE0", Offset = "0x1C02DE0", VA = "0x181C03DE0", Slot = "4")]
|
|
public override void NDLAOAAFFFH()
|
|
{
|
|
Graphic graphic = this.graphic;
|
|
int num = 0;
|
|
if (graphic != num)
|
|
{
|
|
Graphic graphic2 = this.graphic;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122F3 RID: 74483 RVA: 0x0041F378 File Offset: 0x0041D578
|
|
[Token(Token = "0x60122F3")]
|
|
[Address(RVA = "0x1C03CF0", Offset = "0x1C02CF0", VA = "0x181C03CF0", Slot = "5")]
|
|
public override void GDIGLMAABGN(float POGAEJIEPIM)
|
|
{
|
|
Graphic graphic = this.graphic;
|
|
int num = 0;
|
|
if (graphic != num)
|
|
{
|
|
float num2 = base.CBJOLCMOMCD(POGAEJIEPIM);
|
|
Color color = this.color;
|
|
Graphic graphic2 = this.graphic;
|
|
Color color2 = this.initialColor;
|
|
Color color3 = graphic2.color;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122F4 RID: 74484 RVA: 0x0041F3C8 File Offset: 0x0041D5C8
|
|
[Token(Token = "0x60122F4")]
|
|
[Address(RVA = "0x1C03E80", Offset = "0x1C02E80", VA = "0x181C03E80")]
|
|
public GraphicTransition()
|
|
{
|
|
Color white = Color.white;
|
|
int num = 0;
|
|
AnimationCurve animationCurve = AnimationCurve.Linear((float)0, (float)num, 1f, 1f);
|
|
this.curve = animationCurve;
|
|
this.durationScalar = 1f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400BB06 RID: 47878
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BB06")]
|
|
public Graphic graphic;
|
|
|
|
// Token: 0x0400BB07 RID: 47879
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BB07")]
|
|
public Color color;
|
|
|
|
// Token: 0x0400BB08 RID: 47880
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400BB08")]
|
|
private Color initialColor;
|
|
}
|
|
|
|
// Token: 0x02002ABE RID: 10942
|
|
[Token(Token = "0x2002ABE")]
|
|
[Serializable]
|
|
private class CanvasGroupTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x060122F5 RID: 74485 RVA: 0x0041F408 File Offset: 0x0041D608
|
|
[Token(Token = "0x60122F5")]
|
|
[Address(RVA = "0x1C034A0", Offset = "0x1C024A0", VA = "0x181C034A0", Slot = "4")]
|
|
public override void NDLAOAAFFFH()
|
|
{
|
|
CanvasGroup canvasGroup = this.canvasGroup;
|
|
int num = 0;
|
|
if (canvasGroup != num)
|
|
{
|
|
float num2 = this.canvasGroup.alpha;
|
|
this.initialAlpha = num2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122F6 RID: 74486 RVA: 0x0041F444 File Offset: 0x0041D644
|
|
[Token(Token = "0x60122F6")]
|
|
[Address(RVA = "0x1C033A0", Offset = "0x1C023A0", VA = "0x181C033A0", Slot = "5")]
|
|
public override void GDIGLMAABGN(float POGAEJIEPIM)
|
|
{
|
|
CanvasGroup canvasGroup = this.canvasGroup;
|
|
int num = 0;
|
|
if (canvasGroup != num)
|
|
{
|
|
float num2 = base.CBJOLCMOMCD(POGAEJIEPIM);
|
|
CanvasGroup canvasGroup2 = this.canvasGroup;
|
|
float num3 = Mathf.Lerp(num2, POGAEJIEPIM, POGAEJIEPIM);
|
|
canvasGroup2.alpha = POGAEJIEPIM;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122F7 RID: 74487 RVA: 0x0041F48C File Offset: 0x0041D68C
|
|
[Token(Token = "0x60122F7")]
|
|
[Address(RVA = "0x1C03530", Offset = "0x1C02530", VA = "0x181C03530")]
|
|
public CanvasGroupTransition()
|
|
{
|
|
int num = 0;
|
|
this.alpha = 1f;
|
|
AnimationCurve animationCurve = AnimationCurve.Linear((float)0, (float)num, 1f, 1f);
|
|
this.curve = animationCurve;
|
|
this.durationScalar = 1f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400BB09 RID: 47881
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BB09")]
|
|
public CanvasGroup canvasGroup;
|
|
|
|
// Token: 0x0400BB0A RID: 47882
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BB0A")]
|
|
public float alpha;
|
|
|
|
// Token: 0x0400BB0B RID: 47883
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400BB0B")]
|
|
private float initialAlpha;
|
|
}
|
|
|
|
// Token: 0x02002ABF RID: 10943
|
|
[Token(Token = "0x2002ABF")]
|
|
[Serializable]
|
|
private class TransformTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x060122F8 RID: 74488 RVA: 0x0041F4D0 File Offset: 0x0041D6D0
|
|
[Token(Token = "0x60122F8")]
|
|
[Address(RVA = "0x1C10CA0", Offset = "0x1C0FCA0", VA = "0x181C10CA0", Slot = "4")]
|
|
public override void NDLAOAAFFFH()
|
|
{
|
|
Transform transform = this.transform;
|
|
int num = 0;
|
|
if (transform != num)
|
|
{
|
|
Transform transform2 = this.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.initialLocalScale.z = z;
|
|
float num2 = Mathf.Sign(this.initialLocalScale.y);
|
|
float num3 = Mathf.Sign(this.initialLocalScale.z);
|
|
int num4 = 0;
|
|
Transform transform3 = this.transform;
|
|
this.localSignedScale.z = (float)num4;
|
|
Vector3 vector2;
|
|
float z2 = vector2.z;
|
|
this.initialLocalPosition.z = z2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122F9 RID: 74489 RVA: 0x0041F564 File Offset: 0x0041D764
|
|
[Token(Token = "0x60122F9")]
|
|
[Address(RVA = "0x1C109F0", Offset = "0x1C0F9F0", VA = "0x181C109F0", Slot = "5")]
|
|
public override void GDIGLMAABGN(float POGAEJIEPIM)
|
|
{
|
|
Transform transform = this.transform;
|
|
int num = 0;
|
|
if (transform != num)
|
|
{
|
|
float num2 = base.CBJOLCMOMCD(POGAEJIEPIM);
|
|
Transform transform2 = this.transform;
|
|
float num3 = Mathf.LerpUnclamped(num2, POGAEJIEPIM, num2);
|
|
transform2.localScale = num;
|
|
int num4 = 0;
|
|
Vector2 zero = Vector2.zero;
|
|
if (num4 != zero)
|
|
{
|
|
Transform transform3 = this.transform;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060122FA RID: 74490 RVA: 0x0041F5C8 File Offset: 0x0041D7C8
|
|
[Token(Token = "0x60122FA")]
|
|
[Address(RVA = "0x1C10E00", Offset = "0x1C0FE00", VA = "0x181C10E00")]
|
|
public TransformTransition()
|
|
{
|
|
Vector2 zero = Vector2.zero;
|
|
this.positionOffset = zero;
|
|
int num = 0;
|
|
this.positionOffset.y = (float)0;
|
|
int num2 = 0;
|
|
AnimationCurve animationCurve = AnimationCurve.Linear((float)num, (float)num2, 1f, 1f);
|
|
this.curve = animationCurve;
|
|
this.durationScalar = 1f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400BB0C RID: 47884
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BB0C")]
|
|
public Transform transform;
|
|
|
|
// Token: 0x0400BB0D RID: 47885
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BB0D")]
|
|
public float localUniformScale = 1f;
|
|
|
|
// Token: 0x0400BB0E RID: 47886
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400BB0E")]
|
|
public Vector2 positionOffset;
|
|
|
|
// Token: 0x0400BB0F RID: 47887
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x400BB0F")]
|
|
private Vector3 localSignedScale;
|
|
|
|
// Token: 0x0400BB10 RID: 47888
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400BB10")]
|
|
private Vector3 initialLocalScale;
|
|
|
|
// Token: 0x0400BB11 RID: 47889
|
|
[FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x400BB11")]
|
|
private Vector3 initialLocalPosition;
|
|
}
|
|
}
|
|
}
|