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: 0x020029D2 RID: 10706
|
|
[Token(Token = "0x20029D2")]
|
|
[Serializable]
|
|
public class UITransition
|
|
{
|
|
// Token: 0x17003218 RID: 12824
|
|
// (get) Token: 0x06011EA5 RID: 73381 RVA: 0x00415464 File Offset: 0x00413664
|
|
[Token(Token = "0x17003218")]
|
|
public bool HasValues
|
|
{
|
|
[Token(Token = "0x6011EA5")]
|
|
[Address(RVA = "0x1020A70", Offset = "0x101F870", VA = "0x181020A70")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011EA5)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003219 RID: 12825
|
|
// (get) Token: 0x06011EA6 RID: 73382 RVA: 0x004154A4 File Offset: 0x004136A4
|
|
[Token(Token = "0x17003219")]
|
|
public bool IsPlayingForward
|
|
{
|
|
[Token(Token = "0x6011EA6")]
|
|
[Address(RVA = "0x1020AB0", Offset = "0x101F8B0", VA = "0x181020AB0")]
|
|
get
|
|
{
|
|
if (this.runningTransitionPromise == (ulong)0L)
|
|
{
|
|
}
|
|
return !this.reverse;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700321A RID: 12826
|
|
// (get) Token: 0x06011EA7 RID: 73383 RVA: 0x004154C8 File Offset: 0x004136C8
|
|
[Token(Token = "0x1700321A")]
|
|
public bool IsPlayingReverse
|
|
{
|
|
[Token(Token = "0x6011EA7")]
|
|
[Address(RVA = "0x1020AD0", Offset = "0x101F8D0", VA = "0x181020AD0")]
|
|
get
|
|
{
|
|
if (this.runningTransitionPromise == (ulong)0L)
|
|
{
|
|
}
|
|
return this.reverse;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011EA8 RID: 73384 RVA: 0x004154E8 File Offset: 0x004136E8
|
|
[Token(Token = "0x6011EA8")]
|
|
[Address(RVA = "0x1020920", Offset = "0x101F720", VA = "0x181020920")]
|
|
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: 0x06011EA9 RID: 73385 RVA: 0x00415574 File Offset: 0x00413774
|
|
[Token(Token = "0x6011EA9")]
|
|
[Address(RVA = "0x1020420", Offset = "0x101F220", VA = "0x181020420")]
|
|
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: 0x06011EAA RID: 73386 RVA: 0x004155CC File Offset: 0x004137CC
|
|
[Token(Token = "0x6011EAA")]
|
|
[Address(RVA = "0x1020460", Offset = "0x101F260", VA = "0x181020460")]
|
|
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: 0x06011EAB RID: 73387 RVA: 0x00415620 File Offset: 0x00413820
|
|
[Token(Token = "0x6011EAB")]
|
|
[Address(RVA = "0x10208F0", Offset = "0x101F6F0", VA = "0x1810208F0")]
|
|
public void JBBLIBHHEBC(float BDFLLOFPAPP = 0f)
|
|
{
|
|
this.reverse = false;
|
|
this.IJHPPDNPBNP(BDFLLOFPAPP);
|
|
this.EOIADBBCKPK();
|
|
}
|
|
|
|
// Token: 0x06011EAC RID: 73388 RVA: 0x00415644 File Offset: 0x00413844
|
|
[Token(Token = "0x6011EAC")]
|
|
[Address(RVA = "0x10205D0", Offset = "0x101F3D0", VA = "0x1810205D0")]
|
|
private void EOIADBBCKPK()
|
|
{
|
|
if (this.runningTransitionPromise != 0)
|
|
{
|
|
KFBABPAPIMB kfbabpapimb = this.runningTransitionPromise;
|
|
}
|
|
this.runningTransitionPromise = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x06011EAD RID: 73389 RVA: 0x00415670 File Offset: 0x00413870
|
|
[Token(Token = "0x6011EAD")]
|
|
[Address(RVA = "0x1020560", Offset = "0x101F360", VA = "0x181020560")]
|
|
private IEnumerator<KENFJGFMIPM> ENPHLBBCFGP(float MIJOKFMPCME)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011EAD)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06011EAE RID: 73390 RVA: 0x0041569C File Offset: 0x0041389C
|
|
[Token(Token = "0x6011EAE")]
|
|
[Address(RVA = "0x1020640", Offset = "0x101F440", VA = "0x181020640")]
|
|
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: 0x06011EAF RID: 73391 RVA: 0x00415720 File Offset: 0x00413920
|
|
[Token(Token = "0x6011EAF")]
|
|
[Address(RVA = "0x1020790", Offset = "0x101F590", VA = "0x181020790")]
|
|
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: 0x06011EB0 RID: 73392 RVA: 0x004157C8 File Offset: 0x004139C8
|
|
[Token(Token = "0x6011EB0")]
|
|
[Address(RVA = "0x1020A60", Offset = "0x101F860", VA = "0x181020A60")]
|
|
public UITransition()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B8ED RID: 47341
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400B8ED")]
|
|
[SerializeField]
|
|
[HAABHKHPAEL("graphic")]
|
|
private UITransition.GraphicTransition[] graphics;
|
|
|
|
// Token: 0x0400B8EE RID: 47342
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B8EE")]
|
|
[SerializeField]
|
|
[HAABHKHPAEL("canvasGroup")]
|
|
private UITransition.CanvasGroupTransition[] canvasGroups;
|
|
|
|
// Token: 0x0400B8EF RID: 47343
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B8EF")]
|
|
[SerializeField]
|
|
[HAABHKHPAEL("transform")]
|
|
private UITransition.TransformTransition[] transforms;
|
|
|
|
// Token: 0x0400B8F0 RID: 47344
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B8F0")]
|
|
[SerializeField]
|
|
private float duration = 0.05f;
|
|
|
|
// Token: 0x0400B8F1 RID: 47345
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400B8F1")]
|
|
private KFBABPAPIMB runningTransitionPromise;
|
|
|
|
// Token: 0x0400B8F2 RID: 47346
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400B8F2")]
|
|
[NonSerialized]
|
|
public bool reverse;
|
|
|
|
// Token: 0x020029D3 RID: 10707
|
|
[Token(Token = "0x20029D3")]
|
|
[Serializable]
|
|
private abstract class ComponentTransition
|
|
{
|
|
// Token: 0x06011EB1 RID: 73393
|
|
[Token(Token = "0x6011EB1")]
|
|
[Address(Slot = "4")]
|
|
public abstract void NDLAOAAFFFH();
|
|
|
|
// Token: 0x06011EB2 RID: 73394
|
|
[Token(Token = "0x6011EB2")]
|
|
[Address(Slot = "5")]
|
|
public abstract void GDIGLMAABGN(float POGAEJIEPIM);
|
|
|
|
// Token: 0x06011EB3 RID: 73395 RVA: 0x004157E8 File Offset: 0x004139E8
|
|
[Token(Token = "0x6011EB3")]
|
|
[Address(RVA = "0x100A580", Offset = "0x1009380", VA = "0x18100A580")]
|
|
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: 0x06011EB4 RID: 73396 RVA: 0x00415838 File Offset: 0x00413A38
|
|
[Token(Token = "0x6011EB4")]
|
|
[Address(RVA = "0x100A650", Offset = "0x1009450", VA = "0x18100A650")]
|
|
public void IJHPPDNPBNP(float DIJKHBILKOM)
|
|
{
|
|
this.linearTime = DIJKHBILKOM;
|
|
this.NDLAOAAFFFH();
|
|
}
|
|
|
|
// Token: 0x06011EB5 RID: 73397 RVA: 0x00415854 File Offset: 0x00413A54
|
|
[Token(Token = "0x6011EB5")]
|
|
[Address(RVA = "0x100A670", Offset = "0x1009470", VA = "0x18100A670")]
|
|
protected ComponentTransition()
|
|
{
|
|
int num = 0;
|
|
AnimationCurve animationCurve = AnimationCurve.Linear((float)0, (float)num, 1f, 1f);
|
|
this.curve = animationCurve;
|
|
this.durationScalar = 1f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400B8F3 RID: 47347
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400B8F3")]
|
|
[SerializeField]
|
|
public AnimationCurve curve;
|
|
|
|
// Token: 0x0400B8F4 RID: 47348
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B8F4")]
|
|
[SerializeField]
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Shorten this component's duration relative to the other transitions")]
|
|
public float durationScalar;
|
|
|
|
// Token: 0x0400B8F5 RID: 47349
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400B8F5")]
|
|
[NonSerialized]
|
|
public float linearTime;
|
|
}
|
|
|
|
// Token: 0x020029D4 RID: 10708
|
|
[Token(Token = "0x20029D4")]
|
|
[Serializable]
|
|
private class GraphicTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x06011EB6 RID: 73398 RVA: 0x00415890 File Offset: 0x00413A90
|
|
[Token(Token = "0x6011EB6")]
|
|
[Address(RVA = "0x100BB10", Offset = "0x100A910", VA = "0x18100BB10", Slot = "4")]
|
|
public override void NDLAOAAFFFH()
|
|
{
|
|
Graphic graphic = this.graphic;
|
|
int num = 0;
|
|
if (graphic != num)
|
|
{
|
|
Graphic graphic2 = this.graphic;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011EB7 RID: 73399 RVA: 0x004158C0 File Offset: 0x00413AC0
|
|
[Token(Token = "0x6011EB7")]
|
|
[Address(RVA = "0x100BA20", Offset = "0x100A820", VA = "0x18100BA20", 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: 0x06011EB8 RID: 73400 RVA: 0x00415910 File Offset: 0x00413B10
|
|
[Token(Token = "0x6011EB8")]
|
|
[Address(RVA = "0x100BBB0", Offset = "0x100A9B0", VA = "0x18100BBB0")]
|
|
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: 0x0400B8F6 RID: 47350
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B8F6")]
|
|
public Graphic graphic;
|
|
|
|
// Token: 0x0400B8F7 RID: 47351
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B8F7")]
|
|
public Color color;
|
|
|
|
// Token: 0x0400B8F8 RID: 47352
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400B8F8")]
|
|
private Color initialColor;
|
|
}
|
|
|
|
// Token: 0x020029D5 RID: 10709
|
|
[Token(Token = "0x20029D5")]
|
|
[Serializable]
|
|
private class CanvasGroupTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x06011EB9 RID: 73401 RVA: 0x00415950 File Offset: 0x00413B50
|
|
[Token(Token = "0x6011EB9")]
|
|
[Address(RVA = "0x100A4A0", Offset = "0x10092A0", VA = "0x18100A4A0", 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: 0x06011EBA RID: 73402 RVA: 0x0041598C File Offset: 0x00413B8C
|
|
[Token(Token = "0x6011EBA")]
|
|
[Address(RVA = "0x100A3A0", Offset = "0x10091A0", VA = "0x18100A3A0", 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: 0x06011EBB RID: 73403 RVA: 0x004159D4 File Offset: 0x00413BD4
|
|
[Token(Token = "0x6011EBB")]
|
|
[Address(RVA = "0x100A530", Offset = "0x1009330", VA = "0x18100A530")]
|
|
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: 0x0400B8F9 RID: 47353
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B8F9")]
|
|
public CanvasGroup canvasGroup;
|
|
|
|
// Token: 0x0400B8FA RID: 47354
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B8FA")]
|
|
public float alpha;
|
|
|
|
// Token: 0x0400B8FB RID: 47355
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400B8FB")]
|
|
private float initialAlpha;
|
|
}
|
|
|
|
// Token: 0x020029D6 RID: 10710
|
|
[Token(Token = "0x20029D6")]
|
|
[Serializable]
|
|
private class TransformTransition : UITransition.ComponentTransition
|
|
{
|
|
// Token: 0x06011EBC RID: 73404 RVA: 0x00415A18 File Offset: 0x00413C18
|
|
[Token(Token = "0x6011EBC")]
|
|
[Address(RVA = "0x101EDB0", Offset = "0x101DBB0", VA = "0x18101EDB0", 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: 0x06011EBD RID: 73405 RVA: 0x00415AAC File Offset: 0x00413CAC
|
|
[Token(Token = "0x6011EBD")]
|
|
[Address(RVA = "0x101EB00", Offset = "0x101D900", VA = "0x18101EB00", 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: 0x06011EBE RID: 73406 RVA: 0x00415B10 File Offset: 0x00413D10
|
|
[Token(Token = "0x6011EBE")]
|
|
[Address(RVA = "0x101EF10", Offset = "0x101DD10", VA = "0x18101EF10")]
|
|
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: 0x0400B8FC RID: 47356
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B8FC")]
|
|
public Transform transform;
|
|
|
|
// Token: 0x0400B8FD RID: 47357
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B8FD")]
|
|
public float localUniformScale = 1f;
|
|
|
|
// Token: 0x0400B8FE RID: 47358
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400B8FE")]
|
|
public Vector2 positionOffset;
|
|
|
|
// Token: 0x0400B8FF RID: 47359
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x400B8FF")]
|
|
private Vector3 localSignedScale;
|
|
|
|
// Token: 0x0400B900 RID: 47360
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400B900")]
|
|
private Vector3 initialLocalScale;
|
|
|
|
// Token: 0x0400B901 RID: 47361
|
|
[FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x400B901")]
|
|
private Vector3 initialLocalPosition;
|
|
}
|
|
}
|
|
}
|