615 lines
37 KiB
C#
615 lines
37 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001822 RID: 6178
|
|
[Token(Token = "0x2001822")]
|
|
public static class SteamMatchmaking
|
|
{
|
|
// Token: 0x06008D53 RID: 36179 RVA: 0x001D4434 File Offset: 0x001D2634
|
|
[Token(Token = "0x6008D53")]
|
|
[Address(RVA = "0x1A93650", Offset = "0x1A92450", VA = "0x181A93650")]
|
|
public static int GetFavoriteGameCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetFavoriteGameCount(CSteamAPIContext.m_pSteamMatchmaking);
|
|
}
|
|
|
|
// Token: 0x06008D54 RID: 36180 RVA: 0x001D4454 File Offset: 0x001D2654
|
|
[Token(Token = "0x6008D54")]
|
|
[Address(RVA = "0x1A936A0", Offset = "0x1A924A0", VA = "0x181A936A0")]
|
|
public static bool GetFavoriteGame(int iGame, out AppId_t pnAppID, out uint pnIP, out ushort pnConnPort, out ushort pnQueryPort, out uint punFlags, out uint pRTime32LastPlayedOnServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008D55 RID: 36181 RVA: 0x001D4470 File Offset: 0x001D2670
|
|
[Token(Token = "0x6008D55")]
|
|
[Address(RVA = "0x1A92F20", Offset = "0x1A91D20", VA = "0x181A92F20")]
|
|
public static int AddFavoriteGame(AppId_t nAppID, uint nIP, ushort nConnPort, ushort nQueryPort, uint unFlags, uint rTime32LastPlayedOnServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
int num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06008D56 RID: 36182 RVA: 0x001D448C File Offset: 0x001D268C
|
|
[Token(Token = "0x6008D56")]
|
|
[Address(RVA = "0x1A94090", Offset = "0x1A92E90", VA = "0x181A94090")]
|
|
public static bool RemoveFavoriteGame(AppId_t nAppID, uint nIP, ushort nConnPort, ushort nQueryPort, uint unFlags)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008D57 RID: 36183 RVA: 0x001D44A8 File Offset: 0x001D26A8
|
|
[Token(Token = "0x6008D57")]
|
|
[Address(RVA = "0x1A94170", Offset = "0x1A92F70", VA = "0x181A94170")]
|
|
public static SteamAPICall_t RequestLobbyList()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D57)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamMatchmaking::RequestLobbyList()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:TimeSpan(var_1_16, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamMatchmaking_RequestLobbyList, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmaking))))
|
|
}
|
|
|
|
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: 0x06008D58 RID: 36184 RVA: 0x001D44CC File Offset: 0x001D26CC
|
|
[Token(Token = "0x6008D58")]
|
|
[Address(RVA = "0x1A93310", Offset = "0x1A92110", VA = "0x181A93310")]
|
|
public static void AddRequestLobbyListStringFilter(string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKeyToMatch);
|
|
InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pchValueToMatch);
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
if (utf8StringHandle2 != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008D59 RID: 36185 RVA: 0x001D450C File Offset: 0x001D270C
|
|
[Token(Token = "0x6008D59")]
|
|
[Address(RVA = "0x1A931B0", Offset = "0x1A91FB0", VA = "0x181A931B0")]
|
|
public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKeyToMatch);
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008D5A RID: 36186 RVA: 0x001D4538 File Offset: 0x001D2738
|
|
[Token(Token = "0x6008D5A")]
|
|
[Address(RVA = "0x1A930B0", Offset = "0x1A91EB0", VA = "0x181A930B0")]
|
|
public static void AddRequestLobbyListNearValueFilter(string pchKeyToMatch, int nValueToBeCloseTo)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKeyToMatch);
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListNearValueFilter(CSteamAPIContext.m_pSteamMatchmaking, utf8StringHandle, nValueToBeCloseTo);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008D5B RID: 36187 RVA: 0x001D456C File Offset: 0x001D276C
|
|
[Token(Token = "0x6008D5B")]
|
|
[Address(RVA = "0x1A93060", Offset = "0x1A91E60", VA = "0x181A93060")]
|
|
public static void AddRequestLobbyListFilterSlotsAvailable(int nSlotsAvailable)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(CSteamAPIContext.m_pSteamMatchmaking, nSlotsAvailable);
|
|
}
|
|
|
|
// Token: 0x06008D5C RID: 36188 RVA: 0x001D458C File Offset: 0x001D278C
|
|
[Token(Token = "0x6008D5C")]
|
|
[Address(RVA = "0x1A93010", Offset = "0x1A91E10", VA = "0x181A93010")]
|
|
public static void AddRequestLobbyListDistanceFilter(ELobbyDistanceFilter eLobbyDistanceFilter)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
}
|
|
|
|
// Token: 0x06008D5D RID: 36189 RVA: 0x001D45A8 File Offset: 0x001D27A8
|
|
[Token(Token = "0x6008D5D")]
|
|
[Address(RVA = "0x1A932C0", Offset = "0x1A920C0", VA = "0x181A932C0")]
|
|
public static void AddRequestLobbyListResultCountFilter(int cMaxResults)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListResultCountFilter(CSteamAPIContext.m_pSteamMatchmaking, cMaxResults);
|
|
}
|
|
|
|
// Token: 0x06008D5E RID: 36190 RVA: 0x001D45C8 File Offset: 0x001D27C8
|
|
[Token(Token = "0x6008D5E")]
|
|
[Address(RVA = "0x1A92FC0", Offset = "0x1A91DC0", VA = "0x181A92FC0")]
|
|
public static void AddRequestLobbyListCompatibleMembersFilter(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D5F RID: 36191 RVA: 0x001D45E8 File Offset: 0x001D27E8
|
|
[Token(Token = "0x6008D5F")]
|
|
[Address(RVA = "0x1A93750", Offset = "0x1A92550", VA = "0x181A93750")]
|
|
public static CSteamID GetLobbyByIndex(int iLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D5F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamMatchmaking::GetLobbyByIndex(System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamMatchmaking_GetLobbyByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmaking), ldloc:int32(iLobby))))
|
|
}
|
|
|
|
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: 0x06008D60 RID: 36192 RVA: 0x001D460C File Offset: 0x001D280C
|
|
[Token(Token = "0x6008D60")]
|
|
[Address(RVA = "0x1A934A0", Offset = "0x1A922A0", VA = "0x181A934A0")]
|
|
public static SteamAPICall_t CreateLobby(ELobbyType eLobbyType, int cMaxMembers)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D60)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamMatchmaking::CreateLobby(Steamworks.ELobbyType,System.Int32)
|
|
|
|
---> 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_pSteamMatchmaking))
|
|
}
|
|
|
|
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: 0x06008D61 RID: 36193 RVA: 0x001D4628 File Offset: 0x001D2828
|
|
[Token(Token = "0x6008D61")]
|
|
[Address(RVA = "0x1A93FA0", Offset = "0x1A92DA0", VA = "0x181A93FA0")]
|
|
public static SteamAPICall_t JoinLobby(CSteamID steamIDLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D61)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamMatchmaking::JoinLobby(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamMatchmaking_JoinLobby, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmaking), ldloc:CSteamID(steamIDLobby))))
|
|
}
|
|
|
|
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: 0x06008D62 RID: 36194 RVA: 0x001D464C File Offset: 0x001D284C
|
|
[Token(Token = "0x6008D62")]
|
|
[Address(RVA = "0x1A94040", Offset = "0x1A92E40", VA = "0x181A94040")]
|
|
public static void LeaveLobby(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_LeaveLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D63 RID: 36195 RVA: 0x001D466C File Offset: 0x001D286C
|
|
[Token(Token = "0x6008D63")]
|
|
[Address(RVA = "0x1A93F40", Offset = "0x1A92D40", VA = "0x181A93F40")]
|
|
public static bool InviteUserToLobby(CSteamID steamIDLobby, CSteamID steamIDInvitee)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_InviteUserToLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDInvitee);
|
|
}
|
|
|
|
// Token: 0x06008D64 RID: 36196 RVA: 0x001D468C File Offset: 0x001D288C
|
|
[Token(Token = "0x6008D64")]
|
|
[Address(RVA = "0x1A93EF0", Offset = "0x1A92CF0", VA = "0x181A93EF0")]
|
|
public static int GetNumLobbyMembers(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetNumLobbyMembers(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D65 RID: 36197 RVA: 0x001D46AC File Offset: 0x001D28AC
|
|
[Token(Token = "0x6008D65")]
|
|
[Address(RVA = "0x1A93C20", Offset = "0x1A92A20", VA = "0x181A93C20")]
|
|
public static CSteamID GetLobbyMemberByIndex(CSteamID steamIDLobby, int iMember)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D65)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamMatchmaking::GetLobbyMemberByIndex(Steamworks.CSteamID,System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamMatchmaking_GetLobbyMemberByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmaking), ldloc:CSteamID(steamIDLobby), ldloc:int32(iMember)))
|
|
}
|
|
|
|
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: 0x06008D66 RID: 36198 RVA: 0x001D46CC File Offset: 0x001D28CC
|
|
[Token(Token = "0x6008D66")]
|
|
[Address(RVA = "0x1A93A70", Offset = "0x1A92870", VA = "0x181A93A70")]
|
|
public static string GetLobbyData(CSteamID steamIDLobby, string pchKey)
|
|
{
|
|
int num;
|
|
string text;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamMatchmaking;
|
|
intPtr = NativeMethods.ISteamMatchmaking_GetLobbyData(intPtr, steamIDLobby, utf8StringHandle);
|
|
text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return text;
|
|
}
|
|
|
|
// Token: 0x06008D67 RID: 36199 RVA: 0x001D470C File Offset: 0x001D290C
|
|
[Token(Token = "0x6008D67")]
|
|
[Address(RVA = "0x1A942E0", Offset = "0x1A930E0", VA = "0x181A942E0")]
|
|
public static bool SetLobbyData(CSteamID steamIDLobby, string pchKey, string pchValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D67)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamMatchmaking::SetLobbyData(Steamworks.CSteamID,System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_36:
|
|
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(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.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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06008D68 RID: 36200 RVA: 0x001D4754 File Offset: 0x001D2954
|
|
[Token(Token = "0x6008D68")]
|
|
[Address(RVA = "0x1A93A20", Offset = "0x1A92820", VA = "0x181A93A20")]
|
|
public static int GetLobbyDataCount(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetLobbyDataCount(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D69 RID: 36201 RVA: 0x001D4774 File Offset: 0x001D2974
|
|
[Token(Token = "0x6008D69")]
|
|
[Address(RVA = "0x1A93890", Offset = "0x1A92690", VA = "0x181A93890")]
|
|
public static bool GetLobbyDataByIndex(CSteamID steamIDLobby, int iLobbyData, out string pchKey, int cchKeyBufferSize, out string pchValue, int cchValueBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cchKeyBufferSize);
|
|
IntPtr intPtr2 = CSteamAPIContext.m_pSteamMatchmaking;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
IntPtr intPtr3;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr3;
|
|
string text2 = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr3);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008D6A RID: 36202 RVA: 0x001D47C8 File Offset: 0x001D29C8
|
|
[Token(Token = "0x6008D6A")]
|
|
[Address(RVA = "0x1A93540", Offset = "0x1A92340", VA = "0x181A93540")]
|
|
public static bool DeleteLobbyData(CSteamID steamIDLobby, string pchKey)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
flag = NativeMethods.ISteamMatchmaking_DeleteLobbyData(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008D6B RID: 36203 RVA: 0x001D47FC File Offset: 0x001D29FC
|
|
[Token(Token = "0x6008D6B")]
|
|
[Address(RVA = "0x1A93CD0", Offset = "0x1A92AD0", VA = "0x181A93CD0")]
|
|
public static string GetLobbyMemberData(CSteamID steamIDLobby, CSteamID steamIDUser, string pchKey)
|
|
{
|
|
int num;
|
|
string text;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamMatchmaking;
|
|
intPtr = NativeMethods.ISteamMatchmaking_GetLobbyMemberData(intPtr, steamIDLobby, steamIDUser, utf8StringHandle);
|
|
text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return text;
|
|
}
|
|
|
|
// Token: 0x06008D6C RID: 36204 RVA: 0x001D483C File Offset: 0x001D2A3C
|
|
[Token(Token = "0x6008D6C")]
|
|
[Address(RVA = "0x1A94570", Offset = "0x1A93370", VA = "0x181A94570")]
|
|
public static void SetLobbyMemberData(CSteamID steamIDLobby, string pchKey, string pchValue)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pchValue);
|
|
NativeMethods.ISteamMatchmaking_SetLobbyMemberData(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, utf8StringHandle, utf8StringHandle2);
|
|
if (utf8StringHandle2 != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008D6D RID: 36205 RVA: 0x001D4884 File Offset: 0x001D2A84
|
|
[Token(Token = "0x6008D6D")]
|
|
[Address(RVA = "0x1A94200", Offset = "0x1A93000", VA = "0x181A94200")]
|
|
public static bool SendLobbyChatMsg(CSteamID steamIDLobby, byte[] pvMsgBody, int cubMsgBody)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SendLobbyChatMsg(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, pvMsgBody, cubMsgBody);
|
|
}
|
|
|
|
// Token: 0x06008D6E RID: 36206 RVA: 0x001D48A8 File Offset: 0x001D2AA8
|
|
[Token(Token = "0x6008D6E")]
|
|
[Address(RVA = "0x1A937F0", Offset = "0x1A925F0", VA = "0x181A937F0")]
|
|
public static int GetLobbyChatEntry(CSteamID steamIDLobby, int iChatID, out CSteamID pSteamIDUser, byte[] pvData, int cubData, out EChatEntryType peChatEntryType)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
int num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06008D6F RID: 36207 RVA: 0x001D48C4 File Offset: 0x001D2AC4
|
|
[Token(Token = "0x6008D6F")]
|
|
[Address(RVA = "0x1A94120", Offset = "0x1A92F20", VA = "0x181A94120")]
|
|
public static bool RequestLobbyData(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_RequestLobbyData(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D70 RID: 36208 RVA: 0x001D48E4 File Offset: 0x001D2AE4
|
|
[Token(Token = "0x6008D70")]
|
|
[Address(RVA = "0x1A94480", Offset = "0x1A93280", VA = "0x181A94480")]
|
|
public static void SetLobbyGameServer(CSteamID steamIDLobby, uint unGameServerIP, ushort unGameServerPort, CSteamID steamIDGameServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_SetLobbyGameServer(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer);
|
|
}
|
|
|
|
// Token: 0x06008D71 RID: 36209 RVA: 0x001D4908 File Offset: 0x001D2B08
|
|
[Token(Token = "0x6008D71")]
|
|
[Address(RVA = "0x1A93B90", Offset = "0x1A92990", VA = "0x181A93B90")]
|
|
public static bool GetLobbyGameServer(CSteamID steamIDLobby, out uint punGameServerIP, out ushort punGameServerPort, out CSteamID psteamIDGameServer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetLobbyGameServer(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer);
|
|
}
|
|
|
|
// Token: 0x06008D72 RID: 36210 RVA: 0x001D492C File Offset: 0x001D2B2C
|
|
[Token(Token = "0x6008D72")]
|
|
[Address(RVA = "0x1A94700", Offset = "0x1A93500", VA = "0x181A94700")]
|
|
public static bool SetLobbyMemberLimit(CSteamID steamIDLobby, int cMaxMembers)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, cMaxMembers);
|
|
}
|
|
|
|
// Token: 0x06008D73 RID: 36211 RVA: 0x001D494C File Offset: 0x001D2B4C
|
|
[Token(Token = "0x6008D73")]
|
|
[Address(RVA = "0x1A93E00", Offset = "0x1A92C00", VA = "0x181A93E00")]
|
|
public static int GetLobbyMemberLimit(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06008D74 RID: 36212 RVA: 0x001D496C File Offset: 0x001D2B6C
|
|
[Token(Token = "0x6008D74")]
|
|
[Address(RVA = "0x1A947C0", Offset = "0x1A935C0", VA = "0x181A947C0")]
|
|
public static bool SetLobbyType(CSteamID steamIDLobby, ELobbyType eLobbyType)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008D75 RID: 36213 RVA: 0x001D4988 File Offset: 0x001D2B88
|
|
[Token(Token = "0x6008D75")]
|
|
[Address(RVA = "0x1A94510", Offset = "0x1A93310", VA = "0x181A94510")]
|
|
public static bool SetLobbyJoinable(CSteamID steamIDLobby, bool bLobbyJoinable)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyJoinable(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, bLobbyJoinable);
|
|
}
|
|
|
|
// Token: 0x06008D76 RID: 36214 RVA: 0x001D49A8 File Offset: 0x001D2BA8
|
|
[Token(Token = "0x6008D76")]
|
|
[Address(RVA = "0x1A93E50", Offset = "0x1A92C50", VA = "0x181A93E50")]
|
|
public static CSteamID GetLobbyOwner(CSteamID steamIDLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008D76)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamMatchmaking::GetLobbyOwner(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamMatchmaking_GetLobbyOwner, ldsfld:native int(CSteamAPIContext::m_pSteamMatchmaking), ldloc:CSteamID(steamIDLobby))))
|
|
}
|
|
|
|
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: 0x06008D77 RID: 36215 RVA: 0x001D49CC File Offset: 0x001D2BCC
|
|
[Token(Token = "0x6008D77")]
|
|
[Address(RVA = "0x1A94760", Offset = "0x1A93560", VA = "0x181A94760")]
|
|
public static bool SetLobbyOwner(CSteamID steamIDLobby, CSteamID steamIDNewOwner)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyOwner(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDNewOwner);
|
|
}
|
|
|
|
// Token: 0x06008D78 RID: 36216 RVA: 0x001D49EC File Offset: 0x001D2BEC
|
|
[Token(Token = "0x6008D78")]
|
|
[Address(RVA = "0x1A94280", Offset = "0x1A93080", VA = "0x181A94280")]
|
|
public static bool SetLinkedLobby(CSteamID steamIDLobby, CSteamID steamIDLobbyDependent)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLinkedLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDLobbyDependent);
|
|
}
|
|
}
|
|
}
|