268 lines
21 KiB
C#
268 lines
21 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001204 RID: 4612
|
|
[Token(Token = "0x2001204")]
|
|
[StructLayout(3)]
|
|
public static class SteamMatchmakingServers
|
|
{
|
|
// Token: 0x06006E00 RID: 28160 RVA: 0x001733C8 File Offset: 0x001715C8
|
|
[Token(Token = "0x6006E00")]
|
|
[Address(RVA = "0x2A92DB0", Offset = "0x2A917B0", VA = "0x182A92DB0")]
|
|
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: 0x06006E01 RID: 28161 RVA: 0x001733F0 File Offset: 0x001715F0
|
|
[Token(Token = "0x6006E01")]
|
|
[Address(RVA = "0x2A92EC0", Offset = "0x2A918C0", VA = "0x182A92EC0")]
|
|
public static HServerListRequest RequestLANServerList(AppId_t iApp, ISteamMatchmakingServerListResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E01)
|
|
|
|
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: 0x06006E02 RID: 28162 RVA: 0x0017340C File Offset: 0x0017160C
|
|
[Token(Token = "0x6006E02")]
|
|
[Address(RVA = "0x2A92B90", Offset = "0x2A91590", VA = "0x182A92B90")]
|
|
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: 0x06006E03 RID: 28163 RVA: 0x00173434 File Offset: 0x00171634
|
|
[Token(Token = "0x6006E03")]
|
|
[Address(RVA = "0x2A92A80", Offset = "0x2A91480", VA = "0x182A92A80")]
|
|
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: 0x06006E04 RID: 28164 RVA: 0x0017345C File Offset: 0x0017165C
|
|
[Token(Token = "0x6006E04")]
|
|
[Address(RVA = "0x2A92CA0", Offset = "0x2A916A0", VA = "0x182A92CA0")]
|
|
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: 0x06006E05 RID: 28165 RVA: 0x00173484 File Offset: 0x00171684
|
|
[Token(Token = "0x6006E05")]
|
|
[Address(RVA = "0x2A92F80", Offset = "0x2A91980", VA = "0x182A92F80")]
|
|
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: 0x06006E06 RID: 28166 RVA: 0x001734AC File Offset: 0x001716AC
|
|
[Token(Token = "0x6006E06")]
|
|
[Address(RVA = "0x2A92A30", Offset = "0x2A91430", VA = "0x182A92A30")]
|
|
public static void ReleaseRequest(HServerListRequest hServerListRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_ReleaseRequest(CSteamAPIContext.m_pSteamMatchmakingServers, hServerListRequest);
|
|
}
|
|
|
|
// Token: 0x06006E07 RID: 28167 RVA: 0x001734CC File Offset: 0x001716CC
|
|
[Token(Token = "0x6006E07")]
|
|
[Address(RVA = "0x2A92660", Offset = "0x2A91060", VA = "0x182A92660")]
|
|
public static gameserveritem_t GetServerDetails(HServerListRequest hRequest, int iServer)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E07)
|
|
|
|
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: 0x06006E08 RID: 28168 RVA: 0x0017350C File Offset: 0x0017170C
|
|
[Token(Token = "0x6006E08")]
|
|
[Address(RVA = "0x2A92570", Offset = "0x2A90F70", VA = "0x182A92570")]
|
|
public static void CancelQuery(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_CancelQuery(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06006E09 RID: 28169 RVA: 0x0017352C File Offset: 0x0017172C
|
|
[Token(Token = "0x6006E09")]
|
|
[Address(RVA = "0x2A92980", Offset = "0x2A91380", VA = "0x182A92980")]
|
|
public static void RefreshQuery(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_RefreshQuery(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06006E0A RID: 28170 RVA: 0x0017354C File Offset: 0x0017174C
|
|
[Token(Token = "0x6006E0A")]
|
|
[Address(RVA = "0x2A92790", Offset = "0x2A91190", VA = "0x182A92790")]
|
|
public static bool IsRefreshing(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmakingServers_IsRefreshing(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06006E0B RID: 28171 RVA: 0x0017356C File Offset: 0x0017176C
|
|
[Token(Token = "0x6006E0B")]
|
|
[Address(RVA = "0x2A92610", Offset = "0x2A91010", VA = "0x182A92610")]
|
|
public static int GetServerCount(HServerListRequest hRequest)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmakingServers_GetServerCount(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest);
|
|
}
|
|
|
|
// Token: 0x06006E0C RID: 28172 RVA: 0x0017358C File Offset: 0x0017178C
|
|
[Token(Token = "0x6006E0C")]
|
|
[Address(RVA = "0x2A929D0", Offset = "0x2A913D0", VA = "0x182A929D0")]
|
|
public static void RefreshServer(HServerListRequest hRequest, int iServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmakingServers_RefreshServer(CSteamAPIContext.m_pSteamMatchmakingServers, hRequest, iServer);
|
|
}
|
|
|
|
// Token: 0x06006E0D RID: 28173 RVA: 0x001735AC File Offset: 0x001717AC
|
|
[Token(Token = "0x6006E0D")]
|
|
[Address(RVA = "0x2A927E0", Offset = "0x2A911E0", VA = "0x182A927E0")]
|
|
public static HServerQuery PingServer(uint unIP, ushort usPort, ISteamMatchmakingPingResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E0D)
|
|
|
|
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: 0x06006E0E RID: 28174 RVA: 0x001735D4 File Offset: 0x001717D4
|
|
[Token(Token = "0x6006E0E")]
|
|
[Address(RVA = "0x2A928B0", Offset = "0x2A912B0", VA = "0x182A928B0")]
|
|
public static HServerQuery PlayerDetails(uint unIP, ushort usPort, ISteamMatchmakingPlayersResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E0E)
|
|
|
|
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: 0x06006E0F RID: 28175 RVA: 0x001735FC File Offset: 0x001717FC
|
|
[Token(Token = "0x6006E0F")]
|
|
[Address(RVA = "0x2A93090", Offset = "0x2A91A90", VA = "0x182A93090")]
|
|
public static HServerQuery ServerRules(uint unIP, ushort usPort, ISteamMatchmakingRulesResponse pRequestServersResponse)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E0F)
|
|
|
|
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: 0x06006E10 RID: 28176 RVA: 0x00173624 File Offset: 0x00171824
|
|
[Token(Token = "0x6006E10")]
|
|
[Address(RVA = "0x2A925C0", Offset = "0x2A90FC0", VA = "0x182A925C0")]
|
|
public static void CancelServerQuery(HServerQuery hServerQuery)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmakingServers = CSteamAPIContext.m_pSteamMatchmakingServers;
|
|
}
|
|
}
|
|
}
|