698 lines
38 KiB
C#
698 lines
38 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011F6 RID: 4598
|
|
[Token(Token = "0x20011F6")]
|
|
[StructLayout(3)]
|
|
public static class SteamGameServer
|
|
{
|
|
// Token: 0x06006C1B RID: 27675 RVA: 0x0016E848 File Offset: 0x0016CA48
|
|
[Token(Token = "0x6006C1B")]
|
|
[Address(RVA = "0x2A2CFE0", Offset = "0x2A2B9E0", VA = "0x182A2CFE0")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C1C RID: 27676 RVA: 0x0016E87C File Offset: 0x0016CA7C
|
|
[Token(Token = "0x6006C1C")]
|
|
[Address(RVA = "0x2A2C920", Offset = "0x2A2B320", VA = "0x182A2C920")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C1D RID: 27677 RVA: 0x0016E8B0 File Offset: 0x0016CAB0
|
|
[Token(Token = "0x6006C1D")]
|
|
[Address(RVA = "0x2A2CE80", Offset = "0x2A2B880", VA = "0x182A2CE80")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C1E RID: 27678 RVA: 0x0016E8E4 File Offset: 0x0016CAE4
|
|
[Token(Token = "0x6006C1E")]
|
|
[Address(RVA = "0x2A2C7C0", Offset = "0x2A2B1C0", VA = "0x182A2C7C0")]
|
|
public static void SetDedicatedServer(bool bDedicated)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetDedicatedServer(CSteamGameServerAPIContext.m_pSteamGameServer, bDedicated);
|
|
}
|
|
|
|
// Token: 0x06006C1F RID: 27679 RVA: 0x0016E904 File Offset: 0x0016CB04
|
|
[Token(Token = "0x6006C1F")]
|
|
[Address(RVA = "0x2A2C520", Offset = "0x2A2AF20", VA = "0x182A2C520")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C20 RID: 27680 RVA: 0x0016E938 File Offset: 0x0016CB38
|
|
[Token(Token = "0x6006C20")]
|
|
[Address(RVA = "0x2A2C4D0", Offset = "0x2A2AED0", VA = "0x182A2C4D0")]
|
|
public static void LogOnAnonymous()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_LogOnAnonymous(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C21 RID: 27681 RVA: 0x0016E958 File Offset: 0x0016CB58
|
|
[Token(Token = "0x6006C21")]
|
|
[Address(RVA = "0x2A2C480", Offset = "0x2A2AE80", VA = "0x182A2C480")]
|
|
public static void LogOff()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_LogOff(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C22 RID: 27682 RVA: 0x0016E978 File Offset: 0x0016CB78
|
|
[Token(Token = "0x6006C22")]
|
|
[Address(RVA = "0x2A2BBB0", Offset = "0x2A2A5B0", VA = "0x182A2BBB0")]
|
|
public static bool BLoggedOn()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BLoggedOn(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C23 RID: 27683 RVA: 0x0016E998 File Offset: 0x0016CB98
|
|
[Token(Token = "0x6006C23")]
|
|
[Address(RVA = "0x2A2BC00", Offset = "0x2A2A600", VA = "0x182A2BC00")]
|
|
public static bool BSecure()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BSecure(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C24 RID: 27684 RVA: 0x0016E9B8 File Offset: 0x0016CBB8
|
|
[Token(Token = "0x6006C24")]
|
|
[Address(RVA = "0x2A2C360", Offset = "0x2A2AD60", VA = "0x182A2C360")]
|
|
public static CSteamID GetSteamID()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C24)
|
|
|
|
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: 0x06006C25 RID: 27685 RVA: 0x0016E9DC File Offset: 0x0016CBDC
|
|
[Token(Token = "0x6006C25")]
|
|
[Address(RVA = "0x2A2D4D0", Offset = "0x2A2BED0", VA = "0x182A2D4D0")]
|
|
public static bool WasRestartRequested()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_WasRestartRequested(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C26 RID: 27686 RVA: 0x0016E9FC File Offset: 0x0016CBFC
|
|
[Token(Token = "0x6006C26")]
|
|
[Address(RVA = "0x2A2CE30", Offset = "0x2A2B830", VA = "0x182A2CE30")]
|
|
public static void SetMaxPlayerCount(int cPlayersMax)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetMaxPlayerCount(CSteamGameServerAPIContext.m_pSteamGameServer, cPlayersMax);
|
|
}
|
|
|
|
// Token: 0x06006C27 RID: 27687 RVA: 0x0016EA1C File Offset: 0x0016CC1C
|
|
[Token(Token = "0x6006C27")]
|
|
[Address(RVA = "0x2A2C770", Offset = "0x2A2B170", VA = "0x182A2C770")]
|
|
public static void SetBotPlayerCount(int cBotplayers)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetBotPlayerCount(CSteamGameServerAPIContext.m_pSteamGameServer, cBotplayers);
|
|
}
|
|
|
|
// Token: 0x06006C28 RID: 27688 RVA: 0x0016EA3C File Offset: 0x0016CC3C
|
|
[Token(Token = "0x6006C28")]
|
|
[Address(RVA = "0x2A2D200", Offset = "0x2A2BC00", VA = "0x182A2D200")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C29 RID: 27689 RVA: 0x0016EA70 File Offset: 0x0016CC70
|
|
[Token(Token = "0x6006C29")]
|
|
[Address(RVA = "0x2A2CD20", Offset = "0x2A2B720", VA = "0x182A2CD20")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C2A RID: 27690 RVA: 0x0016EAA4 File Offset: 0x0016CCA4
|
|
[Token(Token = "0x6006C2A")]
|
|
[Address(RVA = "0x2A2CF90", Offset = "0x2A2B990", VA = "0x182A2CF90")]
|
|
public static void SetPasswordProtected(bool bPasswordProtected)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetPasswordProtected(CSteamGameServerAPIContext.m_pSteamGameServer, bPasswordProtected);
|
|
}
|
|
|
|
// Token: 0x06006C2B RID: 27691 RVA: 0x0016EAC4 File Offset: 0x0016CCC4
|
|
[Token(Token = "0x6006C2B")]
|
|
[Address(RVA = "0x2A2D310", Offset = "0x2A2BD10", VA = "0x182A2D310")]
|
|
public static void SetSpectatorPort(ushort unSpectatorPort)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetSpectatorPort(CSteamGameServerAPIContext.m_pSteamGameServer, unSpectatorPort);
|
|
}
|
|
|
|
// Token: 0x06006C2C RID: 27692 RVA: 0x0016EAE4 File Offset: 0x0016CCE4
|
|
[Token(Token = "0x6006C2C")]
|
|
[Address(RVA = "0x2A2D360", Offset = "0x2A2BD60", VA = "0x182A2D360")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C2D RID: 27693 RVA: 0x0016EB18 File Offset: 0x0016CD18
|
|
[Token(Token = "0x6006C2D")]
|
|
[Address(RVA = "0x2A2BE70", Offset = "0x2A2A870", VA = "0x182A2BE70")]
|
|
public static void ClearAllKeyValues()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_ClearAllKeyValues(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C2E RID: 27694 RVA: 0x0016EB38 File Offset: 0x0016CD38
|
|
[Token(Token = "0x6006C2E")]
|
|
[Address(RVA = "0x2A2CB90", Offset = "0x2A2B590", VA = "0x182A2CB90")]
|
|
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 != -1)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006C2F RID: 27695 RVA: 0x0016EB80 File Offset: 0x0016CD80
|
|
[Token(Token = "0x6006C2F")]
|
|
[Address(RVA = "0x2A2CA30", Offset = "0x2A2B430", VA = "0x182A2CA30")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C30 RID: 27696 RVA: 0x0016EBB4 File Offset: 0x0016CDB4
|
|
[Token(Token = "0x6006C30")]
|
|
[Address(RVA = "0x2A2C810", Offset = "0x2A2B210", VA = "0x182A2C810")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C31 RID: 27697 RVA: 0x0016EBE8 File Offset: 0x0016CDE8
|
|
[Token(Token = "0x6006C31")]
|
|
[Address(RVA = "0x2A2D0F0", Offset = "0x2A2BAF0", VA = "0x182A2D0F0")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006C32 RID: 27698 RVA: 0x0016EC1C File Offset: 0x0016CE1C
|
|
[Token(Token = "0x6006C32")]
|
|
[Address(RVA = "0x2A2C690", Offset = "0x2A2B090", VA = "0x182A2C690")]
|
|
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: 0x06006C33 RID: 27699 RVA: 0x0016EC40 File Offset: 0x0016CE40
|
|
[Token(Token = "0x6006C33")]
|
|
[Address(RVA = "0x2A2BF50", Offset = "0x2A2A950", VA = "0x182A2BF50")]
|
|
public static CSteamID CreateUnauthenticatedUserConnection()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C33)
|
|
|
|
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: 0x06006C34 RID: 27700 RVA: 0x0016EC64 File Offset: 0x0016CE64
|
|
[Token(Token = "0x6006C34")]
|
|
[Address(RVA = "0x2A2C720", Offset = "0x2A2B120", VA = "0x182A2C720")]
|
|
public static void SendUserDisconnect(CSteamID steamIDUser)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SendUserDisconnect(CSteamGameServerAPIContext.m_pSteamGameServer, steamIDUser);
|
|
}
|
|
|
|
// Token: 0x06006C35 RID: 27701 RVA: 0x0016EC84 File Offset: 0x0016CE84
|
|
[Token(Token = "0x6006C35")]
|
|
[Address(RVA = "0x2A2BC50", Offset = "0x2A2A650", VA = "0x182A2BC50")]
|
|
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)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C36 RID: 27702 RVA: 0x0016ECBC File Offset: 0x0016CEBC
|
|
[Token(Token = "0x6006C36")]
|
|
[Address(RVA = "0x2A2C0D0", Offset = "0x2A2AAD0", VA = "0x182A2C0D0")]
|
|
public static HAuthTicket GetAuthSessionTicket(byte[] pTicket, int cbMaxTicket, out uint pcbTicket)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C36)
|
|
|
|
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: 0x06006C37 RID: 27703 RVA: 0x0016ECE0 File Offset: 0x0016CEE0
|
|
[Token(Token = "0x6006C37")]
|
|
[Address(RVA = "0x2A2BDA0", Offset = "0x2A2A7A0", VA = "0x182A2BDA0")]
|
|
public static EBeginAuthSessionResult BeginAuthSession(byte[] pAuthTicket, int cbAuthTicket, CSteamID steamID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_BeginAuthSession(CSteamGameServerAPIContext.m_pSteamGameServer, pAuthTicket, cbAuthTicket, steamID);
|
|
}
|
|
|
|
// Token: 0x06006C38 RID: 27704 RVA: 0x0016ED04 File Offset: 0x0016CF04
|
|
[Token(Token = "0x6006C38")]
|
|
[Address(RVA = "0x2A2C030", Offset = "0x2A2AA30", VA = "0x182A2C030")]
|
|
public static void EndAuthSession(CSteamID steamID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_EndAuthSession(CSteamGameServerAPIContext.m_pSteamGameServer, steamID);
|
|
}
|
|
|
|
// Token: 0x06006C39 RID: 27705 RVA: 0x0016ED24 File Offset: 0x0016CF24
|
|
[Token(Token = "0x6006C39")]
|
|
[Address(RVA = "0x2A2BE20", Offset = "0x2A2A820", VA = "0x182A2BE20")]
|
|
public static void CancelAuthTicket(HAuthTicket hAuthTicket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamGameServer = CSteamGameServerAPIContext.m_pSteamGameServer;
|
|
}
|
|
|
|
// Token: 0x06006C3A RID: 27706 RVA: 0x0016ED40 File Offset: 0x0016CF40
|
|
[Token(Token = "0x6006C3A")]
|
|
[Address(RVA = "0x2A2D470", Offset = "0x2A2BE70", VA = "0x182A2D470")]
|
|
public static EUserHasLicenseForAppResult UserHasLicenseForApp(CSteamID steamID, AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamGameServer = CSteamGameServerAPIContext.m_pSteamGameServer;
|
|
EUserHasLicenseForAppResult euserHasLicenseForAppResult;
|
|
return euserHasLicenseForAppResult;
|
|
}
|
|
|
|
// Token: 0x06006C3B RID: 27707 RVA: 0x0016ED5C File Offset: 0x0016CF5C
|
|
[Token(Token = "0x6006C3B")]
|
|
[Address(RVA = "0x2A2C630", Offset = "0x2A2B030", VA = "0x182A2C630")]
|
|
public static bool RequestUserGroupStatus(CSteamID steamIDUser, CSteamID steamIDGroup)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamGameServer_RequestUserGroupStatus(CSteamGameServerAPIContext.m_pSteamGameServer, steamIDUser, steamIDGroup);
|
|
}
|
|
|
|
// Token: 0x06006C3C RID: 27708 RVA: 0x0016ED7C File Offset: 0x0016CF7C
|
|
[Token(Token = "0x6006C3C")]
|
|
[Address(RVA = "0x2A2C190", Offset = "0x2A2AB90", VA = "0x182A2C190")]
|
|
public static void GetGameplayStats()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_GetGameplayStats(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C3D RID: 27709 RVA: 0x0016ED9C File Offset: 0x0016CF9C
|
|
[Token(Token = "0x6006C3D")]
|
|
[Address(RVA = "0x2A2C2D0", Offset = "0x2A2ACD0", VA = "0x182A2C2D0")]
|
|
public static SteamAPICall_t GetServerReputation()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C3D)
|
|
|
|
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: 0x06006C3E RID: 27710 RVA: 0x0016EDBC File Offset: 0x0016CFBC
|
|
[Token(Token = "0x6006C3E")]
|
|
[Address(RVA = "0x2A2C270", Offset = "0x2A2AC70", VA = "0x182A2C270")]
|
|
public static SteamIPAddress_t GetPublicIP()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C3E)
|
|
|
|
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: 0x06006C3F RID: 27711 RVA: 0x0016EDD8 File Offset: 0x0016CFD8
|
|
[Token(Token = "0x6006C3F")]
|
|
[Address(RVA = "0x2A2C3F0", Offset = "0x2A2ADF0", VA = "0x182A2C3F0")]
|
|
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: 0x06006C40 RID: 27712 RVA: 0x0016EDFC File Offset: 0x0016CFFC
|
|
[Token(Token = "0x6006C40")]
|
|
[Address(RVA = "0x2A2C1E0", Offset = "0x2A2ABE0", VA = "0x182A2C1E0")]
|
|
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: 0x06006C41 RID: 27713 RVA: 0x0016EE20 File Offset: 0x0016D020
|
|
[Token(Token = "0x6006C41")]
|
|
[Address(RVA = "0x2A2BFE0", Offset = "0x2A2A9E0", VA = "0x182A2BFE0")]
|
|
public static void EnableHeartbeats(bool bActive)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_EnableHeartbeats(CSteamGameServerAPIContext.m_pSteamGameServer, bActive);
|
|
}
|
|
|
|
// Token: 0x06006C42 RID: 27714 RVA: 0x0016EE40 File Offset: 0x0016D040
|
|
[Token(Token = "0x6006C42")]
|
|
[Address(RVA = "0x2A2CB40", Offset = "0x2A2B540", VA = "0x182A2CB40")]
|
|
public static void SetHeartbeatInterval(int iHeartbeatInterval)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_SetHeartbeatInterval(CSteamGameServerAPIContext.m_pSteamGameServer, iHeartbeatInterval);
|
|
}
|
|
|
|
// Token: 0x06006C43 RID: 27715 RVA: 0x0016EE60 File Offset: 0x0016D060
|
|
[Token(Token = "0x6006C43")]
|
|
[Address(RVA = "0x2A2C080", Offset = "0x2A2AA80", VA = "0x182A2C080")]
|
|
public static void ForceHeartbeat()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamGameServer_ForceHeartbeat(CSteamGameServerAPIContext.m_pSteamGameServer);
|
|
}
|
|
|
|
// Token: 0x06006C44 RID: 27716 RVA: 0x0016EE80 File Offset: 0x0016D080
|
|
[Token(Token = "0x6006C44")]
|
|
[Address(RVA = "0x2A2BB20", Offset = "0x2A2A520", VA = "0x182A2BB20")]
|
|
public static SteamAPICall_t AssociateWithClan(CSteamID steamIDClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C44)
|
|
|
|
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: 0x06006C45 RID: 27717 RVA: 0x0016EEA0 File Offset: 0x0016D0A0
|
|
[Token(Token = "0x6006C45")]
|
|
[Address(RVA = "0x2A2BEC0", Offset = "0x2A2A8C0", VA = "0x182A2BEC0")]
|
|
public static SteamAPICall_t ComputeNewPlayerCompatibility(CSteamID steamIDNewPlayer)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C45)
|
|
|
|
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
|
|
*/;
|
|
}
|
|
}
|
|
}
|