1078 lines
39 KiB
C#
1078 lines
39 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using RecRoom.Players.Watch;
|
|
using RRUI.Data;
|
|
using RRUI.Navigation;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Sharing
|
|
{
|
|
// Token: 0x02002219 RID: 8729
|
|
[Token(Token = "0x2002219")]
|
|
public abstract class ActionCode : MonoBehaviour
|
|
{
|
|
// Token: 0x1700236F RID: 9071
|
|
// (get) Token: 0x0600DFD7 RID: 57303 RVA: 0x0033C7F4 File Offset: 0x0033A9F4
|
|
// (set) Token: 0x0600DFD8 RID: 57304 RVA: 0x0033C808 File Offset: 0x0033AA08
|
|
[Token(Token = "0x1700236F")]
|
|
public string GHJLPBDGODO
|
|
{
|
|
[Token(Token = "0x600DFD7")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get;
|
|
[Token(Token = "0x600DFD8")]
|
|
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
|
|
protected set;
|
|
}
|
|
|
|
// Token: 0x17002370 RID: 9072
|
|
// (get) Token: 0x0600DFD9 RID: 57305 RVA: 0x0033C81C File Offset: 0x0033AA1C
|
|
// (set) Token: 0x0600DFDA RID: 57306 RVA: 0x0033C830 File Offset: 0x0033AA30
|
|
[Token(Token = "0x17002370")]
|
|
public static ActionCode.HKFNFGGEPMP JLBOBOMDMPA
|
|
{
|
|
[Token(Token = "0x600DFD9")]
|
|
[Address(RVA = "0x111D470", Offset = "0x111C270", VA = "0x18111D470")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600DFD9)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling RecRoom.Sharing.ActionCode/HKFNFGGEPMP RecRoom.Sharing.ActionCode::get_MostRecentCreatedLink()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:HKFNFGGEPMP(var_0_05, ldsfld:HKFNFGGEPMP(ActionCode::<KCIJBDJHHHL>k__BackingField))
|
|
}
|
|
|
|
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(Token = "0x600DFDA")]
|
|
[Address(RVA = "0x111CA50", Offset = "0x111B850", VA = "0x18111CA50")]
|
|
[CompilerGenerated]
|
|
private set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFDB RID: 57307 RVA: 0x0033C840 File Offset: 0x0033AA40
|
|
[Token(Token = "0x600DFDB")]
|
|
[Address(RVA = "0x111D2E0", Offset = "0x111C0E0", VA = "0x18111D2E0")]
|
|
public static bool PlatformShareOrCopy(ActionCode FHIEKIMCGAO, string LIMGCIECODJ, string KCDNNDGKINC)
|
|
{
|
|
string text = FHIEKIMCGAO.ToString();
|
|
if (LinkManager.KPKFFOMCFBK)
|
|
{
|
|
EAEKNPLNKKO type = FHIEKIMCGAO.Config.type;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
bool flag = LinkManager.PlatformShare(type, LIMGCIECODJ, num2, text, num, num != 0);
|
|
return true;
|
|
}
|
|
bool platformCanCopy = LinkManager.HMGFBHPFCHN;
|
|
if (!platformCanCopy)
|
|
{
|
|
return platformCanCopy;
|
|
}
|
|
int type2 = (int)FHIEKIMCGAO.Config.type;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600DFDC RID: 57308 RVA: 0x0033C8A8 File Offset: 0x0033AAA8
|
|
[Token(Token = "0x600DFDC")]
|
|
[Address(RVA = "0x111CB70", Offset = "0x111B970", VA = "0x18111CB70", Slot = "4")]
|
|
public virtual string GetFullShareMessage(string LIMGCIECODJ, string KCDNNDGKINC)
|
|
{
|
|
string[] array = new string[9];
|
|
ActionCode.Configuration config = this.Config;
|
|
string name = config.name;
|
|
string shareContent = config.shareContent;
|
|
string text = string.Format(config.fullName, name);
|
|
string text2 = string.Format(shareContent, name, text);
|
|
if (text2 != 0)
|
|
{
|
|
}
|
|
array[0] = text2;
|
|
string newLine = Environment.NewLine;
|
|
if (newLine != 0)
|
|
{
|
|
}
|
|
array[1] = newLine;
|
|
string name2 = this.Config.name;
|
|
if (name2 != 0)
|
|
{
|
|
}
|
|
array[2] = name2;
|
|
if (" Code: " != 0)
|
|
{
|
|
}
|
|
array[3] = " Code: ";
|
|
if (LIMGCIECODJ != 0)
|
|
{
|
|
}
|
|
array[4] = LIMGCIECODJ;
|
|
string newLine2 = Environment.NewLine;
|
|
if (newLine2 != 0)
|
|
{
|
|
}
|
|
array[5] = newLine2;
|
|
string name3 = this.Config.name;
|
|
if (name3 != 0)
|
|
{
|
|
}
|
|
array[6] = name3;
|
|
if (" Link: " != 0)
|
|
{
|
|
}
|
|
array[7] = " Link: ";
|
|
if (KCDNNDGKINC != 0)
|
|
{
|
|
}
|
|
array[8] = KCDNNDGKINC;
|
|
return string.Concat(array);
|
|
}
|
|
|
|
// Token: 0x0600DFDD RID: 57309
|
|
[Token(Token = "0x600DFDD")]
|
|
[Address(Slot = "5")]
|
|
public abstract PMGCJEPKFOF<ActionCode.HKFNFGGEPMP> Create(object IIFJDCEPNMJ);
|
|
|
|
// Token: 0x0600DFDE RID: 57310
|
|
[Token(Token = "0x600DFDE")]
|
|
[Address(Slot = "6")]
|
|
public abstract DABKFAIHBBP CreateAndShare(Route LPJOBOLHFMI, object IIFJDCEPNMJ);
|
|
|
|
// Token: 0x0600DFDF RID: 57311 RVA: 0x0033C9AC File Offset: 0x0033ABAC
|
|
[Token(Token = "0x600DFDF")]
|
|
[Address(RVA = "0x111C500", Offset = "0x111B300", VA = "0x18111C500", Slot = "7")]
|
|
public virtual void CreateButtonPressed()
|
|
{
|
|
LinkManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int type = (int)this.Config.type;
|
|
int num = 0;
|
|
ActionCode actionCode;
|
|
bool flag = actionCode != num;
|
|
if (!flag)
|
|
{
|
|
DABKFAIHBBP dabkfaihbbp = JJEKJGALHKO.LIPGKFECLDO(string.Format("CreateAndShare: no handler for ActionType: {0}", flag));
|
|
return;
|
|
}
|
|
Route actionCodeShareRoute = instance.actionCodeShareRoute;
|
|
PMGCJEPKFOF<ActionCode.HKFNFGGEPMP> pmgcjepkfof = actionCode.Create(actionCodeShareRoute);
|
|
}
|
|
|
|
// Token: 0x0600DFE0 RID: 57312 RVA: 0x0033CA08 File Offset: 0x0033AC08
|
|
[Token(Token = "0x600DFE0")]
|
|
[Address(RVA = "0x111CA90", Offset = "0x111B890", VA = "0x18111CA90")]
|
|
public string GetActionLinkData(object HEEPBKFPEFI)
|
|
{
|
|
PlatformManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
EAEKNPLNKKO type = this.Config.type;
|
|
if (HEEPBKFPEFI == 0)
|
|
{
|
|
}
|
|
return JsonUtility.ToJson(JsonUtility.ToJson(HEEPBKFPEFI));
|
|
}
|
|
|
|
// Token: 0x0600DFE1 RID: 57313
|
|
[Token(Token = "0x600DFE1")]
|
|
[Address(Slot = "8")]
|
|
public abstract DABKFAIHBBP Handle(LinkManager.ELGKGFGCNJL JBLKFFDDMJH);
|
|
|
|
// Token: 0x0600DFE2 RID: 57314
|
|
[Token(Token = "0x600DFE2")]
|
|
[Address(Slot = "9")]
|
|
public abstract void ModifyPreAuthLaunchTarget(BootSequence.IIACGMGMLOB HHBNIDNOLDI, LinkManager.ELGKGFGCNJL JBLKFFDDMJH);
|
|
|
|
// Token: 0x0600DFE3 RID: 57315 RVA: 0x0033CA3C File Offset: 0x0033AC3C
|
|
[Token(Token = "0x600DFE3")]
|
|
[Address(RVA = "0x15F5510", Offset = "0x15F4310", VA = "0x1815F5510")]
|
|
public T ParseExtraJson<T>(LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFE4 RID: 57316 RVA: 0x0033CA50 File Offset: 0x0033AC50
|
|
[Token(Token = "0x600DFE4")]
|
|
[Address(RVA = "0x111D180", Offset = "0x111BF80", VA = "0x18111D180")]
|
|
protected static void NEIACJEEKFK(string PNLOFHLHFHF, string NNNJNLFHKAH, CCEOLAOLEKJ ADOKOFJIGML)
|
|
{
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
WatchUI watch = local;
|
|
local.Button_PopFlow();
|
|
WatchUI watch3 = watch;
|
|
Action<JPIJGHNNIDP> action = delegate(JPIJGHNNIDP response)
|
|
{
|
|
if (response == JPIJGHNNIDP.Affirmative)
|
|
{
|
|
PlayerDetailsWatchUIFlow flowByType = watch.GetFlowByType<PlayerDetailsWatchUIFlow>();
|
|
WatchUI watch2 = watch;
|
|
int num = 0;
|
|
watch2.PushFlow(flowByType, num);
|
|
WatchMenuProjector watchMenuProjector = watch.OHPDNGENFJL;
|
|
int num2 = 0;
|
|
watchMenuProjector.AuthorityOpenMenuDetached(num2 != 0);
|
|
}
|
|
};
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFE5 RID: 57317 RVA: 0x0033CA9C File Offset: 0x0033AC9C
|
|
[Token(Token = "0x600DFE5")]
|
|
[Address(RVA = "0x111C1B0", Offset = "0x111AFB0", VA = "0x18111C1B0")]
|
|
protected static void BDCIBCGEING(int IMHODAEGGON, string MOACPDCOKGP, string BDMLHPGIEJH, string PNLOFHLHFHF, string NNNJNLFHKAH)
|
|
{
|
|
int num = 0;
|
|
ActionCode.JPGLHBPKMHO jpglhbpkmho;
|
|
jpglhbpkmho.FieldGetter(num, BDMLHPGIEJH, PNLOFHLHFHF);
|
|
jpglhbpkmho.chatFailureBody = 0;
|
|
jpglhbpkmho.otherPlayerId = IMHODAEGGON;
|
|
jpglhbpkmho.chatMessage = MOACPDCOKGP;
|
|
jpglhbpkmho.playerNotification = BDMLHPGIEJH;
|
|
jpglhbpkmho.chatFailureTitle = PNLOFHLHFHF;
|
|
Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
LinkManager.BDJPCEJOMEC bdjpcejomec;
|
|
bdjpcejomec.System.IDisposable.Dispose();
|
|
bdjpcejomec.<>1__state = (int)((ulong)0L);
|
|
bdjpcejomec.waitForWatchClosed = false;
|
|
KFBABPAPIMB kfbabpapimb = instance.Run(bdjpcejomec);
|
|
Func<PMGCJEPKFOF<CCEOLAOLEKJ>> func = () => PEGGCEDHBOF.NFKMGNHDCMN(jpglhbpkmho.otherPlayerId);
|
|
Action<CCEOLAOLEKJ> action = delegate(CCEOLAOLEKJ account)
|
|
{
|
|
ActionCode.CHIECBCCDIO chiecbccdio = new ActionCode.CHIECBCCDIO();
|
|
chiecbccdio.CS$<>8__locals1 = jpglhbpkmho;
|
|
chiecbccdio.account = account;
|
|
bool inited = account.<IGIPMGJEJHD>k__BackingField.inited;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
bool inited2 = PEGGCEDHBOF.DOOHKCANFLO.<IGIPMGJEJHD>k__BackingField.inited;
|
|
bool flag2;
|
|
if (!flag2 && SingletonMonoBehaviour.ONCPNMDGGKG.BLBCCPBIHGI)
|
|
{
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
WatchUI watch = local;
|
|
ChatThreadScreen flowByType = local.GetFlowByType<ChatThreadScreen>();
|
|
List<CCEOLAOLEKJ> list = new List();
|
|
CCEOLAOLEKJ account2 = chiecbccdio.account;
|
|
flowByType.ShowScreen(list, CFLMJLFBOKH.PGANKAHHBJJ.ActionCode);
|
|
string chatMessage = jpglhbpkmho.chatMessage;
|
|
PMGCJEPKFOF<KJEFMHKMHOB> pmgcjepkfof = flowByType.SendSanitizedChatMessageInternal(chatMessage);
|
|
Action<KJEFMHKMHOB> action2 = delegate(KJEFMHKMHOB result)
|
|
{
|
|
ActionCode.CHIECBCCDIO cs$<>8__locals = chiecbccdio;
|
|
if (result != KJEFMHKMHOB.Success)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals2 = cs$<>8__locals.CS$<>8__locals1;
|
|
string chatFailureBody2 = cs$<>8__locals2.chatFailureBody;
|
|
string chatFailureTitle = cs$<>8__locals2.chatFailureTitle;
|
|
CCEOLAOLEKJ account4 = cs$<>8__locals.account;
|
|
ActionCode.NEIACJEEKFK(chatFailureTitle, chatFailureBody2, account4);
|
|
return;
|
|
}
|
|
string playerNotification = cs$<>8__locals.CS$<>8__locals1.playerNotification;
|
|
while (cs$<>8__locals != 0)
|
|
{
|
|
}
|
|
NotificationManager instance2 = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string playerNotification2 = chiecbccdio.CS$<>8__locals1.playerNotification;
|
|
int num3 = 0;
|
|
int num4 = 0;
|
|
instance2.PlayWatchNotification(num4 != 0, (NotificationManager.HLJEOKDOLPF)(-1), playerNotification2, num3);
|
|
WatchMenuProjector watchMenuProjector = watch.OHPDNGENFJL;
|
|
int num5 = 0;
|
|
watchMenuProjector.AuthorityOpenMenuDetached(num5 != 0);
|
|
};
|
|
int num2 = 0;
|
|
num2 += num2;
|
|
num2++;
|
|
Action<string> action3 = delegate(string error)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals3 = chiecbccdio.CS$<>8__locals1;
|
|
string chatFailureBody3 = cs$<>8__locals3.chatFailureBody;
|
|
string chatFailureTitle2 = cs$<>8__locals3.chatFailureTitle;
|
|
CCEOLAOLEKJ account5 = chiecbccdio.account;
|
|
ActionCode.NEIACJEEKFK(chatFailureTitle2, chatFailureBody3, account5);
|
|
};
|
|
return;
|
|
}
|
|
}
|
|
CCEOLAOLEKJ account3 = chiecbccdio.account;
|
|
string chatFailureBody = jpglhbpkmho.chatFailureBody;
|
|
ActionCode.NEIACJEEKFK(jpglhbpkmho.chatFailureTitle, chatFailureBody, account3);
|
|
throw new NullReferenceException();
|
|
};
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFE6 RID: 57318 RVA: 0x0033CB20 File Offset: 0x0033AD20
|
|
[Token(Token = "0x600DFE6")]
|
|
[Address(RVA = "0x111CF20", Offset = "0x111BD20", VA = "0x18111CF20")]
|
|
protected static bool KMCHEMHDIBL(Route LPJOBOLHFMI, EAEKNPLNKKO GEDCEIDOKJL, bool KJFLHJOLLMI, ActionCode.HKFNFGGEPMP HDGOHFNAIKF, [Optional] Action<CCNBJFOPLBG> EELHFBFGJFH)
|
|
{
|
|
bool localPlayerCanOpenWatchUI = Player.HIMJIOGEAGA;
|
|
if (localPlayerCanOpenWatchUI && !localPlayerCanOpenWatchUI)
|
|
{
|
|
int num = 0;
|
|
ActionCode actionCode;
|
|
if (!(actionCode == num))
|
|
{
|
|
if (KJFLHJOLLMI)
|
|
{
|
|
}
|
|
RRUIRootScreen flowByType = WatchUI.BFPPPLIJIGC.GetFlowByType<RRUIRootScreen>();
|
|
CECAKDDNHLN cecakddnhln = new CECAKDDNHLN(LPJOBOLHFMI);
|
|
BrowserModel browserModel = flowByType.browserModel;
|
|
int num2 = 0;
|
|
CECAKDDNHLN cecakddnhln2;
|
|
browserModel.GoTo(cecakddnhln2, num2 != 0);
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFE7 RID: 57319 RVA: 0x0033CB88 File Offset: 0x0033AD88
|
|
[Token(Token = "0x600DFE7")]
|
|
[Address(RVA = "0x111C0C0", Offset = "0x111AEC0", VA = "0x18111C0C0")]
|
|
public static string ActionCodeToUrl(string LIMGCIECODJ)
|
|
{
|
|
return ActionCode.DKCOABPANFH(LinkManager.GetAbsoluteShareUrl(""), "a", LIMGCIECODJ);
|
|
}
|
|
|
|
// Token: 0x0600DFE8 RID: 57320 RVA: 0x0033CBAC File Offset: 0x0033ADAC
|
|
[Token(Token = "0x600DFE8")]
|
|
[Address(RVA = "0x111C130", Offset = "0x111AF30", VA = "0x18111C130")]
|
|
public static string ActionUrlToCode(string KCDNNDGKINC)
|
|
{
|
|
int num = 0;
|
|
bool flag = LinkManager.ELGKGFGCNJL.EPGHLIPKPBJ(KCDNNDGKINC).TryGetValue("a", num);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFE9 RID: 57321 RVA: 0x0033CBD4 File Offset: 0x0033ADD4
|
|
[Token(Token = "0x600DFE9")]
|
|
[Address(RVA = "0x111C380", Offset = "0x111B180", VA = "0x18111C380")]
|
|
public static DABKFAIHBBP ConsumeActionLinkIfValid(string ENJEOLBEALP, int? LNBJKLOINED, EAEKNPLNKKO FLIKIEHKBDP, bool BJGOFOEKLMC, bool EIOHJPLNDLB)
|
|
{
|
|
JJEKJGALHKO jjekjgalhko = new JJEKJGALHKO();
|
|
JJEKJGALHKO linkPromise = jjekjgalhko;
|
|
Action<string> action = new Action(linkPromise.HMFPPBJFHKD);
|
|
Action<PLDFOPCHHJG> action2 = delegate(PLDFOPCHHJG actionLink)
|
|
{
|
|
if (actionLink != 0 && actionLink.FBLEJONFPAK)
|
|
{
|
|
linkPromise.OOOIENHGNCA();
|
|
return;
|
|
}
|
|
linkPromise.HMFPPBJFHKD("Link null or invalid");
|
|
};
|
|
JJEKJGALHKO linkPromise2 = linkPromise;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DFEA RID: 57322 RVA: 0x0033CC24 File Offset: 0x0033AE24
|
|
[Token(Token = "0x600DFEA")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
protected ActionCode()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600DFEB RID: 57323 RVA: 0x0033CC38 File Offset: 0x0033AE38
|
|
[Token(Token = "0x600DFEB")]
|
|
[Address(RVA = "0x111C680", Offset = "0x111B480", VA = "0x18111C680")]
|
|
[CompilerGenerated]
|
|
internal static string DKCOABPANFH(string KCDNNDGKINC, string DNGKIAJLLHG, string ONGBFDACHHG)
|
|
{
|
|
if (KCDNNDGKINC.Contains("?"))
|
|
{
|
|
string[] array = new string[5];
|
|
array[0] = KCDNNDGKINC;
|
|
if ("&" != 0)
|
|
{
|
|
}
|
|
array[1] = "&";
|
|
if (DNGKIAJLLHG != 0)
|
|
{
|
|
}
|
|
array[2] = DNGKIAJLLHG;
|
|
if ("=" != 0)
|
|
{
|
|
}
|
|
array[3] = "=";
|
|
if (ONGBFDACHHG != 0)
|
|
{
|
|
}
|
|
}
|
|
string[] array2 = new string[5];
|
|
array2[0] = KCDNNDGKINC;
|
|
if ("?" != 0)
|
|
{
|
|
}
|
|
array2[1] = "?";
|
|
if (DNGKIAJLLHG != 0)
|
|
{
|
|
}
|
|
array2[2] = DNGKIAJLLHG;
|
|
if ("=" != 0)
|
|
{
|
|
}
|
|
array2[3] = "=";
|
|
if (ONGBFDACHHG != 0)
|
|
{
|
|
}
|
|
array2[4] = ONGBFDACHHG;
|
|
return string.Concat(array2);
|
|
}
|
|
|
|
// Token: 0x04009165 RID: 37221
|
|
[Token(Token = "0x4009165")]
|
|
public const string QueryParameter = "a";
|
|
|
|
// Token: 0x04009166 RID: 37222
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009166")]
|
|
public ActionCode.Configuration Config;
|
|
|
|
// Token: 0x0200221A RID: 8730
|
|
[Token(Token = "0x200221A")]
|
|
public struct HKFNFGGEPMP
|
|
{
|
|
// Token: 0x0600DFEC RID: 57324 RVA: 0x0033CCF8 File Offset: 0x0033AEF8
|
|
[Token(Token = "0x600DFEC")]
|
|
[Address(RVA = "0x479F00", Offset = "0x478D00", VA = "0x180479F00")]
|
|
public HKFNFGGEPMP(string LIMGCIECODJ, string KCDNNDGKINC)
|
|
{
|
|
this.<ICDLHIJMNII>k__BackingField = LIMGCIECODJ;
|
|
this.APBAPGCDANF = KCDNNDGKINC;
|
|
}
|
|
|
|
// Token: 0x17002371 RID: 9073
|
|
// (get) Token: 0x0600DFED RID: 57325 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x0600DFEE RID: 57326 RVA: 0x0033CD14 File Offset: 0x0033AF14
|
|
[Token(Token = "0x17002371")]
|
|
public string FGCOABJCMKO
|
|
{
|
|
[Token(Token = "0x600DFED")]
|
|
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x600DFEE")]
|
|
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
|
[CompilerGenerated]
|
|
private set
|
|
{
|
|
this.<ICDLHIJMNII>k__BackingField = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002372 RID: 9074
|
|
// (get) Token: 0x0600DFEF RID: 57327 RVA: 0x0033CD28 File Offset: 0x0033AF28
|
|
// (set) Token: 0x0600DFF0 RID: 57328 RVA: 0x0033CD3C File Offset: 0x0033AF3C
|
|
[Token(Token = "0x17002372")]
|
|
public string APBAPGCDANF
|
|
{
|
|
[Token(Token = "0x600DFEF")]
|
|
[Address(RVA = "0x57C630", Offset = "0x57B430", VA = "0x18057C630")]
|
|
get;
|
|
[Token(Token = "0x600DFF0")]
|
|
[Address(RVA = "0x737860", Offset = "0x736660", VA = "0x180737860")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x0600DFF1 RID: 57329 RVA: 0x0033CD50 File Offset: 0x0033AF50
|
|
[Token(Token = "0x600DFF1")]
|
|
[Address(RVA = "0x11216E0", Offset = "0x11204E0", VA = "0x1811216E0")]
|
|
public static ActionCode.HKFNFGGEPMP DJOGJFAJEMB(string LIMGCIECODJ)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600DFF1)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling RecRoom.Sharing.ActionCode/HKFNFGGEPMP RecRoom.Sharing.ActionCode/HKFNFGGEPMP::DJOGJFAJEMB(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:string(var_0_0A, call:string(LinkManager::GetAbsoluteShareUrl, ldstr:string("")))
|
|
}
|
|
|
|
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: 0x0600DFF2 RID: 57330 RVA: 0x0033CD68 File Offset: 0x0033AF68
|
|
[Token(Token = "0x600DFF2")]
|
|
[Address(RVA = "0x1121770", Offset = "0x1120570", VA = "0x181121770")]
|
|
public static ActionCode.HKFNFGGEPMP KGEHHCADCHK(string KCDNNDGKINC)
|
|
{
|
|
int num = 0;
|
|
Dictionary<string, string> dictionary;
|
|
bool flag = dictionary.TryGetValue("a", num);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0200221B RID: 8731
|
|
[Token(Token = "0x200221B")]
|
|
[Serializable]
|
|
public class Configuration
|
|
{
|
|
// Token: 0x17002373 RID: 9075
|
|
// (get) Token: 0x0600DFF3 RID: 57331 RVA: 0x0033CD8C File Offset: 0x0033AF8C
|
|
[Token(Token = "0x17002373")]
|
|
public string Name
|
|
{
|
|
[Token(Token = "0x600DFF3")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return this.name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002374 RID: 9076
|
|
// (get) Token: 0x0600DFF4 RID: 57332 RVA: 0x0033CDA0 File Offset: 0x0033AFA0
|
|
[Token(Token = "0x17002374")]
|
|
public EAEKNPLNKKO Type
|
|
{
|
|
[Token(Token = "0x600DFF4")]
|
|
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
|
|
get
|
|
{
|
|
return this.type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002375 RID: 9077
|
|
// (get) Token: 0x0600DFF5 RID: 57333 RVA: 0x0033CDB4 File Offset: 0x0033AFB4
|
|
[Token(Token = "0x17002375")]
|
|
public bool AutoRenew
|
|
{
|
|
[Token(Token = "0x600DFF5")]
|
|
[Address(RVA = "0x751340", Offset = "0x750140", VA = "0x180751340")]
|
|
get
|
|
{
|
|
return this.autoRenew;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002376 RID: 9078
|
|
// (get) Token: 0x0600DFF6 RID: 57334 RVA: 0x0033CDC8 File Offset: 0x0033AFC8
|
|
[Token(Token = "0x17002376")]
|
|
public int? AutoRenewHours
|
|
{
|
|
[Token(Token = "0x600DFF6")]
|
|
[Address(RVA = "0x111E550", Offset = "0x111D350", VA = "0x18111E550")]
|
|
get
|
|
{
|
|
if (this.autoRenew)
|
|
{
|
|
int num = this.validHours;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002377 RID: 9079
|
|
// (get) Token: 0x0600DFF7 RID: 57335 RVA: 0x0033CDE8 File Offset: 0x0033AFE8
|
|
[Token(Token = "0x17002377")]
|
|
public int? MaxUses
|
|
{
|
|
[Token(Token = "0x600DFF7")]
|
|
[Address(RVA = "0x111E600", Offset = "0x111D400", VA = "0x18111E600")]
|
|
get
|
|
{
|
|
if (this.maxUses > 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002378 RID: 9080
|
|
// (get) Token: 0x0600DFF8 RID: 57336 RVA: 0x0033CE00 File Offset: 0x0033B000
|
|
[Token(Token = "0x17002378")]
|
|
public int ValidHours
|
|
{
|
|
[Token(Token = "0x600DFF8")]
|
|
[Address(RVA = "0x430CB0", Offset = "0x42FAB0", VA = "0x180430CB0")]
|
|
get
|
|
{
|
|
return this.validHours;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002379 RID: 9081
|
|
// (get) Token: 0x0600DFF9 RID: 57337 RVA: 0x0033CE14 File Offset: 0x0033B014
|
|
[Token(Token = "0x17002379")]
|
|
public string CreateText
|
|
{
|
|
[Token(Token = "0x600DFF9")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
get
|
|
{
|
|
return this.createText;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700237A RID: 9082
|
|
// (get) Token: 0x0600DFFA RID: 57338 RVA: 0x0033CE28 File Offset: 0x0033B028
|
|
[Token(Token = "0x1700237A")]
|
|
public string DescriptionRTF
|
|
{
|
|
[Token(Token = "0x600DFFA")]
|
|
[Address(RVA = "0x111E5B0", Offset = "0x111D3B0", VA = "0x18111E5B0")]
|
|
get
|
|
{
|
|
string text = this.name;
|
|
string text2 = this.descriptionRTF;
|
|
string text3 = string.Format(this.fullName, text);
|
|
return string.Format(text2, text, text3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700237B RID: 9083
|
|
// (get) Token: 0x0600DFFB RID: 57339 RVA: 0x0033CE58 File Offset: 0x0033B058
|
|
[Token(Token = "0x1700237B")]
|
|
public string FullName
|
|
{
|
|
[Token(Token = "0x600DFFB")]
|
|
[Address(RVA = "0x111E5F0", Offset = "0x111D3F0", VA = "0x18111E5F0")]
|
|
get
|
|
{
|
|
string text = this.name;
|
|
return string.Format(this.fullName, text);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700237C RID: 9084
|
|
// (get) Token: 0x0600DFFC RID: 57340 RVA: 0x0033CE78 File Offset: 0x0033B078
|
|
[Token(Token = "0x1700237C")]
|
|
public string ShareContent
|
|
{
|
|
[Token(Token = "0x600DFFC")]
|
|
[Address(RVA = "0x111E660", Offset = "0x111D460", VA = "0x18111E660")]
|
|
get
|
|
{
|
|
string text = this.name;
|
|
string text2 = this.shareContent;
|
|
string text3 = string.Format(this.fullName, text);
|
|
return string.Format(text2, text, text3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700237D RID: 9085
|
|
// (get) Token: 0x0600DFFD RID: 57341 RVA: 0x0033CEA8 File Offset: 0x0033B0A8
|
|
[Token(Token = "0x1700237D")]
|
|
public string ShareDescription
|
|
{
|
|
[Token(Token = "0x600DFFD")]
|
|
[Address(RVA = "0x111E6A0", Offset = "0x111D4A0", VA = "0x18111E6A0")]
|
|
get
|
|
{
|
|
string text = this.name;
|
|
string text2 = this.shareDescription;
|
|
string text3 = string.Format(this.fullName, text);
|
|
return string.Format(text2, text, text3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700237E RID: 9086
|
|
// (get) Token: 0x0600DFFE RID: 57342 RVA: 0x0033CED8 File Offset: 0x0033B0D8
|
|
[Token(Token = "0x1700237E")]
|
|
public bool WellFormed
|
|
{
|
|
[Token(Token = "0x600DFFE")]
|
|
[Address(RVA = "0x111E6E0", Offset = "0x111D4E0", VA = "0x18111E6E0")]
|
|
get
|
|
{
|
|
if (this.type != EAEKNPLNKKO.Unknown && !string.IsNullOrEmpty(this.name) && !string.IsNullOrEmpty(this.descriptionRTF) && !string.IsNullOrEmpty(this.shareContent) && !string.IsNullOrEmpty(this.shareDescription) && !string.IsNullOrEmpty(this.fullName))
|
|
{
|
|
return this.validHours > 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DFFF RID: 57343 RVA: 0x0033CF40 File Offset: 0x0033B140
|
|
[Token(Token = "0x600DFFF")]
|
|
[Address(RVA = "0x111E4C0", Offset = "0x111D2C0", VA = "0x18111E4C0")]
|
|
public Configuration()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400916B RID: 37227
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400916B")]
|
|
[SerializeField]
|
|
[Tooltip("Friendly name for this type of code")]
|
|
[Header("Code Type:")]
|
|
private string name = "<THING>";
|
|
|
|
// Token: 0x0400916C RID: 37228
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400916C")]
|
|
[SerializeField]
|
|
[Tooltip("The unique type of this code. There should one config per code type.")]
|
|
private EAEKNPLNKKO type = (EAEKNPLNKKO)((ulong)4294967295L);
|
|
|
|
// Token: 0x0400916D RID: 37229
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400916D")]
|
|
[SerializeField]
|
|
[Tooltip("If true, valid hours will be renewed with each usage.")]
|
|
[Header("ActionLink Settings:")]
|
|
private bool autoRenew;
|
|
|
|
// Token: 0x0400916E RID: 37230
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400916E")]
|
|
[SerializeField]
|
|
[Tooltip("Use 0 for no usage limit.")]
|
|
private int maxUses;
|
|
|
|
// Token: 0x0400916F RID: 37231
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400916F")]
|
|
[SerializeField]
|
|
[Tooltip("Required number of hours before the code expires")]
|
|
private int validHours = (int)((ulong)24L);
|
|
|
|
// Token: 0x04009170 RID: 37232
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009170")]
|
|
[SerializeField]
|
|
[Tooltip("Label for the affirmative button on [ActionCodeSubscreenCreate]")]
|
|
[Header("UI Strings:")]
|
|
private string createText = "Create";
|
|
|
|
// Token: 0x04009171 RID: 37233
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4009171")]
|
|
[SerializeField]
|
|
[TextArea]
|
|
[Tooltip("Concise reason to use this code. Use {0} for Name and {1} for FullName.")]
|
|
private string descriptionRTF = "A <b>{0} Code</b> <DOES SOMETHING>.";
|
|
|
|
// Token: 0x04009172 RID: 37234
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4009172")]
|
|
[SerializeField]
|
|
[Tooltip("Full name of this Code Type. Use {0} for Name.")]
|
|
private string fullName = "{0} Code";
|
|
|
|
// Token: 0x04009173 RID: 37235
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4009173")]
|
|
[SerializeField]
|
|
[TextArea]
|
|
[Tooltip("Concise call-to-action for the recipient of this code. Use {0} for Name and {1} for FullName.")]
|
|
private string shareContent = "Use these to <DO SOMETHING>!";
|
|
|
|
// Token: 0x04009174 RID: 37236
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4009174")]
|
|
[SerializeField]
|
|
[TextArea]
|
|
[Tooltip("Concise call-to-action for the creator to share this code. Use {0} for Name and {1} for FullName.")]
|
|
private string shareDescription = "Share these to <DO SOMETHING> in Rec Room!";
|
|
}
|
|
|
|
// Token: 0x0200221C RID: 8732
|
|
[Token(Token = "0x200221C")]
|
|
[CompilerGenerated]
|
|
private sealed class MPHMOCLFAJO
|
|
{
|
|
// Token: 0x0600E000 RID: 57344 RVA: 0x0033CFB0 File Offset: 0x0033B1B0
|
|
[Token(Token = "0x600E000")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public MPHMOCLFAJO()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E001 RID: 57345 RVA: 0x0033CFC4 File Offset: 0x0033B1C4
|
|
[Token(Token = "0x600E001")]
|
|
[Address(RVA = "0x1129A10", Offset = "0x1128810", VA = "0x181129A10")]
|
|
internal void <HandleFailedChatMessage>b__0(JPIJGHNNIDP response)
|
|
{
|
|
if (response == JPIJGHNNIDP.Affirmative)
|
|
{
|
|
PlayerDetailsWatchUIFlow flowByType = this.watch.GetFlowByType<PlayerDetailsWatchUIFlow>();
|
|
WatchUI watchUI = this.watch;
|
|
int num = 0;
|
|
watchUI.PushFlow(flowByType, num);
|
|
WatchMenuProjector watchMenuProjector = this.watch.OHPDNGENFJL;
|
|
int num2 = 0;
|
|
watchMenuProjector.AuthorityOpenMenuDetached(num2 != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04009175 RID: 37237
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4009175")]
|
|
public WatchUI watch;
|
|
|
|
// Token: 0x04009176 RID: 37238
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009176")]
|
|
public CCEOLAOLEKJ targetPlayerAccount;
|
|
}
|
|
|
|
// Token: 0x0200221D RID: 8733
|
|
[Token(Token = "0x200221D")]
|
|
[CompilerGenerated]
|
|
private sealed class JPGLHBPKMHO
|
|
{
|
|
// Token: 0x0600E002 RID: 57346 RVA: 0x0033D010 File Offset: 0x0033B210
|
|
[Token(Token = "0x600E002")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public JPGLHBPKMHO()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E003 RID: 57347 RVA: 0x0033D024 File Offset: 0x0033B224
|
|
[Token(Token = "0x600E003")]
|
|
[Address(RVA = "0x11223E0", Offset = "0x11211E0", VA = "0x1811223E0")]
|
|
internal PMGCJEPKFOF<CCEOLAOLEKJ> <OpenChatThreadScreenAndSendMessageToPlayer>b__0()
|
|
{
|
|
return PEGGCEDHBOF.NFKMGNHDCMN(this.otherPlayerId);
|
|
}
|
|
|
|
// Token: 0x0600E004 RID: 57348 RVA: 0x0033D03C File Offset: 0x0033B23C
|
|
[Token(Token = "0x600E004")]
|
|
[Address(RVA = "0x1122440", Offset = "0x1121240", VA = "0x181122440")]
|
|
internal void <OpenChatThreadScreenAndSendMessageToPlayer>b__1(CCEOLAOLEKJ account)
|
|
{
|
|
ActionCode.CHIECBCCDIO chiecbccdio = new ActionCode.CHIECBCCDIO();
|
|
chiecbccdio.CS$<>8__locals1 = this;
|
|
chiecbccdio.account = account;
|
|
bool inited = account.<IGIPMGJEJHD>k__BackingField.inited;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
bool inited2 = PEGGCEDHBOF.DOOHKCANFLO.<IGIPMGJEJHD>k__BackingField.inited;
|
|
bool flag2;
|
|
if (!flag2 && SingletonMonoBehaviour.ONCPNMDGGKG.BLBCCPBIHGI)
|
|
{
|
|
ActionCode.AMGEOBPAONP amgeobpaonp = new ActionCode.AMGEOBPAONP();
|
|
amgeobpaonp.CS$<>8__locals2 = chiecbccdio;
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
amgeobpaonp.watch = local;
|
|
ChatThreadScreen flowByType = local.GetFlowByType<ChatThreadScreen>();
|
|
List<CCEOLAOLEKJ> list = new List();
|
|
CCEOLAOLEKJ account2 = amgeobpaonp.CS$<>8__locals2.account;
|
|
flowByType.ShowScreen(list, CFLMJLFBOKH.PGANKAHHBJJ.ActionCode);
|
|
string text = this.chatMessage;
|
|
PMGCJEPKFOF<KJEFMHKMHOB> pmgcjepkfof = flowByType.SendSanitizedChatMessageInternal(text);
|
|
Action<KJEFMHKMHOB> action = delegate(KJEFMHKMHOB result)
|
|
{
|
|
ActionCode.CHIECBCCDIO cs$<>8__locals = amgeobpaonp.CS$<>8__locals2;
|
|
if (result != KJEFMHKMHOB.Success)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals2 = cs$<>8__locals.CS$<>8__locals1;
|
|
string text3 = cs$<>8__locals2.chatFailureBody;
|
|
string text4 = cs$<>8__locals2.chatFailureTitle;
|
|
CCEOLAOLEKJ account4 = cs$<>8__locals.account;
|
|
ActionCode.NEIACJEEKFK(text4, text3, account4);
|
|
return;
|
|
}
|
|
string text5 = cs$<>8__locals.CS$<>8__locals1.playerNotification;
|
|
while (cs$<>8__locals != 0)
|
|
{
|
|
}
|
|
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text6 = amgeobpaonp.CS$<>8__locals2.CS$<>8__locals1.playerNotification;
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
instance.PlayWatchNotification(num3 != 0, (NotificationManager.HLJEOKDOLPF)(-1), text6, num2);
|
|
WatchMenuProjector watchMenuProjector = amgeobpaonp.watch.OHPDNGENFJL;
|
|
int num4 = 0;
|
|
watchMenuProjector.AuthorityOpenMenuDetached(num4 != 0);
|
|
};
|
|
int num = 0;
|
|
num += num;
|
|
num++;
|
|
Action<string> action2 = delegate(string error)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals3 = amgeobpaonp.CS$<>8__locals2.CS$<>8__locals1;
|
|
string text7 = cs$<>8__locals3.chatFailureBody;
|
|
string text8 = cs$<>8__locals3.chatFailureTitle;
|
|
CCEOLAOLEKJ account5 = amgeobpaonp.CS$<>8__locals2.account;
|
|
ActionCode.NEIACJEEKFK(text8, text7, account5);
|
|
};
|
|
return;
|
|
}
|
|
}
|
|
CCEOLAOLEKJ account3 = chiecbccdio.account;
|
|
string text2 = this.chatFailureBody;
|
|
ActionCode.NEIACJEEKFK(this.chatFailureTitle, text2, account3);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04009177 RID: 37239
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4009177")]
|
|
public int otherPlayerId;
|
|
|
|
// Token: 0x04009178 RID: 37240
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009178")]
|
|
public string chatMessage;
|
|
|
|
// Token: 0x04009179 RID: 37241
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009179")]
|
|
public string playerNotification;
|
|
|
|
// Token: 0x0400917A RID: 37242
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400917A")]
|
|
public string chatFailureTitle;
|
|
|
|
// Token: 0x0400917B RID: 37243
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400917B")]
|
|
public string chatFailureBody;
|
|
}
|
|
|
|
// Token: 0x0200221E RID: 8734
|
|
[Token(Token = "0x200221E")]
|
|
[CompilerGenerated]
|
|
private sealed class CHIECBCCDIO
|
|
{
|
|
// Token: 0x0600E005 RID: 57349 RVA: 0x0033D150 File Offset: 0x0033B350
|
|
[Token(Token = "0x600E005")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public CHIECBCCDIO()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E006 RID: 57350 RVA: 0x0033D164 File Offset: 0x0033B364
|
|
[Token(Token = "0x600E006")]
|
|
[Address(RVA = "0x111DAD0", Offset = "0x111C8D0", VA = "0x18111DAD0")]
|
|
internal void <OpenChatThreadScreenAndSendMessageToPlayer>b__3(string error)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals = this.CS$<>8__locals1;
|
|
string chatFailureBody = cs$<>8__locals.chatFailureBody;
|
|
string chatFailureTitle = cs$<>8__locals.chatFailureTitle;
|
|
CCEOLAOLEKJ cceolaolekj = this.account;
|
|
ActionCode.NEIACJEEKFK(chatFailureTitle, chatFailureBody, cceolaolekj);
|
|
}
|
|
|
|
// Token: 0x0400917C RID: 37244
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400917C")]
|
|
public CCEOLAOLEKJ account;
|
|
|
|
// Token: 0x0400917D RID: 37245
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400917D")]
|
|
public ActionCode.JPGLHBPKMHO CS$<>8__locals1;
|
|
}
|
|
|
|
// Token: 0x0200221F RID: 8735
|
|
[Token(Token = "0x200221F")]
|
|
[CompilerGenerated]
|
|
private sealed class AMGEOBPAONP
|
|
{
|
|
// Token: 0x0600E007 RID: 57351 RVA: 0x0033D19C File Offset: 0x0033B39C
|
|
[Token(Token = "0x600E007")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public AMGEOBPAONP()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E008 RID: 57352 RVA: 0x0033D1B0 File Offset: 0x0033B3B0
|
|
[Token(Token = "0x600E008")]
|
|
[Address(RVA = "0x111B090", Offset = "0x1119E90", VA = "0x18111B090")]
|
|
internal void <OpenChatThreadScreenAndSendMessageToPlayer>b__2(KJEFMHKMHOB result)
|
|
{
|
|
ActionCode.CHIECBCCDIO cs$<>8__locals = this.CS$<>8__locals2;
|
|
if (result != KJEFMHKMHOB.Success)
|
|
{
|
|
ActionCode.JPGLHBPKMHO cs$<>8__locals2 = cs$<>8__locals.CS$<>8__locals1;
|
|
string chatFailureBody = cs$<>8__locals2.chatFailureBody;
|
|
string chatFailureTitle = cs$<>8__locals2.chatFailureTitle;
|
|
CCEOLAOLEKJ account = cs$<>8__locals.account;
|
|
ActionCode.NEIACJEEKFK(chatFailureTitle, chatFailureBody, account);
|
|
return;
|
|
}
|
|
string playerNotification = cs$<>8__locals.CS$<>8__locals1.playerNotification;
|
|
while (cs$<>8__locals != 0)
|
|
{
|
|
}
|
|
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string playerNotification2 = this.CS$<>8__locals2.CS$<>8__locals1.playerNotification;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
instance.PlayWatchNotification(num2 != 0, (NotificationManager.HLJEOKDOLPF)(-1), playerNotification2, num);
|
|
WatchMenuProjector watchMenuProjector = this.watch.OHPDNGENFJL;
|
|
int num3 = 0;
|
|
watchMenuProjector.AuthorityOpenMenuDetached(num3 != 0);
|
|
}
|
|
|
|
// Token: 0x0400917E RID: 37246
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400917E")]
|
|
public WatchUI watch;
|
|
|
|
// Token: 0x0400917F RID: 37247
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400917F")]
|
|
public ActionCode.CHIECBCCDIO CS$<>8__locals2;
|
|
}
|
|
|
|
// Token: 0x02002220 RID: 8736
|
|
[Token(Token = "0x2002220")]
|
|
[CompilerGenerated]
|
|
private sealed class OICGGGDPICC
|
|
{
|
|
// Token: 0x0600E009 RID: 57353 RVA: 0x0033D250 File Offset: 0x0033B450
|
|
[Token(Token = "0x600E009")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public OICGGGDPICC()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E00A RID: 57354 RVA: 0x0033D264 File Offset: 0x0033B464
|
|
[Token(Token = "0x600E00A")]
|
|
[Address(RVA = "0x112B200", Offset = "0x112A000", VA = "0x18112B200")]
|
|
internal void <ConsumeActionLinkIfValid>b__0(PLDFOPCHHJG actionLink)
|
|
{
|
|
if (actionLink != 0 && actionLink.FBLEJONFPAK)
|
|
{
|
|
this.linkPromise.OOOIENHGNCA();
|
|
return;
|
|
}
|
|
this.linkPromise.HMFPPBJFHKD("Link null or invalid");
|
|
}
|
|
|
|
// Token: 0x04009180 RID: 37248
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4009180")]
|
|
public JJEKJGALHKO linkPromise;
|
|
}
|
|
}
|
|
}
|