mirror of
https://github.com/JDM170/SteamAchievementManager
synced 2025-12-10 05:37:18 +07:00
Bump ISteamApps003 to ISteamApps008.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace SAM.API
|
||||
public Wrappers.SteamUserStats007 SteamUserStats;
|
||||
public Wrappers.SteamUtils005 SteamUtils;
|
||||
public Wrappers.SteamApps001 SteamApps001;
|
||||
public Wrappers.SteamApps003 SteamApps003;
|
||||
public Wrappers.SteamApps008 SteamApps008;
|
||||
|
||||
private bool _IsDisposed = false;
|
||||
private int _Pipe;
|
||||
@@ -86,7 +86,7 @@ namespace SAM.API
|
||||
this.SteamUser = this.SteamClient.GetSteamUser012(this._User, this._Pipe);
|
||||
this.SteamUserStats = this.SteamClient.GetSteamUserStats006(this._User, this._Pipe);
|
||||
this.SteamApps001 = this.SteamClient.GetSteamApps001(this._User, this._Pipe);
|
||||
this.SteamApps003 = this.SteamClient.GetSteamApps003(this._User, this._Pipe);
|
||||
this.SteamApps008 = this.SteamClient.GetSteamApps008(this._User, this._Pipe);
|
||||
}
|
||||
|
||||
~Client()
|
||||
|
||||
@@ -26,7 +26,7 @@ using System.Runtime.InteropServices;
|
||||
namespace SAM.API.Interfaces
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
public struct ISteamApps003
|
||||
public struct ISteamApps008
|
||||
{
|
||||
public IntPtr IsSubscribed;
|
||||
public IntPtr IsLowViolence;
|
||||
@@ -36,5 +36,25 @@ namespace SAM.API.Interfaces
|
||||
public IntPtr GetAvailableGameLanguages;
|
||||
public IntPtr IsSubscribedApp;
|
||||
public IntPtr IsDlcInstalled;
|
||||
public IntPtr GetEarliestPurchaseUnixTime;
|
||||
public IntPtr BIsSubscribedFromFreeWeekend;
|
||||
public IntPtr GetDLCCount;
|
||||
public IntPtr GetDLCDataByIndex;
|
||||
public IntPtr InstallDLC;
|
||||
public IntPtr UninstallDLC;
|
||||
public IntPtr RequestAppProofOfPurchaseKey;
|
||||
public IntPtr GetCurrentBetaName;
|
||||
public IntPtr MarkContentCorrupt;
|
||||
public IntPtr GetInstalledDepots;
|
||||
public IntPtr GetAppInstallDir;
|
||||
public IntPtr IsAppInstalled;
|
||||
public IntPtr GetAppOwner;
|
||||
public IntPtr GetLaunchQueryParam;
|
||||
public IntPtr GetDlcDownloadProgress;
|
||||
public IntPtr GetAppBuildId;
|
||||
public IntPtr RequestAllProofOfPurchaseKeys;
|
||||
public IntPtr GetFileDetails;
|
||||
public IntPtr GetLaunchCommandLine;
|
||||
public IntPtr IsSubscribedFromFamilySharing;
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ using SAM.API.Interfaces;
|
||||
|
||||
namespace SAM.API.Wrappers
|
||||
{
|
||||
public class SteamApps003 : NativeWrapper<ISteamApps003>
|
||||
public class SteamApps008 : NativeWrapper<ISteamApps008>
|
||||
{
|
||||
#region IsSubscribed
|
||||
[UnmanagedFunctionPointer(CallingConvention.ThisCall)]
|
||||
@@ -206,10 +206,10 @@ namespace SAM.API.Wrappers
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetSteamApps003
|
||||
public SteamApps003 GetSteamApps003(int user, int pipe)
|
||||
#region GetSteamApps008
|
||||
public SteamApps008 GetSteamApps008(int user, int pipe)
|
||||
{
|
||||
return this.GetISteamApps<SteamApps003>(user, pipe, "STEAMAPPS_INTERFACE_VERSION003");
|
||||
return this.GetISteamApps<SteamApps008>(user, pipe, "STEAMAPPS_INTERFACE_VERSION008");
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user