m
This commit is contained in:
@@ -0,0 +1,296 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001185 RID: 4485
|
||||
[Token(Token = "0x2001185")]
|
||||
public class ToggleButton3D : ClickableReleaseButton
|
||||
{
|
||||
// Token: 0x1400009E RID: 158
|
||||
// (add) Token: 0x0600648B RID: 25739 RVA: 0x0015CD6C File Offset: 0x0015AF6C
|
||||
// (remove) Token: 0x0600648C RID: 25740 RVA: 0x0015CD88 File Offset: 0x0015AF88
|
||||
[Token(Token = "0x1400009E")]
|
||||
public event Action<ToggleButton3D, bool> MPKFGBJBDBH
|
||||
{
|
||||
[Token(Token = "0x600648B")]
|
||||
[Address(RVA = "0x1ACE4E0", Offset = "0x1ACD4E0", VA = "0x181ACE4E0")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Delegate @delegate;
|
||||
while (@delegate != 0 && @delegate == 0)
|
||||
{
|
||||
}
|
||||
while (@delegate != this)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600648C")]
|
||||
[Address(RVA = "0x1ACE580", Offset = "0x1ACD580", VA = "0x181ACE580")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Delegate @delegate;
|
||||
while (@delegate != 0 && @delegate == 0)
|
||||
{
|
||||
}
|
||||
while (@delegate != this)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001123 RID: 4387
|
||||
// (get) Token: 0x0600648D RID: 25741 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001123")]
|
||||
protected override float BCGHKIMCMAE
|
||||
{
|
||||
[Token(Token = "0x600648D")]
|
||||
[Address(RVA = "0x17D8D90", Offset = "0x17D7D90", VA = "0x1817D8D90", Slot = "40")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001124 RID: 4388
|
||||
// (get) Token: 0x0600648E RID: 25742 RVA: 0x0015CDA4 File Offset: 0x0015AFA4
|
||||
// (set) Token: 0x0600648F RID: 25743 RVA: 0x0015CDB8 File Offset: 0x0015AFB8
|
||||
[Token(Token = "0x17001124")]
|
||||
public bool BOHIGPFGJBA
|
||||
{
|
||||
[Token(Token = "0x600648E")]
|
||||
[Address(RVA = "0x144B610", Offset = "0x144A610", VA = "0x18144B610")]
|
||||
get
|
||||
{
|
||||
return this.LLJFGDMOOFA;
|
||||
}
|
||||
[Token(Token = "0x600648F")]
|
||||
[Address(RVA = "0x1ACE620", Offset = "0x1ACD620", VA = "0x181ACE620")]
|
||||
set
|
||||
{
|
||||
this.LLJFGDMOOFA = value;
|
||||
if (this.KCLHCOKKNLC)
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
}
|
||||
Sprite sprite = this.offSprite;
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, sprite, true);
|
||||
}
|
||||
base.LODFDOLMDCK = value;
|
||||
Action<ToggleButton3D, bool> mpkfgbjbdbh = this.MPKFGBJBDBH;
|
||||
if (mpkfgbjbdbh != 0)
|
||||
{
|
||||
bool lljfgdmoofa = this.LLJFGDMOOFA;
|
||||
mpkfgbjbdbh(this, lljfgdmoofa);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06006490 RID: 25744 RVA: 0x0015CE10 File Offset: 0x0015B010
|
||||
[Token(Token = "0x6006490")]
|
||||
[Address(RVA = "0x1ACE3A0", Offset = "0x1ACD3A0", VA = "0x181ACE3A0", Slot = "5")]
|
||||
protected override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
if (this.KCLHCOKKNLC)
|
||||
{
|
||||
if (this.LLJFGDMOOFA)
|
||||
{
|
||||
}
|
||||
Sprite sprite = this.offSprite;
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, sprite, true);
|
||||
}
|
||||
bool lljfgdmoofa = this.LLJFGDMOOFA;
|
||||
base.LODFDOLMDCK = lljfgdmoofa;
|
||||
}
|
||||
|
||||
// Token: 0x06006491 RID: 25745 RVA: 0x0015CE58 File Offset: 0x0015B058
|
||||
[Token(Token = "0x6006491")]
|
||||
[Address(RVA = "0x1ACE4A0", Offset = "0x1ACD4A0", VA = "0x181ACE4A0")]
|
||||
public void SetConstantSprite(Sprite KMJNLPEBOIF)
|
||||
{
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, KMJNLPEBOIF, true);
|
||||
this.KCLHCOKKNLC = false;
|
||||
}
|
||||
|
||||
// Token: 0x06006492 RID: 25746 RVA: 0x0015CE7C File Offset: 0x0015B07C
|
||||
[Token(Token = "0x6006492")]
|
||||
[Address(RVA = "0x1ACE400", Offset = "0x1ACD400", VA = "0x181ACE400", Slot = "45")]
|
||||
public override void SetAxisValue(float AEFHIEEGPME, bool CDFHDACBFKN = false)
|
||||
{
|
||||
if (this.LLJFGDMOOFA)
|
||||
{
|
||||
float num = this.IJIGBIPCELG;
|
||||
float num2 = Mathf.Max(AEFHIEEGPME, AEFHIEEGPME);
|
||||
}
|
||||
int num3 = 0;
|
||||
base.SetAxisValue(AEFHIEEGPME, num3 != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06006493 RID: 25747 RVA: 0x0015CEB0 File Offset: 0x0015B0B0
|
||||
[Token(Token = "0x6006493")]
|
||||
[Address(RVA = "0x1ACE180", Offset = "0x1ACD180", VA = "0x181ACE180", Slot = "43")]
|
||||
protected override float BKABACMFHMB()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06006493)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single AGUI.StackedUI.ToggleButton3D::BKABACMFHMB()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_10:
|
||||
stloc:bool(var_0_16, callgetter:bool(IAgent::get_Locked, ldloc:ToggleButton3D[exp:IAgent](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.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: 0x06006494 RID: 25748 RVA: 0x0015CED4 File Offset: 0x0015B0D4
|
||||
[Token(Token = "0x6006494")]
|
||||
[Address(RVA = "0x1ACE300", Offset = "0x1ACD300", VA = "0x181ACE300")]
|
||||
public void ForceRelease()
|
||||
{
|
||||
int num = 0;
|
||||
base.BILIIKJMKBJ(num != 0);
|
||||
int num2 = 0;
|
||||
this.LLJFGDMOOFA = false;
|
||||
if ((this.KCLHCOKKNLC ? 1 : 0) != num2)
|
||||
{
|
||||
Sprite sprite = this.offSprite;
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, sprite, true);
|
||||
}
|
||||
base.LODFDOLMDCK = num2 != 0;
|
||||
Action<ToggleButton3D, bool> mpkfgbjbdbh = this.MPKFGBJBDBH;
|
||||
if (mpkfgbjbdbh != 0)
|
||||
{
|
||||
bool lljfgdmoofa = this.LLJFGDMOOFA;
|
||||
mpkfgbjbdbh(this, lljfgdmoofa);
|
||||
}
|
||||
base.PMFNJKCHLCO();
|
||||
}
|
||||
|
||||
// Token: 0x06006495 RID: 25749 RVA: 0x0015CF3C File Offset: 0x0015B13C
|
||||
[Token(Token = "0x6006495")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "49")]
|
||||
protected override bool JJONPCECBCI()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06006496 RID: 25750 RVA: 0x0015CF4C File Offset: 0x0015B14C
|
||||
[Token(Token = "0x6006496")]
|
||||
[Address(RVA = "0x1ACE210", Offset = "0x1ACD210", VA = "0x181ACE210", Slot = "50")]
|
||||
protected override void FNPHBHJLMMD()
|
||||
{
|
||||
bool lljfgdmoofa = this.LLJFGDMOOFA;
|
||||
bool flag = !lljfgdmoofa;
|
||||
this.LLJFGDMOOFA = flag;
|
||||
if (this.KCLHCOKKNLC)
|
||||
{
|
||||
if (!lljfgdmoofa)
|
||||
{
|
||||
}
|
||||
Sprite sprite = this.offSprite;
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, sprite, true);
|
||||
}
|
||||
base.LODFDOLMDCK = flag;
|
||||
Action<ToggleButton3D, bool> mpkfgbjbdbh = this.MPKFGBJBDBH;
|
||||
if (mpkfgbjbdbh != 0)
|
||||
{
|
||||
bool lljfgdmoofa2 = this.LLJFGDMOOFA;
|
||||
mpkfgbjbdbh(this, lljfgdmoofa2);
|
||||
}
|
||||
ToggleButton3D.OnToggleButton3DClick onClick = this.OnClick;
|
||||
bool lljfgdmoofa3 = this.LLJFGDMOOFA;
|
||||
onClick.Invoke(lljfgdmoofa3);
|
||||
}
|
||||
|
||||
// Token: 0x06006497 RID: 25751 RVA: 0x0015CFD0 File Offset: 0x0015B1D0
|
||||
[Token(Token = "0x6006497")]
|
||||
[Address(RVA = "0x1ACE1B0", Offset = "0x1ACD1B0", VA = "0x181ACE1B0")]
|
||||
private void CMOIALFDIPD()
|
||||
{
|
||||
if (this.KCLHCOKKNLC)
|
||||
{
|
||||
if (this.LLJFGDMOOFA)
|
||||
{
|
||||
}
|
||||
Sprite sprite = this.offSprite;
|
||||
PLDMAFINLJO.KDMONFDFGCE(this.swappableImage, sprite, true);
|
||||
}
|
||||
bool lljfgdmoofa = this.LLJFGDMOOFA;
|
||||
base.LODFDOLMDCK = lljfgdmoofa;
|
||||
}
|
||||
|
||||
// Token: 0x06006498 RID: 25752 RVA: 0x0015D014 File Offset: 0x0015B214
|
||||
[Token(Token = "0x6006498")]
|
||||
[Address(RVA = "0x1ACE4D0", Offset = "0x1ACD4D0", VA = "0x181ACE4D0")]
|
||||
public ToggleButton3D()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040041BE RID: 16830
|
||||
[FieldOffset(Offset = "0x1E8")]
|
||||
[Token(Token = "0x40041BE")]
|
||||
[SerializeField]
|
||||
private Sprite onSprite;
|
||||
|
||||
// Token: 0x040041BF RID: 16831
|
||||
[FieldOffset(Offset = "0x1F0")]
|
||||
[Token(Token = "0x40041BF")]
|
||||
[SerializeField]
|
||||
private Sprite offSprite;
|
||||
|
||||
// Token: 0x040041C0 RID: 16832
|
||||
[FieldOffset(Offset = "0x1F8")]
|
||||
[Token(Token = "0x40041C0")]
|
||||
[SerializeField]
|
||||
private Image swappableImage;
|
||||
|
||||
// Token: 0x040041C1 RID: 16833
|
||||
[FieldOffset(Offset = "0x200")]
|
||||
[Token(Token = "0x40041C1")]
|
||||
public ToggleButton3D.OnToggleButton3DClick OnClick;
|
||||
|
||||
// Token: 0x040041C3 RID: 16835
|
||||
[FieldOffset(Offset = "0x210")]
|
||||
[Token(Token = "0x40041C3")]
|
||||
private bool KCLHCOKKNLC = true;
|
||||
|
||||
// Token: 0x040041C4 RID: 16836
|
||||
[FieldOffset(Offset = "0x211")]
|
||||
[Token(Token = "0x40041C4")]
|
||||
private bool LLJFGDMOOFA;
|
||||
|
||||
// Token: 0x02001186 RID: 4486
|
||||
[Token(Token = "0x2001186")]
|
||||
[Serializable]
|
||||
public class OnToggleButton3DClick : UnityEvent<bool>
|
||||
{
|
||||
// Token: 0x06006499 RID: 25753 RVA: 0x0015D030 File Offset: 0x0015B230
|
||||
[Token(Token = "0x6006499")]
|
||||
[Address(RVA = "0x1ABFD40", Offset = "0x1ABED40", VA = "0x181ABFD40")]
|
||||
public OnToggleButton3DClick()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user