660 lines
37 KiB
C#
660 lines
37 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020018F5 RID: 6389
|
|
[Token(Token = "0x20018F5")]
|
|
public static class SteamGameServer
|
|
{
|
|
// Token: 0x06008F62 RID: 36706 RVA: 0x001D9180 File Offset: 0x001D7380
|
|
[Token(Token = "0x6008F62")]
|
|
[Address(RVA = "0xF6CC70", Offset = "0xF6BC70", VA = "0x180F6CC70")]
|
|
public static void SetProduct(string pszProduct)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszProduct);
|
|
NativeMethods.ISteamGameServer_SetProduct(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F63 RID: 36707 RVA: 0x001D91B0 File Offset: 0x001D73B0
|
|
[Token(Token = "0x6008F63")]
|
|
[Address(RVA = "0xF6C600", Offset = "0xF6B600", VA = "0x180F6C600")]
|
|
public static void SetGameDescription(string pszGameDescription)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszGameDescription);
|
|
NativeMethods.ISteamGameServer_SetGameDescription(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F64 RID: 36708 RVA: 0x001D91E0 File Offset: 0x001D73E0
|
|
[Token(Token = "0x6008F64")]
|
|
[Address(RVA = "0xF6CB20", Offset = "0xF6BB20", VA = "0x180F6CB20")]
|
|
public static void SetModDir(string pszModDir)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszModDir);
|
|
NativeMethods.ISteamGameServer_SetModDir(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F65 RID: 36709 RVA: 0x001D9210 File Offset: 0x001D7410
|
|
[Token(Token = "0x6008F65")]
|
|
[Address(RVA = "0xF6C4B0", Offset = "0xF6B4B0", VA = "0x180F6C4B0")]
|
|
public static void SetDedicatedServer(bool bDedicated)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetDedicatedServer(CSteamGameServerAPIContext.m_pSteamGameServer, bDedicated);
|
|
}
|
|
|
|
// Token: 0x06008F66 RID: 36710 RVA: 0x001D9230 File Offset: 0x001D7430
|
|
[Token(Token = "0x6008F66")]
|
|
[Address(RVA = "0xF6C220", Offset = "0xF6B220", VA = "0x180F6C220")]
|
|
public static void LogOn(string pszToken)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszToken);
|
|
NativeMethods.ISteamGameServer_LogOn(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F67 RID: 36711 RVA: 0x001D9260 File Offset: 0x001D7460
|
|
[Token(Token = "0x6008F67")]
|
|
[Address(RVA = "0xF6C1D0", Offset = "0xF6B1D0", VA = "0x180F6C1D0")]
|
|
public static void LogOnAnonymous()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_LogOnAnonymous(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F68 RID: 36712 RVA: 0x001D9280 File Offset: 0x001D7480
|
|
[Token(Token = "0x6008F68")]
|
|
[Address(RVA = "0xF6C180", Offset = "0xF6B180", VA = "0x180F6C180")]
|
|
public static void LogOff()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_LogOff(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F69 RID: 36713 RVA: 0x001D92A0 File Offset: 0x001D74A0
|
|
[Token(Token = "0x6008F69")]
|
|
[Address(RVA = "0xF6B8E0", Offset = "0xF6A8E0", VA = "0x180F6B8E0")]
|
|
public static bool BLoggedOn()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BLoggedOn(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F6A RID: 36714 RVA: 0x001D92C0 File Offset: 0x001D74C0
|
|
[Token(Token = "0x6008F6A")]
|
|
[Address(RVA = "0xF6B930", Offset = "0xF6A930", VA = "0x180F6B930")]
|
|
public static bool BSecure()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BSecure(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F6B RID: 36715 RVA: 0x001D92E0 File Offset: 0x001D74E0
|
|
[Token(Token = "0x6008F6B")]
|
|
[Address(RVA = "0xF6C060", Offset = "0xF6B060", VA = "0x180F6C060")]
|
|
public static CSteamID GetSteamID()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F6B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamGameServer::GetSteamID()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:TimeSpan(var_1_16, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamGameServer_GetSteamID, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer))))
|
|
}
|
|
|
|
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: 0x06008F6C RID: 36716 RVA: 0x001D9304 File Offset: 0x001D7504
|
|
[Token(Token = "0x6008F6C")]
|
|
[Address(RVA = "0xF6D120", Offset = "0xF6C120", VA = "0x180F6D120")]
|
|
public static bool WasRestartRequested()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_WasRestartRequested(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F6D RID: 36717 RVA: 0x001D9324 File Offset: 0x001D7524
|
|
[Token(Token = "0x6008F6D")]
|
|
[Address(RVA = "0xF6CAD0", Offset = "0xF6BAD0", VA = "0x180F6CAD0")]
|
|
public static void SetMaxPlayerCount(int cPlayersMax)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetMaxPlayerCount(CSteamGameServerAPIContext.m_pSteamGameServer, cPlayersMax);
|
|
}
|
|
|
|
// Token: 0x06008F6E RID: 36718 RVA: 0x001D9344 File Offset: 0x001D7544
|
|
[Token(Token = "0x6008F6E")]
|
|
[Address(RVA = "0xF6C460", Offset = "0xF6B460", VA = "0x180F6C460")]
|
|
public static void SetBotPlayerCount(int cBotplayers)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetBotPlayerCount(CSteamGameServerAPIContext.m_pSteamGameServer, cBotplayers);
|
|
}
|
|
|
|
// Token: 0x06008F6F RID: 36719 RVA: 0x001D9364 File Offset: 0x001D7564
|
|
[Token(Token = "0x6008F6F")]
|
|
[Address(RVA = "0xF6CE70", Offset = "0xF6BE70", VA = "0x180F6CE70")]
|
|
public static void SetServerName(string pszServerName)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszServerName);
|
|
NativeMethods.ISteamGameServer_SetServerName(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F70 RID: 36720 RVA: 0x001D9394 File Offset: 0x001D7594
|
|
[Token(Token = "0x6008F70")]
|
|
[Address(RVA = "0xF6C9D0", Offset = "0xF6B9D0", VA = "0x180F6C9D0")]
|
|
public static void SetMapName(string pszMapName)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszMapName);
|
|
NativeMethods.ISteamGameServer_SetMapName(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F71 RID: 36721 RVA: 0x001D93C4 File Offset: 0x001D75C4
|
|
[Token(Token = "0x6008F71")]
|
|
[Address(RVA = "0xF6CC20", Offset = "0xF6BC20", VA = "0x180F6CC20")]
|
|
public static void SetPasswordProtected(bool bPasswordProtected)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetPasswordProtected(CSteamGameServerAPIContext.m_pSteamGameServer, bPasswordProtected);
|
|
}
|
|
|
|
// Token: 0x06008F72 RID: 36722 RVA: 0x001D93E4 File Offset: 0x001D75E4
|
|
[Token(Token = "0x6008F72")]
|
|
[Address(RVA = "0xF6CF70", Offset = "0xF6BF70", VA = "0x180F6CF70")]
|
|
public static void SetSpectatorPort(ushort unSpectatorPort)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetSpectatorPort(CSteamGameServerAPIContext.m_pSteamGameServer, unSpectatorPort);
|
|
}
|
|
|
|
// Token: 0x06008F73 RID: 36723 RVA: 0x001D9404 File Offset: 0x001D7604
|
|
[Token(Token = "0x6008F73")]
|
|
[Address(RVA = "0xF6CFC0", Offset = "0xF6BFC0", VA = "0x180F6CFC0")]
|
|
public static void SetSpectatorServerName(string pszSpectatorServerName)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszSpectatorServerName);
|
|
NativeMethods.ISteamGameServer_SetSpectatorServerName(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F74 RID: 36724 RVA: 0x001D9434 File Offset: 0x001D7634
|
|
[Token(Token = "0x6008F74")]
|
|
[Address(RVA = "0xF6BB70", Offset = "0xF6AB70", VA = "0x180F6BB70")]
|
|
public static void ClearAllKeyValues()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_ClearAllKeyValues(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F75 RID: 36725 RVA: 0x001D9454 File Offset: 0x001D7654
|
|
[Token(Token = "0x6008F75")]
|
|
[Address(RVA = "0xF6C850", Offset = "0xF6B850", VA = "0x180F6C850")]
|
|
public static void SetKeyValue(string pKey, string pValue)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pKey);
|
|
InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pValue);
|
|
NativeMethods.ISteamGameServer_SetKeyValue(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle, utf8StringHandle2);
|
|
if (utf8StringHandle2 != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008F76 RID: 36726 RVA: 0x001D9498 File Offset: 0x001D7698
|
|
[Token(Token = "0x6008F76")]
|
|
[Address(RVA = "0xF6C700", Offset = "0xF6B700", VA = "0x180F6C700")]
|
|
public static void SetGameTags(string pchGameTags)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchGameTags);
|
|
NativeMethods.ISteamGameServer_SetGameTags(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F77 RID: 36727 RVA: 0x001D94C8 File Offset: 0x001D76C8
|
|
[Token(Token = "0x6008F77")]
|
|
[Address(RVA = "0xF6C500", Offset = "0xF6B500", VA = "0x180F6C500")]
|
|
public static void SetGameData(string pchGameData)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchGameData);
|
|
NativeMethods.ISteamGameServer_SetGameData(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F78 RID: 36728 RVA: 0x001D94F8 File Offset: 0x001D76F8
|
|
[Token(Token = "0x6008F78")]
|
|
[Address(RVA = "0xF6CD70", Offset = "0xF6BD70", VA = "0x180F6CD70")]
|
|
public static void SetRegion(string pszRegion)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszRegion);
|
|
NativeMethods.ISteamGameServer_SetRegion(CSteamGameServerAPIContext.m_pSteamGameServer, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06008F79 RID: 36729 RVA: 0x001D9528 File Offset: 0x001D7728
|
|
[Token(Token = "0x6008F79")]
|
|
[Address(RVA = "0xF6C380", Offset = "0xF6B380", VA = "0x180F6C380")]
|
|
public static bool SendUserConnectAndAuthenticate(uint unIPClient, byte[] pvAuthBlob, uint cubAuthBlobSize, out CSteamID pSteamIDUser)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_SendUserConnectAndAuthenticate(CSteamGameServerAPIContext.m_pSteamGameServer, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser);
|
|
}
|
|
|
|
// Token: 0x06008F7A RID: 36730 RVA: 0x001D954C File Offset: 0x001D774C
|
|
[Token(Token = "0x6008F7A")]
|
|
[Address(RVA = "0xF6BC50", Offset = "0xF6AC50", VA = "0x180F6BC50")]
|
|
public static CSteamID CreateUnauthenticatedUserConnection()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F7A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamGameServer::CreateUnauthenticatedUserConnection()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:TimeSpan(var_1_16, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamGameServer_CreateUnauthenticatedUserConnection, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer))))
|
|
}
|
|
|
|
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: 0x06008F7B RID: 36731 RVA: 0x001D9570 File Offset: 0x001D7770
|
|
[Token(Token = "0x6008F7B")]
|
|
[Address(RVA = "0xF6C410", Offset = "0xF6B410", VA = "0x180F6C410")]
|
|
public static void SendUserDisconnect(CSteamID steamIDUser)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SendUserDisconnect(CSteamGameServerAPIContext.m_pSteamGameServer, steamIDUser);
|
|
}
|
|
|
|
// Token: 0x06008F7C RID: 36732 RVA: 0x001D9590 File Offset: 0x001D7790
|
|
[Token(Token = "0x6008F7C")]
|
|
[Address(RVA = "0xF6B980", Offset = "0xF6A980", VA = "0x180F6B980")]
|
|
public static bool BUpdateUserData(CSteamID steamIDUser, string pchPlayerName, uint uScore)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPlayerName);
|
|
flag = NativeMethods.ISteamGameServer_BUpdateUserData(CSteamGameServerAPIContext.m_pSteamGameServer, steamIDUser, utf8StringHandle, uScore);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008F7D RID: 36733 RVA: 0x001D95C4 File Offset: 0x001D77C4
|
|
[Token(Token = "0x6008F7D")]
|
|
[Address(RVA = "0xF6BDD0", Offset = "0xF6ADD0", VA = "0x180F6BDD0")]
|
|
public static HAuthTicket GetAuthSessionTicket(byte[] pTicket, int cbMaxTicket, out uint pcbTicket)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F7D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HAuthTicket Steamworks.SteamGameServer::GetAuthSessionTicket(System.Byte[],System.Int32,System.UInt32&)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint32(var_2_14, call:uint32(NativeMethods::ISteamGameServer_GetAuthSessionTicket, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer), ldloc:uint8[](pTicket), ldloc:int32(cbMaxTicket), ldloc:uint32&(pcbTicket)))
|
|
}
|
|
|
|
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: 0x06008F7E RID: 36734 RVA: 0x001D95E8 File Offset: 0x001D77E8
|
|
[Token(Token = "0x6008F7E")]
|
|
[Address(RVA = "0xF6BAA0", Offset = "0xF6AAA0", VA = "0x180F6BAA0")]
|
|
public static EBeginAuthSessionResult BeginAuthSession(byte[] pAuthTicket, int cbAuthTicket, CSteamID steamID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BeginAuthSession(CSteamGameServerAPIContext.m_pSteamGameServer, pAuthTicket, cbAuthTicket, steamID);
|
|
}
|
|
|
|
// Token: 0x06008F7F RID: 36735 RVA: 0x001D960C File Offset: 0x001D780C
|
|
[Token(Token = "0x6008F7F")]
|
|
[Address(RVA = "0xF6BD30", Offset = "0xF6AD30", VA = "0x180F6BD30")]
|
|
public static void EndAuthSession(CSteamID steamID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_EndAuthSession(CSteamGameServerAPIContext.m_pSteamGameServer, steamID);
|
|
}
|
|
|
|
// Token: 0x06008F80 RID: 36736 RVA: 0x001D962C File Offset: 0x001D782C
|
|
[Token(Token = "0x6008F80")]
|
|
[Address(RVA = "0xF6BB20", Offset = "0xF6AB20", VA = "0x180F6BB20")]
|
|
public static void CancelAuthTicket(HAuthTicket hAuthTicket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamGameServer = CSteamGameServerAPIContext.m_pSteamGameServer;
|
|
}
|
|
|
|
// Token: 0x06008F81 RID: 36737 RVA: 0x001D9648 File Offset: 0x001D7848
|
|
[Token(Token = "0x6008F81")]
|
|
[Address(RVA = "0xF6D0C0", Offset = "0xF6C0C0", VA = "0x180F6D0C0")]
|
|
public static EUserHasLicenseForAppResult UserHasLicenseForApp(CSteamID steamID, AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamGameServer = CSteamGameServerAPIContext.m_pSteamGameServer;
|
|
EUserHasLicenseForAppResult euserHasLicenseForAppResult;
|
|
return euserHasLicenseForAppResult;
|
|
}
|
|
|
|
// Token: 0x06008F82 RID: 36738 RVA: 0x001D9664 File Offset: 0x001D7864
|
|
[Token(Token = "0x6008F82")]
|
|
[Address(RVA = "0xF6C320", Offset = "0xF6B320", VA = "0x180F6C320")]
|
|
public static bool RequestUserGroupStatus(CSteamID steamIDUser, CSteamID steamIDGroup)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_RequestUserGroupStatus(CSteamGameServerAPIContext.m_pSteamGameServer, steamIDUser, steamIDGroup);
|
|
}
|
|
|
|
// Token: 0x06008F83 RID: 36739 RVA: 0x001D9684 File Offset: 0x001D7884
|
|
[Token(Token = "0x6008F83")]
|
|
[Address(RVA = "0xF6BE90", Offset = "0xF6AE90", VA = "0x180F6BE90")]
|
|
public static void GetGameplayStats()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_GetGameplayStats(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F84 RID: 36740 RVA: 0x001D96A4 File Offset: 0x001D78A4
|
|
[Token(Token = "0x6008F84")]
|
|
[Address(RVA = "0xF6BFD0", Offset = "0xF6AFD0", VA = "0x180F6BFD0")]
|
|
public static SteamAPICall_t GetServerReputation()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F84)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServer::GetServerReputation()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_11, call:uint64(NativeMethods::ISteamGameServer_GetServerReputation, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer)))
|
|
}
|
|
|
|
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: 0x06008F85 RID: 36741 RVA: 0x001D96C4 File Offset: 0x001D78C4
|
|
[Token(Token = "0x6008F85")]
|
|
[Address(RVA = "0xF6BF70", Offset = "0xF6AF70", VA = "0x180F6BF70")]
|
|
public static SteamIPAddress_t GetPublicIP()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F85)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamIPAddress_t Steamworks.SteamGameServer::GetPublicIP()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:ESteamIPType(var_2_0D, ldfld:ESteamIPType(SteamIPAddress_t::m_eType, ldloc:SteamIPAddress_t[exp:valuetype Steamworks.SteamIPAddress_t&](var_1)))
|
|
}
|
|
|
|
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: 0x06008F86 RID: 36742 RVA: 0x001D96E0 File Offset: 0x001D78E0
|
|
[Token(Token = "0x6008F86")]
|
|
[Address(RVA = "0xF6C0F0", Offset = "0xF6B0F0", VA = "0x180F6C0F0")]
|
|
public static bool HandleIncomingPacket(byte[] pData, int cbData, uint srcIP, ushort srcPort)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_HandleIncomingPacket(CSteamGameServerAPIContext.m_pSteamGameServer, pData, cbData, srcIP, srcPort);
|
|
}
|
|
|
|
// Token: 0x06008F87 RID: 36743 RVA: 0x001D9704 File Offset: 0x001D7904
|
|
[Token(Token = "0x6008F87")]
|
|
[Address(RVA = "0xF6BEE0", Offset = "0xF6AEE0", VA = "0x180F6BEE0")]
|
|
public static int GetNextOutgoingPacket(byte[] pOut, int cbMaxOut, out uint pNetAdr, out ushort pPort)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_GetNextOutgoingPacket(CSteamGameServerAPIContext.m_pSteamGameServer, pOut, cbMaxOut, out pNetAdr, out pPort);
|
|
}
|
|
|
|
// Token: 0x06008F88 RID: 36744 RVA: 0x001D9728 File Offset: 0x001D7928
|
|
[Token(Token = "0x6008F88")]
|
|
[Address(RVA = "0xF6BCE0", Offset = "0xF6ACE0", VA = "0x180F6BCE0")]
|
|
public static void EnableHeartbeats(bool bActive)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_EnableHeartbeats(CSteamGameServerAPIContext.m_pSteamGameServer, bActive);
|
|
}
|
|
|
|
// Token: 0x06008F89 RID: 36745 RVA: 0x001D9748 File Offset: 0x001D7948
|
|
[Token(Token = "0x6008F89")]
|
|
[Address(RVA = "0xF6C800", Offset = "0xF6B800", VA = "0x180F6C800")]
|
|
public static void SetHeartbeatInterval(int iHeartbeatInterval)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetHeartbeatInterval(CSteamGameServerAPIContext.m_pSteamGameServer, iHeartbeatInterval);
|
|
}
|
|
|
|
// Token: 0x06008F8A RID: 36746 RVA: 0x001D9768 File Offset: 0x001D7968
|
|
[Token(Token = "0x6008F8A")]
|
|
[Address(RVA = "0xF6BD80", Offset = "0xF6AD80", VA = "0x180F6BD80")]
|
|
public static void ForceHeartbeat()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_ForceHeartbeat(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06008F8B RID: 36747 RVA: 0x001D9788 File Offset: 0x001D7988
|
|
[Token(Token = "0x6008F8B")]
|
|
[Address(RVA = "0xF6B850", Offset = "0xF6A850", VA = "0x180F6B850")]
|
|
public static SteamAPICall_t AssociateWithClan(CSteamID steamIDClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F8B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServer::AssociateWithClan(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::ISteamGameServer_AssociateWithClan, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer), ldloc:CSteamID(steamIDClan)))
|
|
}
|
|
|
|
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: 0x06008F8C RID: 36748 RVA: 0x001D97A8 File Offset: 0x001D79A8
|
|
[Token(Token = "0x6008F8C")]
|
|
[Address(RVA = "0xF6BBC0", Offset = "0xF6ABC0", VA = "0x180F6BBC0")]
|
|
public static SteamAPICall_t ComputeNewPlayerCompatibility(CSteamID steamIDNewPlayer)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008F8C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServer::ComputeNewPlayerCompatibility(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::ISteamGameServer_ComputeNewPlayerCompatibility, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamGameServer), ldloc:CSteamID(steamIDNewPlayer)))
|
|
}
|
|
|
|
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
|
|
*/;
|
|
}
|
|
}
|
|
}
|