terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
NetGroupInfo.cs
Go to the documentation of this file.
1using System;
4
5namespace Terraria.Net
6{
7 // Token: 0x020006A1 RID: 1697
8 public class NetGroupInfo
9 {
10 // Token: 0x06003890 RID: 14480 RVA: 0x000021DB File Offset: 0x000003DB
11 public NetGroupInfo()
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x06003891 RID: 14481 RVA: 0x00226110 File Offset: 0x00224310
17 public string ComposeInfo()
18 {
20 if (this._separatorBetweenIdAndInfo != null)
21 {
22 }
23 string text;
24 return text;
25 }
26
27 // Token: 0x06003892 RID: 14482 RVA: 0x0022615C File Offset: 0x0022435C
29 {
30 /*
31An exception occurred when decompiling this method (06003892)
32
33ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.Dictionary`2<Terraria.Net.NetGroupInfo/InfoProviderId,System.String> Terraria.Net.NetGroupInfo::DecomposeInfo(System.String)
34
35 ---> System.Exception: Basic block has to end with unconditional control flow.
36{
37 Block_0:
38 stloc:string[](var_1_08, ldfld:string[](NetGroupInfo::_separatorBetweenInfos, ldloc:NetGroupInfo(this)))
39 stloc:string[](var_5_11, ldfld:string[](NetGroupInfo::_separatorBetweenIdAndInfo, ldloc:NetGroupInfo(this)))
40}
41
42 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
43 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
44 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
45 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
46 --- End of inner exception stack trace ---
47 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
48 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 1683
49*/;
50 }
51
52 // Token: 0x06003893 RID: 14483 RVA: 0x0022617C File Offset: 0x0022437C
53 private string ConvertToSafeInfo(string text)
54 {
55 if (!true)
56 {
57 }
59 }
60
61 // Token: 0x06003894 RID: 14484 RVA: 0x00226194 File Offset: 0x00224394
62 private string ConvertFromSafeInfo(string text)
63 {
64 if (!true)
65 {
66 }
68 }
69
70 // Token: 0x04007948 RID: 31048
72
73 // Token: 0x04007949 RID: 31049
75
76 // Token: 0x0400794A RID: 31050
78
79 // Token: 0x020006A2 RID: 1698
80 public enum InfoProviderId
81 {
82 // Token: 0x0400794C RID: 31052
84 // Token: 0x0400794D RID: 31053
85 Steam
86 }
87
88 // Token: 0x020006A3 RID: 1699
89 private interface INetGroupInfoProvider
90 {
91 // Token: 0x170006CF RID: 1743
92 // (get) Token: 0x06003895 RID: 14485
94
95 // Token: 0x170006D0 RID: 1744
96 // (get) Token: 0x06003896 RID: 14486
97 bool HasValidInfo { get; }
98
99 // Token: 0x06003897 RID: 14487
101 }
102
103 // Token: 0x020006A4 RID: 1700
105 {
106 // Token: 0x170006D1 RID: 1745
107 // (get) Token: 0x06003898 RID: 14488 RVA: 0x002261AC File Offset: 0x002243AC
109 {
110 get
111 {
112 }
113 }
114
115 // Token: 0x170006D2 RID: 1746
116 // (get) Token: 0x06003899 RID: 14489 RVA: 0x002261BC File Offset: 0x002243BC
117 public bool HasValidInfo
118 {
119 get
120 {
121 }
122 }
123
124 // Token: 0x0600389A RID: 14490 RVA: 0x002261CC File Offset: 0x002243CC
126 {
127 return "";
128 }
129
130 // Token: 0x0600389B RID: 14491 RVA: 0x002261E0 File Offset: 0x002243E0
132 {
133 }
134 }
135
136 // Token: 0x020006A5 RID: 1701
138 {
139 // Token: 0x170006D3 RID: 1747
140 // (get) Token: 0x0600389C RID: 14492 RVA: 0x002261F4 File Offset: 0x002243F4
142 {
143 get
144 {
145 return NetGroupInfo.InfoProviderId.Steam;
146 }
147 }
148
149 // Token: 0x170006D4 RID: 1748
150 // (get) Token: 0x0600389D RID: 14493 RVA: 0x00226204 File Offset: 0x00224404
151 public bool HasValidInfo
152 {
153 get
154 {
155 /*
156An exception occurred when decompiling this method (0600389D)
157
158ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Net.NetGroupInfo/SteamLobbyInfoProvider::get_HasValidInfo()
159
160 ---> System.Exception: Basic block has to end with unconditional control flow.
161{
162 IL_0000:
163 brtrue(IL_0000, ldc.i4:bool(1))
164}
165
166 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
167 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
168 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
169 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
170 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
171 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
172 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
173 --- End of inner exception stack trace ---
174 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
175 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 1683
176*/;
177 }
178 }
179
180 // Token: 0x0600389E RID: 14494 RVA: 0x00226214 File Offset: 0x00224414
182 {
183 if (!true)
184 {
185 }
186 string text;
187 return text;
188 }
189
190 // Token: 0x0600389F RID: 14495 RVA: 0x00226228 File Offset: 0x00224428
192 {
193 }
194 }
195 }
196}
class f__AnonymousType0<< Count > j__TPar
static string EscapeDataString(string stringToEscape)
Definition Uri.cs:2255
static string UnescapeDataString(string stringToUnescape)
Definition Uri.cs:2244
string ConvertToSafeInfo(string text)
readonly string[] _separatorBetweenInfos
readonly string[] _separatorBetweenIdAndInfo
List< NetGroupInfo.INetGroupInfoProvider > _infoProviders
string ConvertFromSafeInfo(string text)
Dictionary< NetGroupInfo.InfoProviderId, string > DecomposeInfo(string info)