371 lines
17 KiB
C#
371 lines
17 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011F2 RID: 4594
|
|
[Token(Token = "0x20011F2")]
|
|
[StructLayout(3)]
|
|
public static class SteamApps
|
|
{
|
|
// Token: 0x06006B6F RID: 27503 RVA: 0x0016CDD8 File Offset: 0x0016AFD8
|
|
[Token(Token = "0x6006B6F")]
|
|
[Address(RVA = "0x2A19150", Offset = "0x2A17B50", VA = "0x182A19150")]
|
|
public static bool BIsSubscribed()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsSubscribed(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B70 RID: 27504 RVA: 0x0016CDF8 File Offset: 0x0016AFF8
|
|
[Token(Token = "0x6006B70")]
|
|
[Address(RVA = "0x2A19010", Offset = "0x2A17A10", VA = "0x182A19010")]
|
|
public static bool BIsLowViolence()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsLowViolence(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B71 RID: 27505 RVA: 0x0016CE18 File Offset: 0x0016B018
|
|
[Token(Token = "0x6006B71")]
|
|
[Address(RVA = "0x2A18F70", Offset = "0x2A17970", VA = "0x182A18F70")]
|
|
public static bool BIsCybercafe()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsCybercafe(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B72 RID: 27506 RVA: 0x0016CE38 File Offset: 0x0016B038
|
|
[Token(Token = "0x6006B72")]
|
|
[Address(RVA = "0x2A191A0", Offset = "0x2A17BA0", VA = "0x182A191A0")]
|
|
public static bool BIsVACBanned()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsVACBanned(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B73 RID: 27507 RVA: 0x0016CE58 File Offset: 0x0016B058
|
|
[Token(Token = "0x6006B73")]
|
|
[Address(RVA = "0x2A19520", Offset = "0x2A17F20", VA = "0x182A19520")]
|
|
public static string GetCurrentGameLanguage()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetCurrentGameLanguage(intPtr);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006B74 RID: 27508 RVA: 0x0016CE80 File Offset: 0x0016B080
|
|
[Token(Token = "0x6006B74")]
|
|
[Address(RVA = "0x2A193E0", Offset = "0x2A17DE0", VA = "0x182A193E0")]
|
|
public static string GetAvailableGameLanguages()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetAvailableGameLanguages(intPtr);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006B75 RID: 27509 RVA: 0x0016CEA8 File Offset: 0x0016B0A8
|
|
[Token(Token = "0x6006B75")]
|
|
[Address(RVA = "0x2A19060", Offset = "0x2A17A60", VA = "0x182A19060")]
|
|
public static bool BIsSubscribedApp(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006B76 RID: 27510 RVA: 0x0016CEC4 File Offset: 0x0016B0C4
|
|
[Token(Token = "0x6006B76")]
|
|
[Address(RVA = "0x2A18FC0", Offset = "0x2A179C0", VA = "0x182A18FC0")]
|
|
public static bool BIsDlcInstalled(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006B77 RID: 27511 RVA: 0x0016CEE0 File Offset: 0x0016B0E0
|
|
[Token(Token = "0x6006B77")]
|
|
[Address(RVA = "0x2A19640", Offset = "0x2A18040", VA = "0x182A19640")]
|
|
public static uint GetEarliestPurchaseUnixTime(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
uint num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006B78 RID: 27512 RVA: 0x0016CEFC File Offset: 0x0016B0FC
|
|
[Token(Token = "0x6006B78")]
|
|
[Address(RVA = "0x2A19100", Offset = "0x2A17B00", VA = "0x182A19100")]
|
|
public static bool BIsSubscribedFromFreeWeekend()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsSubscribedFromFreeWeekend(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B79 RID: 27513 RVA: 0x0016CF1C File Offset: 0x0016B11C
|
|
[Token(Token = "0x6006B79")]
|
|
[Address(RVA = "0x2A19570", Offset = "0x2A17F70", VA = "0x182A19570")]
|
|
public static int GetDLCCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_GetDLCCount(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B7A RID: 27514 RVA: 0x0016CF3C File Offset: 0x0016B13C
|
|
[Token(Token = "0x6006B7A")]
|
|
[Address(RVA = "0x2A18DF0", Offset = "0x2A177F0", VA = "0x182A18DF0")]
|
|
public static bool BGetDLCDataByIndex(int iDLC, out AppId_t pAppID, out bool pbAvailable, out string pchName, int cchNameBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
IntPtr intPtr2;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr2;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr2);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006B7B RID: 27515 RVA: 0x0016CF70 File Offset: 0x0016B170
|
|
[Token(Token = "0x6006B7B")]
|
|
[Address(RVA = "0x2A19A90", Offset = "0x2A18490", VA = "0x182A19A90")]
|
|
public static void InstallDLC(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006B7C RID: 27516 RVA: 0x0016CF8C File Offset: 0x0016B18C
|
|
[Token(Token = "0x6006B7C")]
|
|
[Address(RVA = "0x2A19BD0", Offset = "0x2A185D0", VA = "0x182A19BD0")]
|
|
public static void UninstallDLC(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006B7D RID: 27517 RVA: 0x0016CFA8 File Offset: 0x0016B1A8
|
|
[Token(Token = "0x6006B7D")]
|
|
[Address(RVA = "0x2A19B80", Offset = "0x2A18580", VA = "0x182A19B80")]
|
|
public static void RequestAppProofOfPurchaseKey(AppId_t nAppID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
}
|
|
|
|
// Token: 0x06006B7E RID: 27518 RVA: 0x0016CFC4 File Offset: 0x0016B1C4
|
|
[Token(Token = "0x6006B7E")]
|
|
[Address(RVA = "0x2A19430", Offset = "0x2A17E30", VA = "0x182A19430")]
|
|
public static bool GetCurrentBetaName(out string pchName, int cchNameBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cchNameBufferSize);
|
|
IntPtr intPtr2 = CSteamAPIContext.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: 0x06006B7F RID: 27519 RVA: 0x0016D008 File Offset: 0x0016B208
|
|
[Token(Token = "0x6006B7F")]
|
|
[Address(RVA = "0x2A19AE0", Offset = "0x2A184E0", VA = "0x182A19AE0")]
|
|
public static bool MarkContentCorrupt(bool bMissingFilesOnly)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_MarkContentCorrupt(CSteamAPIContext.m_pSteamApps, bMissingFilesOnly);
|
|
}
|
|
|
|
// Token: 0x06006B80 RID: 27520 RVA: 0x0016D028 File Offset: 0x0016B228
|
|
[Token(Token = "0x6006B80")]
|
|
[Address(RVA = "0x2A197E0", Offset = "0x2A181E0", VA = "0x182A197E0")]
|
|
public static uint GetInstalledDepots(AppId_t appID, DepotId_t[] pvecDepots, uint cMaxDepots)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
uint num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006B81 RID: 27521 RVA: 0x0016D044 File Offset: 0x0016B244
|
|
[Token(Token = "0x6006B81")]
|
|
[Address(RVA = "0x2A19240", Offset = "0x2A17C40", VA = "0x182A19240")]
|
|
public static uint GetAppInstallDir(AppId_t appID, out string pchFolder, uint cchFolderBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal((int)cchFolderBufferSize);
|
|
IntPtr intPtr2 = CSteamAPIContext.m_pSteamApps;
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006B82 RID: 27522 RVA: 0x0016D080 File Offset: 0x0016B280
|
|
[Token(Token = "0x6006B82")]
|
|
[Address(RVA = "0x2A18F20", Offset = "0x2A17920", VA = "0x182A18F20")]
|
|
public static bool BIsAppInstalled(AppId_t appID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006B83 RID: 27523 RVA: 0x0016D09C File Offset: 0x0016B29C
|
|
[Token(Token = "0x6006B83")]
|
|
[Address(RVA = "0x2A19350", Offset = "0x2A17D50", VA = "0x182A19350")]
|
|
public static CSteamID GetAppOwner()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006B83)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamApps::GetAppOwner()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:TimeSpan(var_1_16, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamApps_GetAppOwner, ldsfld:native int(CSteamAPIContext::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: 0x06006B84 RID: 27524 RVA: 0x0016D0C0 File Offset: 0x0016B2C0
|
|
[Token(Token = "0x6006B84")]
|
|
[Address(RVA = "0x2A19950", Offset = "0x2A18350", VA = "0x182A19950")]
|
|
public static string GetLaunchQueryParam(string pchKey)
|
|
{
|
|
int num;
|
|
string text;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamApps;
|
|
intPtr = NativeMethods.ISteamApps_GetLaunchQueryParam(intPtr, utf8StringHandle);
|
|
text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return text;
|
|
}
|
|
|
|
// Token: 0x06006B85 RID: 27525 RVA: 0x0016D104 File Offset: 0x0016B304
|
|
[Token(Token = "0x6006B85")]
|
|
[Address(RVA = "0x2A195C0", Offset = "0x2A17FC0", VA = "0x182A195C0")]
|
|
public static bool GetDlcDownloadProgress(AppId_t nAppID, out ulong punBytesDownloaded, out ulong punBytesTotal)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamApps = CSteamAPIContext.m_pSteamApps;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006B86 RID: 27526 RVA: 0x0016D120 File Offset: 0x0016B320
|
|
[Token(Token = "0x6006B86")]
|
|
[Address(RVA = "0x2A191F0", Offset = "0x2A17BF0", VA = "0x182A191F0")]
|
|
public static int GetAppBuildId()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_GetAppBuildId(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B87 RID: 27527 RVA: 0x0016D140 File Offset: 0x0016B340
|
|
[Token(Token = "0x6006B87")]
|
|
[Address(RVA = "0x2A19B30", Offset = "0x2A18530", VA = "0x182A19B30")]
|
|
public static void RequestAllProofOfPurchaseKeys()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamApps_RequestAllProofOfPurchaseKeys(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
|
|
// Token: 0x06006B88 RID: 27528 RVA: 0x0016D160 File Offset: 0x0016B360
|
|
[Token(Token = "0x6006B88")]
|
|
[Address(RVA = "0x2A19690", Offset = "0x2A18090", VA = "0x182A19690")]
|
|
public static SteamAPICall_t GetFileDetails(string pszFileName)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006B88)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamApps::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: 0x06006B89 RID: 27529 RVA: 0x0016D194 File Offset: 0x0016B394
|
|
[Token(Token = "0x6006B89")]
|
|
[Address(RVA = "0x2A19860", Offset = "0x2A18260", VA = "0x182A19860")]
|
|
public static int GetLaunchCommandLine(out string pszCommandLine, int cubCommandLine)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cubCommandLine);
|
|
IntPtr intPtr2 = CSteamAPIContext.m_pSteamApps;
|
|
if (NativeMethods.ISteamApps_GetLaunchCommandLine(intPtr2, intPtr, cubCommandLine) != -1)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return cubCommandLine;
|
|
}
|
|
|
|
// Token: 0x06006B8A RID: 27530 RVA: 0x0016D1D4 File Offset: 0x0016B3D4
|
|
[Token(Token = "0x6006B8A")]
|
|
[Address(RVA = "0x2A190B0", Offset = "0x2A17AB0", VA = "0x182A190B0")]
|
|
public static bool BIsSubscribedFromFamilySharing()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamApps_BIsSubscribedFromFamilySharing(CSteamAPIContext.m_pSteamApps);
|
|
}
|
|
}
|
|
}
|