Exemplo n.º 1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._BIsSubscribed                = null;
     this._BIsLowViolence               = null;
     this._BIsCybercafe                 = null;
     this._BIsVACBanned                 = null;
     this._GetCurrentGameLanguage       = null;
     this._GetAvailableGameLanguages    = null;
     this._BIsSubscribedApp             = null;
     this._BIsDlcInstalled              = null;
     this._GetEarliestPurchaseUnixTime  = null;
     this._BIsSubscribedFromFreeWeekend = null;
     this._GetDLCCount                    = null;
     this._BGetDLCDataByIndex             = null;
     this._InstallDLC                     = null;
     this._UninstallDLC                   = null;
     this._RequestAppProofOfPurchaseKey   = null;
     this._GetCurrentBetaName             = null;
     this._MarkContentCorrupt             = null;
     this._GetInstalledDepots             = null;
     this._GetAppInstallDir               = null;
     this._BIsAppInstalled                = null;
     this._GetAppOwner                    = null;
     this._GetAppOwner_Windows            = null;
     this._GetLaunchQueryParam            = null;
     this._GetDlcDownloadProgress         = null;
     this._GetAppBuildId                  = null;
     this._RequestAllProofOfPurchaseKeys  = null;
     this._GetFileDetails                 = null;
     this._GetLaunchCommandLine           = null;
     this._BIsSubscribedFromFamilySharing = null;
 }
Exemplo n.º 2
0
 public override void InitInternals()
 {
     this._BIsSubscribed                = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsSubscribed>(Marshal.ReadIntPtr(this.VTable, 0));
     this._BIsLowViolence               = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsLowViolence>(Marshal.ReadIntPtr(this.VTable, 8));
     this._BIsCybercafe                 = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsCybercafe>(Marshal.ReadIntPtr(this.VTable, 16));
     this._BIsVACBanned                 = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsVACBanned>(Marshal.ReadIntPtr(this.VTable, 24));
     this._GetCurrentGameLanguage       = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetCurrentGameLanguage>(Marshal.ReadIntPtr(this.VTable, 32));
     this._GetAvailableGameLanguages    = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetAvailableGameLanguages>(Marshal.ReadIntPtr(this.VTable, 40));
     this._BIsSubscribedApp             = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsSubscribedApp>(Marshal.ReadIntPtr(this.VTable, 48));
     this._BIsDlcInstalled              = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsDlcInstalled>(Marshal.ReadIntPtr(this.VTable, 56));
     this._GetEarliestPurchaseUnixTime  = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetEarliestPurchaseUnixTime>(Marshal.ReadIntPtr(this.VTable, 64));
     this._BIsSubscribedFromFreeWeekend = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsSubscribedFromFreeWeekend>(Marshal.ReadIntPtr(this.VTable, 72));
     this._GetDLCCount                    = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetDLCCount>(Marshal.ReadIntPtr(this.VTable, 80));
     this._BGetDLCDataByIndex             = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBGetDLCDataByIndex>(Marshal.ReadIntPtr(this.VTable, 88));
     this._InstallDLC                     = Marshal.GetDelegateForFunctionPointer <ISteamApps.FInstallDLC>(Marshal.ReadIntPtr(this.VTable, 96));
     this._UninstallDLC                   = Marshal.GetDelegateForFunctionPointer <ISteamApps.FUninstallDLC>(Marshal.ReadIntPtr(this.VTable, 104));
     this._RequestAppProofOfPurchaseKey   = Marshal.GetDelegateForFunctionPointer <ISteamApps.FRequestAppProofOfPurchaseKey>(Marshal.ReadIntPtr(this.VTable, 112));
     this._GetCurrentBetaName             = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetCurrentBetaName>(Marshal.ReadIntPtr(this.VTable, 120));
     this._MarkContentCorrupt             = Marshal.GetDelegateForFunctionPointer <ISteamApps.FMarkContentCorrupt>(Marshal.ReadIntPtr(this.VTable, 128));
     this._GetInstalledDepots             = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetInstalledDepots>(Marshal.ReadIntPtr(this.VTable, 136));
     this._GetAppInstallDir               = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetAppInstallDir>(Marshal.ReadIntPtr(this.VTable, 144));
     this._BIsAppInstalled                = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsAppInstalled>(Marshal.ReadIntPtr(this.VTable, 152));
     this._GetAppOwner                    = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetAppOwner>(Marshal.ReadIntPtr(this.VTable, 160));
     this._GetAppOwner_Windows            = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetAppOwner_Windows>(Marshal.ReadIntPtr(this.VTable, 160));
     this._GetLaunchQueryParam            = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetLaunchQueryParam>(Marshal.ReadIntPtr(this.VTable, 168));
     this._GetDlcDownloadProgress         = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetDlcDownloadProgress>(Marshal.ReadIntPtr(this.VTable, 176));
     this._GetAppBuildId                  = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetAppBuildId>(Marshal.ReadIntPtr(this.VTable, 184));
     this._RequestAllProofOfPurchaseKeys  = Marshal.GetDelegateForFunctionPointer <ISteamApps.FRequestAllProofOfPurchaseKeys>(Marshal.ReadIntPtr(this.VTable, 192));
     this._GetFileDetails                 = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetFileDetails>(Marshal.ReadIntPtr(this.VTable, 200));
     this._GetLaunchCommandLine           = Marshal.GetDelegateForFunctionPointer <ISteamApps.FGetLaunchCommandLine>(Marshal.ReadIntPtr(this.VTable, 208));
     this._BIsSubscribedFromFamilySharing = Marshal.GetDelegateForFunctionPointer <ISteamApps.FBIsSubscribedFromFamilySharing>(Marshal.ReadIntPtr(this.VTable, 216));
 }