using System; using Cpp2IlInjected; namespace Steamworks { // Token: 0x0200181B RID: 6171 [Token(Token = "0x200181B")] public static class SteamGameServerStats { // Token: 0x06008C53 RID: 35923 RVA: 0x001D1D48 File Offset: 0x001CFF48 [Token(Token = "0x6008C53")] [Address(RVA = "0x2DC6BD0", Offset = "0x2DC59D0", VA = "0x182DC6BD0")] public static SteamAPICall_t RequestUserStats(CSteamID steamIDUser) { /* An exception occurred when decompiling this method (06008C53) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerStats::RequestUserStats(Steamworks.CSteamID) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableGameServer) stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamGameServerStats_RequestUserStats, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServerStats), ldloc:CSteamID(steamIDUser))) } 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: 0x06008C54 RID: 35924 RVA: 0x001D1D68 File Offset: 0x001CFF68 [Token(Token = "0x6008C54")] [Address(RVA = "0x2DC6990", Offset = "0x2DC5790", VA = "0x182DC6990")] public static bool GetUserStat(CSteamID steamIDUser, string pchName, out int pData) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_GetUserStatInt32(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle, out pData); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C55 RID: 35925 RVA: 0x001D1D9C File Offset: 0x001CFF9C [Token(Token = "0x6008C55")] [Address(RVA = "0x2DC6AB0", Offset = "0x2DC58B0", VA = "0x182DC6AB0")] public static bool GetUserStat(CSteamID steamIDUser, string pchName, out float pData) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_GetUserStatFloat(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle, out pData); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C56 RID: 35926 RVA: 0x001D1DD0 File Offset: 0x001CFFD0 [Token(Token = "0x6008C56")] [Address(RVA = "0x2DC6870", Offset = "0x2DC5670", VA = "0x182DC6870")] public static bool GetUserAchievement(CSteamID steamIDUser, string pchName, out bool pbAchieved) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_GetUserAchievement(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle, out pbAchieved); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C57 RID: 35927 RVA: 0x001D1E04 File Offset: 0x001D0004 [Token(Token = "0x6008C57")] [Address(RVA = "0x2DC6EA0", Offset = "0x2DC5CA0", VA = "0x182DC6EA0")] public static bool SetUserStat(CSteamID steamIDUser, string pchName, int nData) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_SetUserStatInt32(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle, nData); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C58 RID: 35928 RVA: 0x001D1E38 File Offset: 0x001D0038 [Token(Token = "0x6008C58")] [Address(RVA = "0x2DC6D70", Offset = "0x2DC5B70", VA = "0x182DC6D70")] public static bool SetUserStat(CSteamID steamIDUser, string pchName, float fData) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_SetUserStatFloat(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle, fData); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C59 RID: 35929 RVA: 0x001D1E6C File Offset: 0x001D006C [Token(Token = "0x6008C59")] [Address(RVA = "0x2DC7050", Offset = "0x2DC5E50", VA = "0x182DC7050")] public static bool UpdateUserAvgRateStat(CSteamID steamIDUser, string pchName, float flCountThisSession, double dSessionLength) { int num; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); IntPtr pSteamGameServerStats = CSteamGameServerAPIContext.m_pSteamGameServerStats; if (utf8StringHandle != 0) { } } while (num != 0); bool flag; return flag; } // Token: 0x06008C5A RID: 35930 RVA: 0x001D1E9C File Offset: 0x001D009C [Token(Token = "0x6008C5A")] [Address(RVA = "0x2DC6C60", Offset = "0x2DC5A60", VA = "0x182DC6C60")] public static bool SetUserAchievement(CSteamID steamIDUser, string pchName) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_SetUserAchievement(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C5B RID: 35931 RVA: 0x001D1ED0 File Offset: 0x001D00D0 [Token(Token = "0x6008C5B")] [Address(RVA = "0x2DC6760", Offset = "0x2DC5560", VA = "0x182DC6760")] public static bool ClearUserAchievement(CSteamID steamIDUser, string pchName) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableGameServer(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchName); flag = NativeMethods.ISteamGameServerStats_ClearUserAchievement(CSteamGameServerAPIContext.m_pSteamGameServerStats, steamIDUser, utf8StringHandle); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008C5C RID: 35932 RVA: 0x001D1F04 File Offset: 0x001D0104 [Token(Token = "0x6008C5C")] [Address(RVA = "0x2DC6FC0", Offset = "0x2DC5DC0", VA = "0x182DC6FC0")] public static SteamAPICall_t StoreUserStats(CSteamID steamIDUser) { /* An exception occurred when decompiling this method (06008C5C) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerStats::StoreUserStats(Steamworks.CSteamID) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableGameServer) stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamGameServerStats_StoreUserStats, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServerStats), ldloc:CSteamID(steamIDUser))) } 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 */; } } }