150 lines
6.4 KiB
C#
150 lines
6.4 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom;
|
|
using RecRoom.Async;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001A2D RID: 6701
|
|
[Token(Token = "0x2001A2D")]
|
|
[StructLayout(3)]
|
|
public sealed class ReputationSpecificUIBehaviour : MonoBehaviour
|
|
{
|
|
// Token: 0x17001D28 RID: 7464
|
|
// (get) Token: 0x0600B455 RID: 46165 RVA: 0x002A5FE8 File Offset: 0x002A41E8
|
|
// (set) Token: 0x0600B456 RID: 46166 RVA: 0x002A5FFC File Offset: 0x002A41FC
|
|
[Token(Token = "0x17001D28")]
|
|
public int? GAINIOENNCG
|
|
{
|
|
[Token(Token = "0x600B455")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
|
get;
|
|
[Token(Token = "0x600B456")]
|
|
[Address(RVA = "0x3C1280", Offset = "0x3BFC80", VA = "0x1803C1280")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x17001D29 RID: 7465
|
|
// (get) Token: 0x0600B457 RID: 46167 RVA: 0x002A6010 File Offset: 0x002A4210
|
|
[Token(Token = "0x17001D29")]
|
|
public JGEBJEJLNBK DLLAJGDMFHI
|
|
{
|
|
[Token(Token = "0x600B457")]
|
|
[Address(RVA = "0x1936FC0", Offset = "0x19359C0", VA = "0x181936FC0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600B457)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling JGEBJEJLNBK AGUI.StackedUI.ReputationSpecificUIBehaviour::get_CurrentReputation()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_0D:
|
|
stloc:int32(var_3_13, ldfld:!0[exp:int32](Nullable`1::value, ldloc:valuetype [mscorlib]System.Nullable`1<int32>[exp:valuetype [mscorlib]System.Nullable`1&](var_0_06)))
|
|
}
|
|
|
|
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: 0x0600B458 RID: 46168 RVA: 0x002A6030 File Offset: 0x002A4230
|
|
[Token(Token = "0x600B458")]
|
|
[Address(RVA = "0x1936B80", Offset = "0x1935580", VA = "0x181936B80")]
|
|
private void Awake()
|
|
{
|
|
ActionEvent<int> pcadimdifdl = EBAIPNMBKLK.PCADIMDIFDL;
|
|
Action<int> action = new Action(this.IMHJBLKCDGK);
|
|
EBAIPNMBKLK.PCADIMDIFDL = pcadimdifdl + action;
|
|
}
|
|
|
|
// Token: 0x0600B459 RID: 46169 RVA: 0x002A605C File Offset: 0x002A425C
|
|
[Token(Token = "0x600B459")]
|
|
[Address(RVA = "0x1936CB0", Offset = "0x19356B0", VA = "0x181936CB0")]
|
|
private void OnDestroy()
|
|
{
|
|
ActionEvent<int> pcadimdifdl = EBAIPNMBKLK.PCADIMDIFDL;
|
|
Action<int> action = new Action(this.IMHJBLKCDGK);
|
|
EBAIPNMBKLK.PCADIMDIFDL = pcadimdifdl - action;
|
|
}
|
|
|
|
// Token: 0x0600B45A RID: 46170 RVA: 0x002A6088 File Offset: 0x002A4288
|
|
[Token(Token = "0x600B45A")]
|
|
[Address(RVA = "0x1936E10", Offset = "0x1935810", VA = "0x181936E10")]
|
|
public void SetPlayer(int? ENJEOLBEALP)
|
|
{
|
|
this.<IFBPANODIPA>k__BackingField = ENJEOLBEALP;
|
|
if (ENJEOLBEALP != 0)
|
|
{
|
|
IPromise<JGEBJEJLNBK> promise = EBAIPNMBKLK.JNLDMDCGHHJ(ENJEOLBEALP.value);
|
|
Action<JGEBJEJLNBK> action = new Action(this.PGCMCOJNJGH);
|
|
int num = 0;
|
|
num += num;
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B45B RID: 46171 RVA: 0x002A60CC File Offset: 0x002A42CC
|
|
[Token(Token = "0x600B45B")]
|
|
[Address(RVA = "0x1936C40", Offset = "0x1935640", VA = "0x181936C40")]
|
|
private void IMHJBLKCDGK(int GKLPIFBPGOD)
|
|
{
|
|
int? num = this.<IFBPANODIPA>k__BackingField;
|
|
bool flag = GKLPIFBPGOD == num;
|
|
if (num != flag)
|
|
{
|
|
ActionEvent playerReputationUpdated = this.PlayerReputationUpdated;
|
|
int num2 = 0;
|
|
playerReputationUpdated.Invoke(num2 != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B45C RID: 46172 RVA: 0x002A6100 File Offset: 0x002A4300
|
|
[Token(Token = "0x600B45C")]
|
|
[Address(RVA = "0x1936F50", Offset = "0x1935950", VA = "0x181936F50")]
|
|
public ReputationSpecificUIBehaviour()
|
|
{
|
|
int num;
|
|
ActionEvent actionEvent = new ActionEvent(32, num != 0);
|
|
num = 0;
|
|
this.PlayerReputationUpdated = actionEvent;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0600B45D RID: 46173 RVA: 0x002A6128 File Offset: 0x002A4328
|
|
[Token(Token = "0x600B45D")]
|
|
[Address(RVA = "0x1936D70", Offset = "0x1935770", VA = "0x181936D70")]
|
|
[CompilerGenerated]
|
|
private void PGCMCOJNJGH(JGEBJEJLNBK NFHKMIJGNFL)
|
|
{
|
|
int num = 0;
|
|
if (this != num)
|
|
{
|
|
int? num2 = this.<IFBPANODIPA>k__BackingField;
|
|
bool flag = NFHKMIJGNFL.<IFBPANODIPA>k__BackingField == num2;
|
|
if (num2 != flag)
|
|
{
|
|
ActionEvent playerReputationUpdated = this.PlayerReputationUpdated;
|
|
int num3 = 0;
|
|
playerReputationUpdated.Invoke(num3 != 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x040076AB RID: 30379
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40076AB")]
|
|
public ActionEvent PlayerReputationUpdated;
|
|
}
|
|
}
|