266 lines
21 KiB
C#
266 lines
21 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001823 RID: 6179
|
|
[Token(Token = "0x2001823")]
|
|
public static class SteamMatchmakingServers
|
|
{
|
|
// Token: 0x06008D79 RID: 36217 RVA: 0x001D4A0C File Offset: 0x001D2C0C
|
|
[Token(Token = "0x6008D79")]
|
|
[Address(RVA = "0x1A92B70", Offset = "0x1A91970", VA = "0x181A92B70")]
|
|
public static HServerListRequest RequestInternetServerList(AppId_t iApp, MatchMakingKeyValuePair_t[] ppchFilters, uint nFilters, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
MMKVPMarshaller mmkvpmarshaller = new MMKVPMarshaller(ppchFilters);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06008D7A RID: 36218 RVA: 0x001D4A34 File Offset: 0x001D2C34
|
|
[Token(Token = "0x6008D7A")]
|
|
[Address(RVA = "0x1A92C80", Offset = "0x1A91A80", VA = "0x181A92C80")]
|
|
public static HServerListRequest RequestLANServerList(AppId_t iApp, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D7A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HServerListRequest Steamworks.SteamMatchmakingServers::RequestLANServerList(Steamworks.AppId_t,Steamworks.ISteamMatchmakingServerListResponse)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmakingServers))
|
|
}
|
|
|
|
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: 0x06008D7B RID: 36219 RVA: 0x001D4A50 File Offset: 0x001D2C50
|
|
[Token(Token = "0x6008D7B")]
|
|
[Address(RVA = "0x1A92950", Offset = "0x1A91750", VA = "0x181A92950")]
|
|
public static HServerListRequest RequestFriendsServerList(AppId_t iApp, MatchMakingKeyValuePair_t[] ppchFilters, uint nFilters, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
MMKVPMarshaller mmkvpmarshaller = new MMKVPMarshaller(ppchFilters);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06008D7C RID: 36220 RVA: 0x001D4A78 File Offset: 0x001D2C78
|
|
[Token(Token = "0x6008D7C")]
|
|
[Address(RVA = "0x1A92840", Offset = "0x1A91640", VA = "0x181A92840")]
|
|
public static HServerListRequest RequestFavoritesServerList(AppId_t iApp, MatchMakingKeyValuePair_t[] ppchFilters, uint nFilters, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
MMKVPMarshaller mmkvpmarshaller = new MMKVPMarshaller(ppchFilters);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06008D7D RID: 36221 RVA: 0x001D4AA0 File Offset: 0x001D2CA0
|
|
[Token(Token = "0x6008D7D")]
|
|
[Address(RVA = "0x1A92A60", Offset = "0x1A91860", VA = "0x181A92A60")]
|
|
public static HServerListRequest RequestHistoryServerList(AppId_t iApp, MatchMakingKeyValuePair_t[] ppchFilters, uint nFilters, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
MMKVPMarshaller mmkvpmarshaller = new MMKVPMarshaller(ppchFilters);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06008D7E RID: 36222 RVA: 0x001D4AC8 File Offset: 0x001D2CC8
|
|
[Token(Token = "0x6008D7E")]
|
|
[Address(RVA = "0x1A92D40", Offset = "0x1A91B40", VA = "0x181A92D40")]
|
|
public static HServerListRequest RequestSpectatorServerList(AppId_t iApp, MatchMakingKeyValuePair_t[] ppchFilters, uint nFilters, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
MMKVPMarshaller mmkvpmarshaller = new MMKVPMarshaller(ppchFilters);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06008D7F RID: 36223 RVA: 0x001D4AF0 File Offset: 0x001D2CF0
|
|
[Token(Token = "0x6008D7F")]
|
|
[Address(RVA = "0x1A927F0", Offset = "0x1A915F0", VA = "0x181A927F0")]
|
|
public static void ReleaseRequest(HServerListRequest hServerListRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_ReleaseRequest(CSteamAPIContext.m_pSteamMatchmakingServers, hServerListRequest);
|
|
}
|
|
|
|
// Token: 0x06008D80 RID: 36224 RVA: 0x001D4B10 File Offset: 0x001D2D10
|
|
[Token(Token = "0x6008D80")]
|
|
[Address(RVA = "0x1A92420", Offset = "0x1A91220", VA = "0x181A92420")]
|
|
public static gameserveritem_t GetServerDetails(HServerListRequest hRequest, int iServer)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D80)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.gameserveritem_t Steamworks.SteamMatchmakingServers::GetServerDetails(Steamworks.HServerListRequest,System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_2E:
|
|
brtrue(IL_2E, cne:bool(ldloc:object(var_3_26), ldc.i4:int32[exp:object](0)))
|
|
}
|
|
|
|
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: 0x06008D81 RID: 36225 RVA: 0x001D4B50 File Offset: 0x001D2D50
|
|
[Token(Token = "0x6008D81")]
|
|
[Address(RVA = "0x1A92330", Offset = "0x1A91130", VA = "0x181A92330")]
|
|
public static void CancelQuery(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_CancelQuery(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06008D82 RID: 36226 RVA: 0x001D4B70 File Offset: 0x001D2D70
|
|
[Token(Token = "0x6008D82")]
|
|
[Address(RVA = "0x1A92740", Offset = "0x1A91540", VA = "0x181A92740")]
|
|
public static void RefreshQuery(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_RefreshQuery(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06008D83 RID: 36227 RVA: 0x001D4B90 File Offset: 0x001D2D90
|
|
[Token(Token = "0x6008D83")]
|
|
[Address(RVA = "0x1A92550", Offset = "0x1A91350", VA = "0x181A92550")]
|
|
public static bool IsRefreshing(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmakingServers_IsRefreshing(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06008D84 RID: 36228 RVA: 0x001D4BB0 File Offset: 0x001D2DB0
|
|
[Token(Token = "0x6008D84")]
|
|
[Address(RVA = "0x1A923D0", Offset = "0x1A911D0", VA = "0x181A923D0")]
|
|
public static int GetServerCount(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmakingServers_GetServerCount(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06008D85 RID: 36229 RVA: 0x001D4BD0 File Offset: 0x001D2DD0
|
|
[Token(Token = "0x6008D85")]
|
|
[Address(RVA = "0x1A92790", Offset = "0x1A91590", VA = "0x181A92790")]
|
|
public static void RefreshServer(HServerListRequest hRequest, int iServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_RefreshServer(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest, iServer);
|
|
}
|
|
|
|
// Token: 0x06008D86 RID: 36230 RVA: 0x001D4BF0 File Offset: 0x001D2DF0
|
|
[Token(Token = "0x6008D86")]
|
|
[Address(RVA = "0x1A925A0", Offset = "0x1A913A0", VA = "0x181A925A0")]
|
|
public static HServerQuery PingServer(uint unIP, ushort usPort, ISteamMatchmakingPingResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D86)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HServerQuery Steamworks.SteamMatchmakingServers::PingServer(System.UInt32,System.UInt16,Steamworks.ISteamMatchmakingPingResponse)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:int32(var_2_18, call:int32(NativeMethods::ISteamMatchmakingServers_PingServer, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmakingServers), ldloc:uint32(unIP), ldloc:uint16(usPort), ldtoken:RuntimeTypeHandle[exp:native int](Steamworks.CSteamAPIContext)))
|
|
}
|
|
|
|
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: 0x06008D87 RID: 36231 RVA: 0x001D4C18 File Offset: 0x001D2E18
|
|
[Token(Token = "0x6008D87")]
|
|
[Address(RVA = "0x1A92670", Offset = "0x1A91470", VA = "0x181A92670")]
|
|
public static HServerQuery PlayerDetails(uint unIP, ushort usPort, ISteamMatchmakingPlayersResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D87)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HServerQuery Steamworks.SteamMatchmakingServers::PlayerDetails(System.UInt32,System.UInt16,Steamworks.ISteamMatchmakingPlayersResponse)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:int32(var_2_18, call:int32(NativeMethods::ISteamMatchmakingServers_PlayerDetails, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmakingServers), ldloc:uint32(unIP), ldloc:uint16(usPort), ldtoken:RuntimeTypeHandle[exp:native int](Steamworks.CSteamAPIContext)))
|
|
}
|
|
|
|
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: 0x06008D88 RID: 36232 RVA: 0x001D4C40 File Offset: 0x001D2E40
|
|
[Token(Token = "0x6008D88")]
|
|
[Address(RVA = "0x1A92E50", Offset = "0x1A91C50", VA = "0x181A92E50")]
|
|
public static HServerQuery ServerRules(uint unIP, ushort usPort, ISteamMatchmakingRulesResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D88)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HServerQuery Steamworks.SteamMatchmakingServers::ServerRules(System.UInt32,System.UInt16,Steamworks.ISteamMatchmakingRulesResponse)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:int32(var_2_18, call:int32(NativeMethods::ISteamMatchmakingServers_ServerRules, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmakingServers), ldloc:uint32(unIP), ldloc:uint16(usPort), ldtoken:RuntimeTypeHandle[exp:native int](Steamworks.CSteamAPIContext)))
|
|
}
|
|
|
|
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: 0x06008D89 RID: 36233 RVA: 0x001D4C68 File Offset: 0x001D2E68
|
|
[Token(Token = "0x6008D89")]
|
|
[Address(RVA = "0x1A92380", Offset = "0x1A91180", VA = "0x181A92380")]
|
|
public static void CancelServerQuery(HServerQuery hServerQuery)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
}
|
|
}
|
|
}
|