615 lines
37 KiB
C#
615 lines
37 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001902 RID: 6402
|
|
[Token(Token = "0x2001902")]
|
|
public static class SteamMatchmaking
|
|
{
|
|
// Token: 0x06009121 RID: 37153 RVA: 0x001DD52C File Offset: 0x001DB72C
|
|
[Token(Token = "0x6009121")]
|
|
[Address(RVA = "0x5962A0", Offset = "0x5952A0", VA = "0x1805962A0")]
|
|
public static int GetFavoriteGameCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetFavoriteGameCount(CSteamAPIContext.m_pSteamMatchmaking);
|
|
}
|
|
|
|
// Token: 0x06009122 RID: 37154 RVA: 0x001DD54C File Offset: 0x001DB74C
|
|
[Token(Token = "0x6009122")]
|
|
[Address(RVA = "0x5962F0", Offset = "0x5952F0", VA = "0x1805962F0")]
|
|
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: 0x06009123 RID: 37155 RVA: 0x001DD568 File Offset: 0x001DB768
|
|
[Token(Token = "0x6009123")]
|
|
[Address(RVA = "0x595B70", Offset = "0x594B70", VA = "0x180595B70")]
|
|
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: 0x06009124 RID: 37156 RVA: 0x001DD584 File Offset: 0x001DB784
|
|
[Token(Token = "0x6009124")]
|
|
[Address(RVA = "0x596CE0", Offset = "0x595CE0", VA = "0x180596CE0")]
|
|
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: 0x06009125 RID: 37157 RVA: 0x001DD5A0 File Offset: 0x001DB7A0
|
|
[Token(Token = "0x6009125")]
|
|
[Address(RVA = "0x596DC0", Offset = "0x595DC0", VA = "0x180596DC0")]
|
|
public static SteamAPICall_t RequestLobbyList()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009125)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06009126 RID: 37158 RVA: 0x001DD5C4 File Offset: 0x001DB7C4
|
|
[Token(Token = "0x6009126")]
|
|
[Address(RVA = "0x595F60", Offset = "0x594F60", VA = "0x180595F60")]
|
|
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: 0x06009127 RID: 37159 RVA: 0x001DD604 File Offset: 0x001DB804
|
|
[Token(Token = "0x6009127")]
|
|
[Address(RVA = "0x595E00", Offset = "0x594E00", VA = "0x180595E00")]
|
|
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: 0x06009128 RID: 37160 RVA: 0x001DD630 File Offset: 0x001DB830
|
|
[Token(Token = "0x6009128")]
|
|
[Address(RVA = "0x595D00", Offset = "0x594D00", VA = "0x180595D00")]
|
|
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: 0x06009129 RID: 37161 RVA: 0x001DD664 File Offset: 0x001DB864
|
|
[Token(Token = "0x6009129")]
|
|
[Address(RVA = "0x595CB0", Offset = "0x594CB0", VA = "0x180595CB0")]
|
|
public static void AddRequestLobbyListFilterSlotsAvailable(int nSlotsAvailable)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(CSteamAPIContext.m_pSteamMatchmaking, nSlotsAvailable);
|
|
}
|
|
|
|
// Token: 0x0600912A RID: 37162 RVA: 0x001DD684 File Offset: 0x001DB884
|
|
[Token(Token = "0x600912A")]
|
|
[Address(RVA = "0x595C60", Offset = "0x594C60", VA = "0x180595C60")]
|
|
public static void AddRequestLobbyListDistanceFilter(ELobbyDistanceFilter eLobbyDistanceFilter)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
}
|
|
|
|
// Token: 0x0600912B RID: 37163 RVA: 0x001DD6A0 File Offset: 0x001DB8A0
|
|
[Token(Token = "0x600912B")]
|
|
[Address(RVA = "0x595F10", Offset = "0x594F10", VA = "0x180595F10")]
|
|
public static void AddRequestLobbyListResultCountFilter(int cMaxResults)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListResultCountFilter(CSteamAPIContext.m_pSteamMatchmaking, cMaxResults);
|
|
}
|
|
|
|
// Token: 0x0600912C RID: 37164 RVA: 0x001DD6C0 File Offset: 0x001DB8C0
|
|
[Token(Token = "0x600912C")]
|
|
[Address(RVA = "0x595C10", Offset = "0x594C10", VA = "0x180595C10")]
|
|
public static void AddRequestLobbyListCompatibleMembersFilter(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x0600912D RID: 37165 RVA: 0x001DD6E0 File Offset: 0x001DB8E0
|
|
[Token(Token = "0x600912D")]
|
|
[Address(RVA = "0x5963A0", Offset = "0x5953A0", VA = "0x1805963A0")]
|
|
public static CSteamID GetLobbyByIndex(int iLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600912D)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600912E RID: 37166 RVA: 0x001DD704 File Offset: 0x001DB904
|
|
[Token(Token = "0x600912E")]
|
|
[Address(RVA = "0x5960F0", Offset = "0x5950F0", VA = "0x1805960F0")]
|
|
public static SteamAPICall_t CreateLobby(ELobbyType eLobbyType, int cMaxMembers)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600912E)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600912F RID: 37167 RVA: 0x001DD720 File Offset: 0x001DB920
|
|
[Token(Token = "0x600912F")]
|
|
[Address(RVA = "0x596BF0", Offset = "0x595BF0", VA = "0x180596BF0")]
|
|
public static SteamAPICall_t JoinLobby(CSteamID steamIDLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600912F)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06009130 RID: 37168 RVA: 0x001DD744 File Offset: 0x001DB944
|
|
[Token(Token = "0x6009130")]
|
|
[Address(RVA = "0x596C90", Offset = "0x595C90", VA = "0x180596C90")]
|
|
public static void LeaveLobby(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamMatchmaking_LeaveLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06009131 RID: 37169 RVA: 0x001DD764 File Offset: 0x001DB964
|
|
[Token(Token = "0x6009131")]
|
|
[Address(RVA = "0x596B90", Offset = "0x595B90", VA = "0x180596B90")]
|
|
public static bool InviteUserToLobby(CSteamID steamIDLobby, CSteamID steamIDInvitee)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_InviteUserToLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDInvitee);
|
|
}
|
|
|
|
// Token: 0x06009132 RID: 37170 RVA: 0x001DD784 File Offset: 0x001DB984
|
|
[Token(Token = "0x6009132")]
|
|
[Address(RVA = "0x596B40", Offset = "0x595B40", VA = "0x180596B40")]
|
|
public static int GetNumLobbyMembers(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetNumLobbyMembers(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06009133 RID: 37171 RVA: 0x001DD7A4 File Offset: 0x001DB9A4
|
|
[Token(Token = "0x6009133")]
|
|
[Address(RVA = "0x596870", Offset = "0x595870", VA = "0x180596870")]
|
|
public static CSteamID GetLobbyMemberByIndex(CSteamID steamIDLobby, int iMember)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009133)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06009134 RID: 37172 RVA: 0x001DD7C4 File Offset: 0x001DB9C4
|
|
[Token(Token = "0x6009134")]
|
|
[Address(RVA = "0x5966C0", Offset = "0x5956C0", VA = "0x1805966C0")]
|
|
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: 0x06009135 RID: 37173 RVA: 0x001DD804 File Offset: 0x001DBA04
|
|
[Token(Token = "0x6009135")]
|
|
[Address(RVA = "0x596F30", Offset = "0x595F30", VA = "0x180596F30")]
|
|
public static bool SetLobbyData(CSteamID steamIDLobby, string pchKey, string pchValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009135)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06009136 RID: 37174 RVA: 0x001DD84C File Offset: 0x001DBA4C
|
|
[Token(Token = "0x6009136")]
|
|
[Address(RVA = "0x596670", Offset = "0x595670", VA = "0x180596670")]
|
|
public static int GetLobbyDataCount(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetLobbyDataCount(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06009137 RID: 37175 RVA: 0x001DD86C File Offset: 0x001DBA6C
|
|
[Token(Token = "0x6009137")]
|
|
[Address(RVA = "0x5964E0", Offset = "0x5954E0", VA = "0x1805964E0")]
|
|
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: 0x06009138 RID: 37176 RVA: 0x001DD8C0 File Offset: 0x001DBAC0
|
|
[Token(Token = "0x6009138")]
|
|
[Address(RVA = "0x596190", Offset = "0x595190", VA = "0x180596190")]
|
|
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: 0x06009139 RID: 37177 RVA: 0x001DD8F4 File Offset: 0x001DBAF4
|
|
[Token(Token = "0x6009139")]
|
|
[Address(RVA = "0x596920", Offset = "0x595920", VA = "0x180596920")]
|
|
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: 0x0600913A RID: 37178 RVA: 0x001DD934 File Offset: 0x001DBB34
|
|
[Token(Token = "0x600913A")]
|
|
[Address(RVA = "0x5971C0", Offset = "0x5961C0", VA = "0x1805971C0")]
|
|
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: 0x0600913B RID: 37179 RVA: 0x001DD97C File Offset: 0x001DBB7C
|
|
[Token(Token = "0x600913B")]
|
|
[Address(RVA = "0x596E50", Offset = "0x595E50", VA = "0x180596E50")]
|
|
public static bool SendLobbyChatMsg(CSteamID steamIDLobby, byte[] pvMsgBody, int cubMsgBody)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SendLobbyChatMsg(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, pvMsgBody, cubMsgBody);
|
|
}
|
|
|
|
// Token: 0x0600913C RID: 37180 RVA: 0x001DD9A0 File Offset: 0x001DBBA0
|
|
[Token(Token = "0x600913C")]
|
|
[Address(RVA = "0x596440", Offset = "0x595440", VA = "0x180596440")]
|
|
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: 0x0600913D RID: 37181 RVA: 0x001DD9BC File Offset: 0x001DBBBC
|
|
[Token(Token = "0x600913D")]
|
|
[Address(RVA = "0x596D70", Offset = "0x595D70", VA = "0x180596D70")]
|
|
public static bool RequestLobbyData(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_RequestLobbyData(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x0600913E RID: 37182 RVA: 0x001DD9DC File Offset: 0x001DBBDC
|
|
[Token(Token = "0x600913E")]
|
|
[Address(RVA = "0x5970D0", Offset = "0x5960D0", VA = "0x1805970D0")]
|
|
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: 0x0600913F RID: 37183 RVA: 0x001DDA00 File Offset: 0x001DBC00
|
|
[Token(Token = "0x600913F")]
|
|
[Address(RVA = "0x5967E0", Offset = "0x5957E0", VA = "0x1805967E0")]
|
|
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: 0x06009140 RID: 37184 RVA: 0x001DDA24 File Offset: 0x001DBC24
|
|
[Token(Token = "0x6009140")]
|
|
[Address(RVA = "0x597350", Offset = "0x596350", VA = "0x180597350")]
|
|
public static bool SetLobbyMemberLimit(CSteamID steamIDLobby, int cMaxMembers)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, cMaxMembers);
|
|
}
|
|
|
|
// Token: 0x06009141 RID: 37185 RVA: 0x001DDA44 File Offset: 0x001DBC44
|
|
[Token(Token = "0x6009141")]
|
|
[Address(RVA = "0x596A50", Offset = "0x595A50", VA = "0x180596A50")]
|
|
public static int GetLobbyMemberLimit(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_GetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06009142 RID: 37186 RVA: 0x001DDA64 File Offset: 0x001DBC64
|
|
[Token(Token = "0x6009142")]
|
|
[Address(RVA = "0x597410", Offset = "0x596410", VA = "0x180597410")]
|
|
public static bool SetLobbyType(CSteamID steamIDLobby, ELobbyType eLobbyType)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06009143 RID: 37187 RVA: 0x001DDA80 File Offset: 0x001DBC80
|
|
[Token(Token = "0x6009143")]
|
|
[Address(RVA = "0x597160", Offset = "0x596160", VA = "0x180597160")]
|
|
public static bool SetLobbyJoinable(CSteamID steamIDLobby, bool bLobbyJoinable)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyJoinable(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, bLobbyJoinable);
|
|
}
|
|
|
|
// Token: 0x06009144 RID: 37188 RVA: 0x001DDAA0 File Offset: 0x001DBCA0
|
|
[Token(Token = "0x6009144")]
|
|
[Address(RVA = "0x596AA0", Offset = "0x595AA0", VA = "0x180596AA0")]
|
|
public static CSteamID GetLobbyOwner(CSteamID steamIDLobby)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009144)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06009145 RID: 37189 RVA: 0x001DDAC4 File Offset: 0x001DBCC4
|
|
[Token(Token = "0x6009145")]
|
|
[Address(RVA = "0x5973B0", Offset = "0x5963B0", VA = "0x1805973B0")]
|
|
public static bool SetLobbyOwner(CSteamID steamIDLobby, CSteamID steamIDNewOwner)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLobbyOwner(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDNewOwner);
|
|
}
|
|
|
|
// Token: 0x06009146 RID: 37190 RVA: 0x001DDAE4 File Offset: 0x001DBCE4
|
|
[Token(Token = "0x6009146")]
|
|
[Address(RVA = "0x596ED0", Offset = "0x595ED0", VA = "0x180596ED0")]
|
|
public static bool SetLinkedLobby(CSteamID steamIDLobby, CSteamID steamIDLobbyDependent)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamMatchmaking_SetLinkedLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDLobbyDependent);
|
|
}
|
|
}
|
|
}
|