561 lines
23 KiB
C#
561 lines
23 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.Experimental.Rendering;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RRUI
|
|
{
|
|
// Token: 0x020007E1 RID: 2017
|
|
[Token(Token = "0x20007E1")]
|
|
[ExecuteAlways]
|
|
[AddComponentMenu("UI/Effects/Tiler", 15)]
|
|
public class UITiler : UIUberMaterialOverride
|
|
{
|
|
// Token: 0x170009C9 RID: 2505
|
|
// (get) Token: 0x060038D7 RID: 14551 RVA: 0x000EBA80 File Offset: 0x000E9C80
|
|
[Token(Token = "0x170009C9")]
|
|
public override Graphic ALLPJCBPKJH
|
|
{
|
|
[Token(Token = "0x60038D7")]
|
|
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060038D7)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.UI.Graphic RRUI.UITiler::get_Graphic()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Image(var_0_06, ldfld:Image(UITiler::image, ldloc:UITiler(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: 0x170009CA RID: 2506
|
|
// (get) Token: 0x060038D8 RID: 14552 RVA: 0x000EBA94 File Offset: 0x000E9C94
|
|
[Token(Token = "0x170009CA")]
|
|
protected override bool BEFDCNGECPP
|
|
{
|
|
[Token(Token = "0x60038D8")]
|
|
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "7")]
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009CB RID: 2507
|
|
// (get) Token: 0x060038D9 RID: 14553 RVA: 0x000EBAA4 File Offset: 0x000E9CA4
|
|
[Token(Token = "0x170009CB")]
|
|
private Sprite DJBEHGKKJGF
|
|
{
|
|
[Token(Token = "0x60038D9")]
|
|
[Address(RVA = "0x15A7680", Offset = "0x15A6680", VA = "0x1815A7680")]
|
|
get
|
|
{
|
|
Sprite sprite = this.sprite;
|
|
int num = 0;
|
|
if (!(sprite != num))
|
|
{
|
|
return UIMaterialOverride.PDFJDKOMHKB;
|
|
}
|
|
return this.sprite;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009CC RID: 2508
|
|
// (get) Token: 0x060038DA RID: 14554 RVA: 0x000EBAD4 File Offset: 0x000E9CD4
|
|
// (set) Token: 0x060038DB RID: 14555 RVA: 0x000EBAE8 File Offset: 0x000E9CE8
|
|
[Token(Token = "0x170009CC")]
|
|
public float MGGEHMHAMCH
|
|
{
|
|
[Token(Token = "0x60038DA")]
|
|
[Address(RVA = "0xEFFB10", Offset = "0xEFEB10", VA = "0x180EFFB10")]
|
|
get
|
|
{
|
|
return this.rows;
|
|
}
|
|
[Token(Token = "0x60038DB")]
|
|
[Address(RVA = "0x15A7AD0", Offset = "0x15A6AD0", VA = "0x1815A7AD0")]
|
|
set
|
|
{
|
|
this.rows = value;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009CD RID: 2509
|
|
// (get) Token: 0x060038DC RID: 14556 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x060038DD RID: 14557 RVA: 0x000EBB04 File Offset: 0x000E9D04
|
|
[Token(Token = "0x170009CD")]
|
|
public Vector2 ODOPKMFAEDH
|
|
{
|
|
[Token(Token = "0x60038DC")]
|
|
[Address(RVA = "0x15A7A20", Offset = "0x15A6A20", VA = "0x1815A7A20")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x60038DD")]
|
|
[Address(RVA = "0x15A7AF0", Offset = "0x15A6AF0", VA = "0x1815A7AF0")]
|
|
set
|
|
{
|
|
Vector2 vector = this.spacing;
|
|
float y = this.spacing.y;
|
|
if (vector != value)
|
|
{
|
|
this.spacing = 0;
|
|
this.spacing.y = (float)0;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009CE RID: 2510
|
|
// (get) Token: 0x060038DE RID: 14558 RVA: 0x000EBB48 File Offset: 0x000E9D48
|
|
// (set) Token: 0x060038DF RID: 14559 RVA: 0x000EBB5C File Offset: 0x000E9D5C
|
|
[Token(Token = "0x170009CE")]
|
|
public float MHBMKPIDJPG
|
|
{
|
|
[Token(Token = "0x60038DE")]
|
|
[Address(RVA = "0x506320", Offset = "0x505320", VA = "0x180506320")]
|
|
get
|
|
{
|
|
return this.offset;
|
|
}
|
|
[Token(Token = "0x60038DF")]
|
|
[Address(RVA = "0x15A7A90", Offset = "0x15A6A90", VA = "0x1815A7A90")]
|
|
set
|
|
{
|
|
this.offset = value;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009CF RID: 2511
|
|
// (get) Token: 0x060038E0 RID: 14560 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x060038E1 RID: 14561 RVA: 0x000EBB78 File Offset: 0x000E9D78
|
|
[Token(Token = "0x170009CF")]
|
|
public Vector2 JIGGKKCAGIF
|
|
{
|
|
[Token(Token = "0x60038E0")]
|
|
[Address(RVA = "0x661190", Offset = "0x660190", VA = "0x180661190")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x60038E1")]
|
|
[Address(RVA = "0x15A7BA0", Offset = "0x15A6BA0", VA = "0x1815A7BA0")]
|
|
set
|
|
{
|
|
Vector2 vector = this.velocity;
|
|
float y = this.velocity.y;
|
|
if (vector != value)
|
|
{
|
|
this.velocity = 0;
|
|
this.velocity.y = (float)0;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009D0 RID: 2512
|
|
// (get) Token: 0x060038E2 RID: 14562 RVA: 0x000EBBBC File Offset: 0x000E9DBC
|
|
// (set) Token: 0x060038E3 RID: 14563 RVA: 0x000EBBD0 File Offset: 0x000E9DD0
|
|
[Token(Token = "0x170009D0")]
|
|
public float KMJKDOOAILL
|
|
{
|
|
[Token(Token = "0x60038E2")]
|
|
[Address(RVA = "0x919860", Offset = "0x918860", VA = "0x180919860")]
|
|
get
|
|
{
|
|
return this.angle;
|
|
}
|
|
[Token(Token = "0x60038E3")]
|
|
[Address(RVA = "0x15A7A60", Offset = "0x15A6A60", VA = "0x1815A7A60")]
|
|
set
|
|
{
|
|
this.angle = value;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009D1 RID: 2513
|
|
// (get) Token: 0x060038E4 RID: 14564 RVA: 0x000EBBEC File Offset: 0x000E9DEC
|
|
[Token(Token = "0x170009D1")]
|
|
private Matrix4x4 MBGJKNKDPFJ
|
|
{
|
|
[Token(Token = "0x60038E4")]
|
|
[Address(RVA = "0x15A7280", Offset = "0x15A6280", VA = "0x1815A7280")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060038E4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Matrix4x4 RRUI.UITiler::CEMHEOIJPIK()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:float32(var_3_06, ldfld:float32(Matrix4x4::m01, ldloc:Matrix4x4[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Matrix4x4&](var_2)))
|
|
stloc:float32(var_4_0D, ldfld:float32(Matrix4x4::m02, ldloc:Matrix4x4[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Matrix4x4&](var_2)))
|
|
stfld:native int(Object::m_CachedPtr, ldloc:UITiler[exp:Object](this), ldloc:float32[exp:native int](var_3_06))
|
|
stloc:float32(var_5_1C, ldfld:float32(Matrix4x4::m03, ldloc:Matrix4x4[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Matrix4x4&](var_2)))
|
|
stfld:Material(UIMaterialOverride::OGGEDFPBGKE, ldloc:UITiler[exp:UIMaterialOverride](this), ldloc:float32[exp:Material](var_4_0D))
|
|
stfld:Image(UITiler::image, ldloc:UITiler(this), ldloc:float32[exp:Image](var_5_1C))
|
|
}
|
|
|
|
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: 0x170009D2 RID: 2514
|
|
// (get) Token: 0x060038E5 RID: 14565 RVA: 0x000EBC28 File Offset: 0x000E9E28
|
|
// (set) Token: 0x060038E6 RID: 14566 RVA: 0x000EBC3C File Offset: 0x000E9E3C
|
|
[Token(Token = "0x170009D2")]
|
|
public UITiler.PJHGBJILOCL JBLCLOIDFCH
|
|
{
|
|
[Token(Token = "0x60038E5")]
|
|
[Address(RVA = "0xAB93B0", Offset = "0xAB83B0", VA = "0x180AB93B0")]
|
|
get
|
|
{
|
|
return this.animationDirection;
|
|
}
|
|
[Token(Token = "0x60038E6")]
|
|
[Address(RVA = "0x15A7A80", Offset = "0x15A6A80", VA = "0x1815A7A80")]
|
|
set
|
|
{
|
|
if (this.animationDirection != value)
|
|
{
|
|
this.animationDirection = value;
|
|
base.BFFMPHOGMMA();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009D3 RID: 2515
|
|
// (get) Token: 0x060038E7 RID: 14567 RVA: 0x000EBC60 File Offset: 0x000E9E60
|
|
// (set) Token: 0x060038E8 RID: 14568 RVA: 0x000EBC74 File Offset: 0x000E9E74
|
|
[Token(Token = "0x170009D3")]
|
|
public float KLNPAMIBLMO
|
|
{
|
|
[Token(Token = "0x60038E7")]
|
|
[Address(RVA = "0x9970E0", Offset = "0x9960E0", VA = "0x1809970E0")]
|
|
get
|
|
{
|
|
return this.primaryAnimationSpeed;
|
|
}
|
|
[Token(Token = "0x60038E8")]
|
|
[Address(RVA = "0x15A7AB0", Offset = "0x15A6AB0", VA = "0x1815A7AB0")]
|
|
set
|
|
{
|
|
this.primaryAnimationSpeed = value;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170009D4 RID: 2516
|
|
// (get) Token: 0x060038E9 RID: 14569 RVA: 0x000EBC90 File Offset: 0x000E9E90
|
|
// (set) Token: 0x060038EA RID: 14570 RVA: 0x000EBCA4 File Offset: 0x000E9EA4
|
|
[Token(Token = "0x170009D4")]
|
|
public float OJAPKEMIDDL
|
|
{
|
|
[Token(Token = "0x60038E9")]
|
|
[Address(RVA = "0x15A7A10", Offset = "0x15A6A10", VA = "0x1815A7A10")]
|
|
get
|
|
{
|
|
return this.altAnimationSpeed;
|
|
}
|
|
[Token(Token = "0x60038EA")]
|
|
[Address(RVA = "0x15A7A40", Offset = "0x15A6A40", VA = "0x1815A7A40")]
|
|
set
|
|
{
|
|
this.altAnimationSpeed = value;
|
|
base.BFFMPHOGMMA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060038EB RID: 14571 RVA: 0x000EBCC0 File Offset: 0x000E9EC0
|
|
[Token(Token = "0x60038EB")]
|
|
[Address(RVA = "0x15A6B20", Offset = "0x15A5B20", VA = "0x1815A6B20", Slot = "13")]
|
|
protected override void BIMBEHCPGAM(Material KFENPJENIOI)
|
|
{
|
|
float num = this.rows;
|
|
int aechiljcogc = UITiler.AECHILJCOGC;
|
|
KFENPJENIOI.SetFloatImpl(aechiljcogc, num);
|
|
Vector2 vector = this.velocity;
|
|
float y = this.velocity.y;
|
|
Vector4 vector2 = vector;
|
|
Color color = this.backgroundColor;
|
|
int lbobdiccapf = UITiler.LBOBDICCAPF;
|
|
KFENPJENIOI.SetColor(lbobdiccapf, color);
|
|
Color color2 = this.tintColor;
|
|
int fejflodecee = UITiler.FEJFLODECEE;
|
|
KFENPJENIOI.SetColor(fejflodecee, color2);
|
|
Vector2 one = Vector2.one;
|
|
float num2 = this.offset;
|
|
int jndbgbpiomp = UITiler.JNDBGBPIOMP;
|
|
KFENPJENIOI.SetFloatImpl(jndbgbpiomp, num2);
|
|
if (this.animationDirection == UITiler.PJHGBJILOCL.None)
|
|
{
|
|
int num3 = 0;
|
|
int aefoiaeoefm = UITiler.AEFOIAEOEFM;
|
|
KFENPJENIOI.SetInt(aefoiaeoefm, num3);
|
|
int num4 = 0;
|
|
int anenpefdfda = UITiler.ANENPEFDFDA;
|
|
KFENPJENIOI.SetFloatImpl(anenpefdfda, (float)num4);
|
|
}
|
|
bool flag = this.animationDirection != UITiler.PJHGBJILOCL.Rows;
|
|
int aefoiaeoefm2 = UITiler.AEFOIAEOEFM;
|
|
KFENPJENIOI.SetInt(aefoiaeoefm2, flag ? 1 : 0);
|
|
float num5 = this.primaryAnimationSpeed;
|
|
int anenpefdfda2 = UITiler.ANENPEFDFDA;
|
|
KFENPJENIOI.SetFloatImpl(anenpefdfda2, num5);
|
|
int elmmnmnnngf = UITiler.ELMMNMNNNGF;
|
|
KFENPJENIOI.SetFloatImpl(elmmnmnnngf, num5);
|
|
Sprite sprite = this.sprite;
|
|
int num6 = 0;
|
|
if (!(sprite != num6))
|
|
{
|
|
Sprite sprite2 = UIMaterialOverride.PDFJDKOMHKB;
|
|
}
|
|
Sprite sprite3 = this.sprite;
|
|
int oaolpjbfkim = UITiler.OAOLPJBFKIM;
|
|
Texture2D texture = sprite3.texture;
|
|
KFENPJENIOI.SetTextureImpl(oaolpjbfkim, texture);
|
|
GraphicsFormat graphicsFormat = sprite3.texture.graphicsFormat;
|
|
int omimmhpjjgg = UITiler.OMIMMHPJJGG;
|
|
KFENPJENIOI.SetFloatImpl(omimmhpjjgg, 1f);
|
|
}
|
|
|
|
// Token: 0x060038EC RID: 14572 RVA: 0x000EBE44 File Offset: 0x000EA044
|
|
[Token(Token = "0x60038EC")]
|
|
[Address(RVA = "0x15A73C0", Offset = "0x15A63C0", VA = "0x1815A73C0")]
|
|
private void IDJKILEODNN(Sprite KMJNLPEBOIF, out Vector2 PFCHGBHOGJE, out Vector2 NGEPAGOAHJE)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060038EC)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RRUI.UITiler::IDJKILEODNN(UnityEngine.Sprite,UnityEngine.Vector2&,UnityEngine.Vector2&)
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 403
|
|
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 117
|
|
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: 0x060038ED RID: 14573 RVA: 0x000EBF24 File Offset: 0x000EA124
|
|
[Token(Token = "0x60038ED")]
|
|
[Address(RVA = "0x15A7370", Offset = "0x15A6370", VA = "0x1815A7370", Slot = "14")]
|
|
protected override void DHFAHFKGPJA(Material KFENPJENIOI, bool CBHMNNAINHM)
|
|
{
|
|
KFENPJENIOI.BLPOBJABAMH("TILER_ON", CBHMNNAINHM);
|
|
}
|
|
|
|
// Token: 0x060038EE RID: 14574 RVA: 0x000EBF40 File Offset: 0x000EA140
|
|
[Token(Token = "0x60038EE")]
|
|
[Address(RVA = "0x15A7940", Offset = "0x15A6940", VA = "0x1815A7940")]
|
|
public UITiler()
|
|
{
|
|
Color white = Color.white;
|
|
Color red = Color.red;
|
|
this.rows = 3f;
|
|
ulong num;
|
|
this.spacing = num;
|
|
this.spacing.y = (float)0;
|
|
this.offset = 0.5f;
|
|
this.animationDirection = (UITiler.PJHGBJILOCL)((ulong)4294967295L);
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x040030CF RID: 12495
|
|
[Token(Token = "0x40030CF")]
|
|
private static readonly int OAOLPJBFKIM = Shader.PropertyToID("_TilerTex");
|
|
|
|
// Token: 0x040030D0 RID: 12496
|
|
[Token(Token = "0x40030D0")]
|
|
private static readonly int KHKEBIIGINJ = Shader.PropertyToID("_TilerTexMinUv");
|
|
|
|
// Token: 0x040030D1 RID: 12497
|
|
[Token(Token = "0x40030D1")]
|
|
private static readonly int LNMBDOPIBHP = Shader.PropertyToID("_TilerTexMaxUv");
|
|
|
|
// Token: 0x040030D2 RID: 12498
|
|
[Token(Token = "0x40030D2")]
|
|
private static readonly int FEJFLODECEE = Shader.PropertyToID("_TilerTintColor");
|
|
|
|
// Token: 0x040030D3 RID: 12499
|
|
[Token(Token = "0x40030D3")]
|
|
private static readonly int LBOBDICCAPF = Shader.PropertyToID("_TilerBackgroundColor");
|
|
|
|
// Token: 0x040030D4 RID: 12500
|
|
[Token(Token = "0x40030D4")]
|
|
private static readonly int FLKPOLFNEFA = Shader.PropertyToID("_TilerRectAspect");
|
|
|
|
// Token: 0x040030D5 RID: 12501
|
|
[Token(Token = "0x40030D5")]
|
|
private static readonly int OMIMMHPJJGG = Shader.PropertyToID("_TilerInvSpriteAspect");
|
|
|
|
// Token: 0x040030D6 RID: 12502
|
|
[Token(Token = "0x40030D6")]
|
|
private static readonly int AECHILJCOGC = Shader.PropertyToID("_TilerRows");
|
|
|
|
// Token: 0x040030D7 RID: 12503
|
|
[Token(Token = "0x40030D7")]
|
|
private static readonly int EAPAOOOPBLH = Shader.PropertyToID("_TilerRotation");
|
|
|
|
// Token: 0x040030D8 RID: 12504
|
|
[Token(Token = "0x40030D8")]
|
|
private static readonly int AJDPOHAJMNN = Shader.PropertyToID("_TilerGlobalVelocity");
|
|
|
|
// Token: 0x040030D9 RID: 12505
|
|
[Token(Token = "0x40030D9")]
|
|
private static readonly int AEFOIAEOEFM = Shader.PropertyToID("_TilerAnimationAxis");
|
|
|
|
// Token: 0x040030DA RID: 12506
|
|
[Token(Token = "0x40030DA")]
|
|
private static readonly int ANENPEFDFDA = Shader.PropertyToID("_TilerAnimationSpeed0");
|
|
|
|
// Token: 0x040030DB RID: 12507
|
|
[Token(Token = "0x40030DB")]
|
|
private static readonly int ELMMNMNNNGF = Shader.PropertyToID("_TilerAnimationSpeed1");
|
|
|
|
// Token: 0x040030DC RID: 12508
|
|
[Token(Token = "0x40030DC")]
|
|
private static readonly int EKOBIKNNEKN = Shader.PropertyToID("_TilerCellSize");
|
|
|
|
// Token: 0x040030DD RID: 12509
|
|
[Token(Token = "0x40030DD")]
|
|
private static readonly int IILMECEJJLE = Shader.PropertyToID("_TilerInvCellSize");
|
|
|
|
// Token: 0x040030DE RID: 12510
|
|
[Token(Token = "0x40030DE")]
|
|
private static readonly int JNDBGBPIOMP = Shader.PropertyToID("_TilerRowOffset");
|
|
|
|
// Token: 0x040030DF RID: 12511
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40030DF")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private Image image;
|
|
|
|
// Token: 0x040030E0 RID: 12512
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40030E0")]
|
|
[SerializeField]
|
|
private Sprite sprite;
|
|
|
|
// Token: 0x040030E1 RID: 12513
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40030E1")]
|
|
[SerializeField]
|
|
private Color tintColor;
|
|
|
|
// Token: 0x040030E2 RID: 12514
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40030E2")]
|
|
[SerializeField]
|
|
private Color backgroundColor;
|
|
|
|
// Token: 0x040030E3 RID: 12515
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40030E3")]
|
|
[SerializeField]
|
|
[Tooltip("How many rows of tiles to fit within the object's rect.")]
|
|
private float rows;
|
|
|
|
// Token: 0x040030E4 RID: 12516
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x40030E4")]
|
|
[SerializeField]
|
|
[Tooltip("The distance between each tile.")]
|
|
private Vector2 spacing;
|
|
|
|
// Token: 0x040030E5 RID: 12517
|
|
[FieldOffset(Offset = "0x6C")]
|
|
[Token(Token = "0x40030E5")]
|
|
[SerializeField]
|
|
[Tooltip("The offset applied to each alternating row or column.")]
|
|
private float offset;
|
|
|
|
// Token: 0x040030E6 RID: 12518
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40030E6")]
|
|
[SerializeField]
|
|
[Tooltip("A constant local-space animation speed applied across the whole image.")]
|
|
private Vector2 velocity;
|
|
|
|
// Token: 0x040030E7 RID: 12519
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40030E7")]
|
|
[SerializeField]
|
|
[Range(0f, 360f)]
|
|
private float angle;
|
|
|
|
// Token: 0x040030E8 RID: 12520
|
|
[FieldOffset(Offset = "0x7C")]
|
|
[Token(Token = "0x40030E8")]
|
|
[SerializeField]
|
|
private UITiler.PJHGBJILOCL animationDirection;
|
|
|
|
// Token: 0x040030E9 RID: 12521
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40030E9")]
|
|
[SerializeField]
|
|
[Tooltip("The animation speed of the primary rows / columns.")]
|
|
[Attribute(Name = "JEAMMEGEDDJ", RVA = "0xED8E0", Offset = "0xECCE0")]
|
|
private float primaryAnimationSpeed;
|
|
|
|
// Token: 0x040030EA RID: 12522
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x40030EA")]
|
|
[SerializeField]
|
|
[Tooltip("The animation speed of the alternating rows / columns.")]
|
|
[Attribute(Name = "JEAMMEGEDDJ", RVA = "0xEDC20", Offset = "0xED020")]
|
|
private float altAnimationSpeed;
|
|
|
|
// Token: 0x020007E2 RID: 2018
|
|
[Token(Token = "0x20007E2")]
|
|
public enum PJHGBJILOCL
|
|
{
|
|
// Token: 0x040030EC RID: 12524
|
|
[Token(Token = "0x40030EC")]
|
|
None = -1,
|
|
// Token: 0x040030ED RID: 12525
|
|
[Token(Token = "0x40030ED")]
|
|
Rows,
|
|
// Token: 0x040030EE RID: 12526
|
|
[Token(Token = "0x40030EE")]
|
|
Columns
|
|
}
|
|
}
|
|
}
|