371 lines
17 KiB
C#
371 lines
17 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011F7 RID: 4599
|
|
[Token(Token = "0x20011F7")]
|
|
[StructLayout(3)]
|
|
public static class SteamGameServerApps
|
|
{
|
|
// Token: 0x06006C46 RID: 27718 RVA: 0x0016EEC0 File Offset: 0x0016D0C0
|
|
[Token(Token = "0x6006C46")]
|
|
[Address(RVA = "0x2A20950", Offset = "0x2A1F350", VA = "0x182A20950")]
|
|
public static bool BIsSubscribed()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsSubscribed(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C47 RID: 27719 RVA: 0x0016EEE0 File Offset: 0x0016D0E0
|
|
[Token(Token = "0x6006C47")]
|
|
[Address(RVA = "0x2A20810", Offset = "0x2A1F210", VA = "0x182A20810")]
|
|
public static bool BIsLowViolence()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsLowViolence(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C48 RID: 27720 RVA: 0x0016EF00 File Offset: 0x0016D100
|
|
[Token(Token = "0x6006C48")]
|
|
[Address(RVA = "0x2A20770", Offset = "0x2A1F170", VA = "0x182A20770")]
|
|
public static bool BIsCybercafe()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsCybercafe(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C49 RID: 27721 RVA: 0x0016EF20 File Offset: 0x0016D120
|
|
[Token(Token = "0x6006C49")]
|
|
[Address(RVA = "0x2A209A0", Offset = "0x2A1F3A0", VA = "0x182A209A0")]
|
|
public static bool BIsVACBanned()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsVACBanned(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C4A RID: 27722 RVA: 0x0016EF40 File Offset: 0x0016D140
|
|
[Token(Token = "0x6006C4A")]
|
|
[Address(RVA = "0x2A20D20", Offset = "0x2A1F720", VA = "0x182A20D20")]
|
|
public static string GetCurrentGameLanguage()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetCurrentGameLanguage(intPtr);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006C4B RID: 27723 RVA: 0x0016EF68 File Offset: 0x0016D168
|
|
[Token(Token = "0x6006C4B")]
|
|
[Address(RVA = "0x2A20BE0", Offset = "0x2A1F5E0", VA = "0x182A20BE0")]
|
|
public static string GetAvailableGameLanguages()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetAvailableGameLanguages(intPtr);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006C4C RID: 27724 RVA: 0x0016EF90 File Offset: 0x0016D190
|
|
[Token(Token = "0x6006C4C")]
|
|
[Address(RVA = "0x2A20860", Offset = "0x2A1F260", VA = "0x182A20860")]
|
|
public static bool BIsSubscribedApp(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C4D RID: 27725 RVA: 0x0016EFAC File Offset: 0x0016D1AC
|
|
[Token(Token = "0x6006C4D")]
|
|
[Address(RVA = "0x2A207C0", Offset = "0x2A1F1C0", VA = "0x182A207C0")]
|
|
public static bool BIsDlcInstalled(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C4E RID: 27726 RVA: 0x0016EFC8 File Offset: 0x0016D1C8
|
|
[Token(Token = "0x6006C4E")]
|
|
[Address(RVA = "0x2A20E40", Offset = "0x2A1F840", VA = "0x182A20E40")]
|
|
public static uint GetEarliestPurchaseUnixTime(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
uint num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006C4F RID: 27727 RVA: 0x0016EFE4 File Offset: 0x0016D1E4
|
|
[Token(Token = "0x6006C4F")]
|
|
[Address(RVA = "0x2A20900", Offset = "0x2A1F300", VA = "0x182A20900")]
|
|
public static bool BIsSubscribedFromFreeWeekend()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsSubscribedFromFreeWeekend(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C50 RID: 27728 RVA: 0x0016F004 File Offset: 0x0016D204
|
|
[Token(Token = "0x6006C50")]
|
|
[Address(RVA = "0x2A20D70", Offset = "0x2A1F770", VA = "0x182A20D70")]
|
|
public static int GetDLCCount()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_GetDLCCount(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C51 RID: 27729 RVA: 0x0016F024 File Offset: 0x0016D224
|
|
[Token(Token = "0x6006C51")]
|
|
[Address(RVA = "0x2A205F0", Offset = "0x2A1EFF0", VA = "0x182A205F0")]
|
|
public static bool BGetDLCDataByIndex(int iDLC, out AppId_t pAppID, out bool pbAvailable, out string pchName, int cchNameBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
IntPtr intPtr2;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr2;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr2);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C52 RID: 27730 RVA: 0x0016F058 File Offset: 0x0016D258
|
|
[Token(Token = "0x6006C52")]
|
|
[Address(RVA = "0x2A21290", Offset = "0x2A1FC90", VA = "0x182A21290")]
|
|
public static void InstallDLC(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006C53 RID: 27731 RVA: 0x0016F074 File Offset: 0x0016D274
|
|
[Token(Token = "0x6006C53")]
|
|
[Address(RVA = "0x2A213D0", Offset = "0x2A1FDD0", VA = "0x182A213D0")]
|
|
public static void UninstallDLC(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006C54 RID: 27732 RVA: 0x0016F090 File Offset: 0x0016D290
|
|
[Token(Token = "0x6006C54")]
|
|
[Address(RVA = "0x2A21380", Offset = "0x2A1FD80", VA = "0x182A21380")]
|
|
public static void RequestAppProofOfPurchaseKey(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006C55 RID: 27733 RVA: 0x0016F0AC File Offset: 0x0016D2AC
|
|
[Token(Token = "0x6006C55")]
|
|
[Address(RVA = "0x2A20C30", Offset = "0x2A1F630", VA = "0x182A20C30")]
|
|
public static bool GetCurrentBetaName(out string pchName, int cchNameBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cchNameBufferSize);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag = NativeMethods.ISteamApps_GetCurrentBetaName(intPtr2, intPtr, cchNameBufferSize);
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C56 RID: 27734 RVA: 0x0016F0F0 File Offset: 0x0016D2F0
|
|
[Token(Token = "0x6006C56")]
|
|
[Address(RVA = "0x2A212E0", Offset = "0x2A1FCE0", VA = "0x182A212E0")]
|
|
public static bool MarkContentCorrupt(bool bMissingFilesOnly)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_MarkContentCorrupt(CSteamGameServerAPIContext.m_pSteamApps, bMissingFilesOnly);
|
|
}
|
|
|
|
// Token: 0x06006C57 RID: 27735 RVA: 0x0016F110 File Offset: 0x0016D310
|
|
[Token(Token = "0x6006C57")]
|
|
[Address(RVA = "0x2A20FE0", Offset = "0x2A1F9E0", VA = "0x182A20FE0")]
|
|
public static uint GetInstalledDepots(AppId_t appID, DepotId_t[] pvecDepots, uint cMaxDepots)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
uint num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006C58 RID: 27736 RVA: 0x0016F12C File Offset: 0x0016D32C
|
|
[Token(Token = "0x6006C58")]
|
|
[Address(RVA = "0x2A20A40", Offset = "0x2A1F440", VA = "0x182A20A40")]
|
|
public static uint GetAppInstallDir(AppId_t appID, out string pchFolder, uint cchFolderBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal((int)cchFolderBufferSize);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamApps;
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006C59 RID: 27737 RVA: 0x0016F168 File Offset: 0x0016D368
|
|
[Token(Token = "0x6006C59")]
|
|
[Address(RVA = "0x2A20720", Offset = "0x2A1F120", VA = "0x182A20720")]
|
|
public static bool BIsAppInstalled(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C5A RID: 27738 RVA: 0x0016F184 File Offset: 0x0016D384
|
|
[Token(Token = "0x6006C5A")]
|
|
[Address(RVA = "0x2A20B50", Offset = "0x2A1F550", VA = "0x182A20B50")]
|
|
public static CSteamID GetAppOwner()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C5A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamGameServerApps::GetAppOwner()
|
|
|
|
---> 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::ISteamApps_GetAppOwner, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamApps))))
|
|
}
|
|
|
|
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: 0x06006C5B RID: 27739 RVA: 0x0016F1A8 File Offset: 0x0016D3A8
|
|
[Token(Token = "0x6006C5B")]
|
|
[Address(RVA = "0x2A21150", Offset = "0x2A1FB50", VA = "0x182A21150")]
|
|
public static string GetLaunchQueryParam(string pchKey)
|
|
{
|
|
int num;
|
|
string text;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetLaunchQueryParam(intPtr, utf8StringHandle);
|
|
text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return text;
|
|
}
|
|
|
|
// Token: 0x06006C5C RID: 27740 RVA: 0x0016F1EC File Offset: 0x0016D3EC
|
|
[Token(Token = "0x6006C5C")]
|
|
[Address(RVA = "0x2A20DC0", Offset = "0x2A1F7C0", VA = "0x182A20DC0")]
|
|
public static bool GetDlcDownloadProgress(AppId_t nAppID, out ulong punBytesDownloaded, out ulong punBytesTotal)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamApps = CSteamGameServerAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C5D RID: 27741 RVA: 0x0016F208 File Offset: 0x0016D408
|
|
[Token(Token = "0x6006C5D")]
|
|
[Address(RVA = "0x2A209F0", Offset = "0x2A1F3F0", VA = "0x182A209F0")]
|
|
public static int GetAppBuildId()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_GetAppBuildId(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C5E RID: 27742 RVA: 0x0016F228 File Offset: 0x0016D428
|
|
[Token(Token = "0x6006C5E")]
|
|
[Address(RVA = "0x2A21330", Offset = "0x2A1FD30", VA = "0x182A21330")]
|
|
public static void RequestAllProofOfPurchaseKeys()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamApps_RequestAllProofOfPurchaseKeys(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006C5F RID: 27743 RVA: 0x0016F248 File Offset: 0x0016D448
|
|
[Token(Token = "0x6006C5F")]
|
|
[Address(RVA = "0x2A20E90", Offset = "0x2A1F890", VA = "0x182A20E90")]
|
|
public static SteamAPICall_t GetFileDetails(string pszFileName)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C5F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerApps::GetFileDetails(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_24:
|
|
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.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: 0x06006C60 RID: 27744 RVA: 0x0016F27C File Offset: 0x0016D47C
|
|
[Token(Token = "0x6006C60")]
|
|
[Address(RVA = "0x2A21060", Offset = "0x2A1FA60", VA = "0x182A21060")]
|
|
public static int GetLaunchCommandLine(out string pszCommandLine, int cubCommandLine)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cubCommandLine);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamApps;
|
|
if (NativeMethods.ISteamApps_GetLaunchCommandLine(intPtr2, intPtr, cubCommandLine) != -1)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return cubCommandLine;
|
|
}
|
|
|
|
// Token: 0x06006C61 RID: 27745 RVA: 0x0016F2BC File Offset: 0x0016D4BC
|
|
[Token(Token = "0x6006C61")]
|
|
[Address(RVA = "0x2A208B0", Offset = "0x2A1F2B0", VA = "0x182A208B0")]
|
|
public static bool BIsSubscribedFromFamilySharing()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamApps_BIsSubscribedFromFamilySharing(CSteamGameServerAPIContext.m_pSteamApps);
|
|
}
|
|
}
|
|
}
|