using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace Steamworks { // Token: 0x02001203 RID: 4611 [Token(Token = "0x2001203")] [StructLayout(3)] public static class SteamMatchmaking { // Token: 0x06006DDA RID: 28122 RVA: 0x00172DD0 File Offset: 0x00170FD0 [Token(Token = "0x6006DDA")] [Address(RVA = "0x2A93920", Offset = "0x2A92320", VA = "0x182A93920")] public static int GetFavoriteGameCount() { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_GetFavoriteGameCount(CSteamAPIContext.m_pSteamMatchmaking); } // Token: 0x06006DDB RID: 28123 RVA: 0x00172DF0 File Offset: 0x00170FF0 [Token(Token = "0x6006DDB")] [Address(RVA = "0x2A93970", Offset = "0x2A92370", VA = "0x182A93970")] 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: 0x06006DDC RID: 28124 RVA: 0x00172E0C File Offset: 0x0017100C [Token(Token = "0x6006DDC")] [Address(RVA = "0x2A93160", Offset = "0x2A91B60", VA = "0x182A93160")] 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: 0x06006DDD RID: 28125 RVA: 0x00172E28 File Offset: 0x00171028 [Token(Token = "0x6006DDD")] [Address(RVA = "0x2A943A0", Offset = "0x2A92DA0", VA = "0x182A943A0")] 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: 0x06006DDE RID: 28126 RVA: 0x00172E44 File Offset: 0x00171044 [Token(Token = "0x6006DDE")] [Address(RVA = "0x2A94480", Offset = "0x2A92E80", VA = "0x182A94480")] public static SteamAPICall_t RequestLobbyList() { /* An exception occurred when decompiling this method (06006DDE) 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: 0x06006DDF RID: 28127 RVA: 0x00172E68 File Offset: 0x00171068 [Token(Token = "0x6006DDF")] [Address(RVA = "0x2A935A0", Offset = "0x2A91FA0", VA = "0x182A935A0")] 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 != -1) { } if (num == 0) { if (utf8StringHandle != 0) { } if (num != -1) { } if (num == 0) { break; } } } } // Token: 0x06006DE0 RID: 28128 RVA: 0x00172EAC File Offset: 0x001710AC [Token(Token = "0x6006DE0")] [Address(RVA = "0x2A93410", Offset = "0x2A91E10", VA = "0x182A93410")] 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) { } if (num != -1) { } } while (num != 0); } // Token: 0x06006DE1 RID: 28129 RVA: 0x00172EDC File Offset: 0x001710DC [Token(Token = "0x6006DE1")] [Address(RVA = "0x2A932F0", Offset = "0x2A91CF0", VA = "0x182A932F0")] 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) { } if (num != -1) { } } while (num != 0); } // Token: 0x06006DE2 RID: 28130 RVA: 0x00172F14 File Offset: 0x00171114 [Token(Token = "0x6006DE2")] [Address(RVA = "0x2A932A0", Offset = "0x2A91CA0", VA = "0x182A932A0")] public static void AddRequestLobbyListFilterSlotsAvailable(int nSlotsAvailable) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(CSteamAPIContext.m_pSteamMatchmaking, nSlotsAvailable); } // Token: 0x06006DE3 RID: 28131 RVA: 0x00172F34 File Offset: 0x00171134 [Token(Token = "0x6006DE3")] [Address(RVA = "0x2A93250", Offset = "0x2A91C50", VA = "0x182A93250")] public static void AddRequestLobbyListDistanceFilter(ELobbyDistanceFilter eLobbyDistanceFilter) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking; } // Token: 0x06006DE4 RID: 28132 RVA: 0x00172F50 File Offset: 0x00171150 [Token(Token = "0x6006DE4")] [Address(RVA = "0x2A93550", Offset = "0x2A91F50", VA = "0x182A93550")] public static void AddRequestLobbyListResultCountFilter(int cMaxResults) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_AddRequestLobbyListResultCountFilter(CSteamAPIContext.m_pSteamMatchmaking, cMaxResults); } // Token: 0x06006DE5 RID: 28133 RVA: 0x00172F70 File Offset: 0x00171170 [Token(Token = "0x6006DE5")] [Address(RVA = "0x2A93200", Offset = "0x2A91C00", VA = "0x182A93200")] public static void AddRequestLobbyListCompatibleMembersFilter(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DE6 RID: 28134 RVA: 0x00172F90 File Offset: 0x00171190 [Token(Token = "0x6006DE6")] [Address(RVA = "0x2A93A20", Offset = "0x2A92420", VA = "0x182A93A20")] public static CSteamID GetLobbyByIndex(int iLobby) { /* An exception occurred when decompiling this method (06006DE6) 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: 0x06006DE7 RID: 28135 RVA: 0x00172FB4 File Offset: 0x001711B4 [Token(Token = "0x6006DE7")] [Address(RVA = "0x2A93740", Offset = "0x2A92140", VA = "0x182A93740")] public static SteamAPICall_t CreateLobby(ELobbyType eLobbyType, int cMaxMembers) { /* An exception occurred when decompiling this method (06006DE7) 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: 0x06006DE8 RID: 28136 RVA: 0x00172FD0 File Offset: 0x001711D0 [Token(Token = "0x6006DE8")] [Address(RVA = "0x2A942B0", Offset = "0x2A92CB0", VA = "0x182A942B0")] public static SteamAPICall_t JoinLobby(CSteamID steamIDLobby) { /* An exception occurred when decompiling this method (06006DE8) 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: 0x06006DE9 RID: 28137 RVA: 0x00172FF4 File Offset: 0x001711F4 [Token(Token = "0x6006DE9")] [Address(RVA = "0x2A94350", Offset = "0x2A92D50", VA = "0x182A94350")] public static void LeaveLobby(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_LeaveLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DEA RID: 28138 RVA: 0x00173014 File Offset: 0x00171214 [Token(Token = "0x6006DEA")] [Address(RVA = "0x2A94250", Offset = "0x2A92C50", VA = "0x182A94250")] public static bool InviteUserToLobby(CSteamID steamIDLobby, CSteamID steamIDInvitee) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_InviteUserToLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDInvitee); } // Token: 0x06006DEB RID: 28139 RVA: 0x00173034 File Offset: 0x00171234 [Token(Token = "0x6006DEB")] [Address(RVA = "0x2A94200", Offset = "0x2A92C00", VA = "0x182A94200")] public static int GetNumLobbyMembers(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_GetNumLobbyMembers(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DEC RID: 28140 RVA: 0x00173054 File Offset: 0x00171254 [Token(Token = "0x6006DEC")] [Address(RVA = "0x2A93F10", Offset = "0x2A92910", VA = "0x182A93F10")] public static CSteamID GetLobbyMemberByIndex(CSteamID steamIDLobby, int iMember) { /* An exception occurred when decompiling this method (06006DEC) 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: 0x06006DED RID: 28141 RVA: 0x00173074 File Offset: 0x00171274 [Token(Token = "0x6006DED")] [Address(RVA = "0x2A93D40", Offset = "0x2A92740", VA = "0x182A93D40")] 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) { } if (num != -1) { } } while (num != 0); return text; } // Token: 0x06006DEE RID: 28142 RVA: 0x001730B8 File Offset: 0x001712B8 [Token(Token = "0x6006DEE")] [Address(RVA = "0x2A945F0", Offset = "0x2A92FF0", VA = "0x182A945F0")] public static bool SetLobbyData(CSteamID steamIDLobby, string pchKey, string pchValue) { /* An exception occurred when decompiling this method (06006DEE) 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_3A: 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: 0x06006DEF RID: 28143 RVA: 0x00173104 File Offset: 0x00171304 [Token(Token = "0x6006DEF")] [Address(RVA = "0x2A93CF0", Offset = "0x2A926F0", VA = "0x182A93CF0")] public static int GetLobbyDataCount(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_GetLobbyDataCount(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DF0 RID: 28144 RVA: 0x00173124 File Offset: 0x00171324 [Token(Token = "0x6006DF0")] [Address(RVA = "0x2A93B60", Offset = "0x2A92560", VA = "0x182A93B60")] 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: 0x06006DF1 RID: 28145 RVA: 0x00173178 File Offset: 0x00171378 [Token(Token = "0x6006DF1")] [Address(RVA = "0x2A937E0", Offset = "0x2A921E0", VA = "0x182A937E0")] 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) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DF2 RID: 28146 RVA: 0x001731B0 File Offset: 0x001713B0 [Token(Token = "0x6006DF2")] [Address(RVA = "0x2A93FC0", Offset = "0x2A929C0", VA = "0x182A93FC0")] 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) { } if (num != -1) { } } while (num != 0); return text; } // Token: 0x06006DF3 RID: 28147 RVA: 0x001731F4 File Offset: 0x001713F4 [Token(Token = "0x6006DF3")] [Address(RVA = "0x2A948A0", Offset = "0x2A932A0", VA = "0x182A948A0")] 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 != -1) { } if (num == 0) { if (utf8StringHandle != 0) { } if (num != -1) { } if (num == 0) { break; } } } } // Token: 0x06006DF4 RID: 28148 RVA: 0x00173240 File Offset: 0x00171440 [Token(Token = "0x6006DF4")] [Address(RVA = "0x2A94510", Offset = "0x2A92F10", VA = "0x182A94510")] public static bool SendLobbyChatMsg(CSteamID steamIDLobby, byte[] pvMsgBody, int cubMsgBody) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_SendLobbyChatMsg(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, pvMsgBody, cubMsgBody); } // Token: 0x06006DF5 RID: 28149 RVA: 0x00173264 File Offset: 0x00171464 [Token(Token = "0x6006DF5")] [Address(RVA = "0x2A93AC0", Offset = "0x2A924C0", VA = "0x182A93AC0")] 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: 0x06006DF6 RID: 28150 RVA: 0x00173280 File Offset: 0x00171480 [Token(Token = "0x6006DF6")] [Address(RVA = "0x2A94430", Offset = "0x2A92E30", VA = "0x182A94430")] public static bool RequestLobbyData(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_RequestLobbyData(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DF7 RID: 28151 RVA: 0x001732A0 File Offset: 0x001714A0 [Token(Token = "0x6006DF7")] [Address(RVA = "0x2A947B0", Offset = "0x2A931B0", VA = "0x182A947B0")] 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: 0x06006DF8 RID: 28152 RVA: 0x001732C4 File Offset: 0x001714C4 [Token(Token = "0x6006DF8")] [Address(RVA = "0x2A93E80", Offset = "0x2A92880", VA = "0x182A93E80")] 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: 0x06006DF9 RID: 28153 RVA: 0x001732E8 File Offset: 0x001714E8 [Token(Token = "0x6006DF9")] [Address(RVA = "0x2A94A40", Offset = "0x2A93440", VA = "0x182A94A40")] public static bool SetLobbyMemberLimit(CSteamID steamIDLobby, int cMaxMembers) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_SetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, cMaxMembers); } // Token: 0x06006DFA RID: 28154 RVA: 0x00173308 File Offset: 0x00171508 [Token(Token = "0x6006DFA")] [Address(RVA = "0x2A94110", Offset = "0x2A92B10", VA = "0x182A94110")] public static int GetLobbyMemberLimit(CSteamID steamIDLobby) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_GetLobbyMemberLimit(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby); } // Token: 0x06006DFB RID: 28155 RVA: 0x00173328 File Offset: 0x00171528 [Token(Token = "0x6006DFB")] [Address(RVA = "0x2A94B00", Offset = "0x2A93500", VA = "0x182A94B00")] public static bool SetLobbyType(CSteamID steamIDLobby, ELobbyType eLobbyType) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamMatchmaking = CSteamAPIContext.m_pSteamMatchmaking; bool flag; return flag; } // Token: 0x06006DFC RID: 28156 RVA: 0x00173344 File Offset: 0x00171544 [Token(Token = "0x6006DFC")] [Address(RVA = "0x2A94840", Offset = "0x2A93240", VA = "0x182A94840")] public static bool SetLobbyJoinable(CSteamID steamIDLobby, bool bLobbyJoinable) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_SetLobbyJoinable(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, bLobbyJoinable); } // Token: 0x06006DFD RID: 28157 RVA: 0x00173364 File Offset: 0x00171564 [Token(Token = "0x6006DFD")] [Address(RVA = "0x2A94160", Offset = "0x2A92B60", VA = "0x182A94160")] public static CSteamID GetLobbyOwner(CSteamID steamIDLobby) { /* An exception occurred when decompiling this method (06006DFD) 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: 0x06006DFE RID: 28158 RVA: 0x00173388 File Offset: 0x00171588 [Token(Token = "0x6006DFE")] [Address(RVA = "0x2A94AA0", Offset = "0x2A934A0", VA = "0x182A94AA0")] public static bool SetLobbyOwner(CSteamID steamIDLobby, CSteamID steamIDNewOwner) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_SetLobbyOwner(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDNewOwner); } // Token: 0x06006DFF RID: 28159 RVA: 0x001733A8 File Offset: 0x001715A8 [Token(Token = "0x6006DFF")] [Address(RVA = "0x2A94590", Offset = "0x2A92F90", VA = "0x182A94590")] public static bool SetLinkedLobby(CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamMatchmaking_SetLinkedLobby(CSteamAPIContext.m_pSteamMatchmaking, steamIDLobby, steamIDLobbyDependent); } } }