Beispiel #1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._FileWrite                 = null;
     this._FileRead                  = null;
     this._FileWriteAsync            = null;
     this._FileReadAsync             = null;
     this._FileReadAsyncComplete     = null;
     this._FileForget                = null;
     this._FileDelete                = null;
     this._FileShare                 = null;
     this._SetSyncPlatforms          = null;
     this._FileWriteStreamOpen       = null;
     this._FileWriteStreamWriteChunk = null;
     this._FileWriteStreamClose      = null;
     this._FileWriteStreamCancel     = null;
     this._FileExists                = null;
     this._FilePersisted             = null;
     this._GetFileSize               = null;
     this._GetFileTimestamp          = null;
     this._GetSyncPlatforms          = null;
     this._GetFileCount              = null;
     this._GetFileNameAndSize        = null;
     this._GetQuota                  = null;
     this._IsCloudEnabledForAccount  = null;
     this._IsCloudEnabledForApp      = null;
     this._SetCloudEnabledForApp     = null;
     this._UGCDownload               = null;
     this._GetUGCDownloadProgress    = null;
     this._GetUGCDetails             = null;
     this._UGCRead               = null;
     this._GetCachedUGCCount     = null;
     this._UGCDownloadToLocation = null;
 }
Beispiel #2
0
 public override void InitInternals()
 {
     this._FileWrite                 = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWrite>(Marshal.ReadIntPtr(this.VTable, 0));
     this._FileRead                  = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileRead>(Marshal.ReadIntPtr(this.VTable, 8));
     this._FileWriteAsync            = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWriteAsync>(Marshal.ReadIntPtr(this.VTable, 16));
     this._FileReadAsync             = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileReadAsync>(Marshal.ReadIntPtr(this.VTable, 24));
     this._FileReadAsyncComplete     = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileReadAsyncComplete>(Marshal.ReadIntPtr(this.VTable, 32));
     this._FileForget                = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileForget>(Marshal.ReadIntPtr(this.VTable, 40));
     this._FileDelete                = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileDelete>(Marshal.ReadIntPtr(this.VTable, 48));
     this._FileShare                 = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileShare>(Marshal.ReadIntPtr(this.VTable, 56));
     this._SetSyncPlatforms          = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FSetSyncPlatforms>(Marshal.ReadIntPtr(this.VTable, 64));
     this._FileWriteStreamOpen       = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWriteStreamOpen>(Marshal.ReadIntPtr(this.VTable, 72));
     this._FileWriteStreamWriteChunk = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWriteStreamWriteChunk>(Marshal.ReadIntPtr(this.VTable, 80));
     this._FileWriteStreamClose      = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWriteStreamClose>(Marshal.ReadIntPtr(this.VTable, 88));
     this._FileWriteStreamCancel     = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileWriteStreamCancel>(Marshal.ReadIntPtr(this.VTable, 96));
     this._FileExists                = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFileExists>(Marshal.ReadIntPtr(this.VTable, 104));
     this._FilePersisted             = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FFilePersisted>(Marshal.ReadIntPtr(this.VTable, 112));
     this._GetFileSize               = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetFileSize>(Marshal.ReadIntPtr(this.VTable, 120));
     this._GetFileTimestamp          = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetFileTimestamp>(Marshal.ReadIntPtr(this.VTable, 128));
     this._GetSyncPlatforms          = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetSyncPlatforms>(Marshal.ReadIntPtr(this.VTable, 136));
     this._GetFileCount              = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetFileCount>(Marshal.ReadIntPtr(this.VTable, 144));
     this._GetFileNameAndSize        = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetFileNameAndSize>(Marshal.ReadIntPtr(this.VTable, 152));
     this._GetQuota                  = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetQuota>(Marshal.ReadIntPtr(this.VTable, 160));
     this._IsCloudEnabledForAccount  = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FIsCloudEnabledForAccount>(Marshal.ReadIntPtr(this.VTable, 168));
     this._IsCloudEnabledForApp      = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FIsCloudEnabledForApp>(Marshal.ReadIntPtr(this.VTable, 176));
     this._SetCloudEnabledForApp     = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FSetCloudEnabledForApp>(Marshal.ReadIntPtr(this.VTable, 184));
     this._UGCDownload               = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FUGCDownload>(Marshal.ReadIntPtr(this.VTable, 192));
     this._GetUGCDownloadProgress    = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetUGCDownloadProgress>(Marshal.ReadIntPtr(this.VTable, 200));
     this._GetUGCDetails             = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetUGCDetails>(Marshal.ReadIntPtr(this.VTable, 208));
     this._UGCRead               = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FUGCRead>(Marshal.ReadIntPtr(this.VTable, 216));
     this._GetCachedUGCCount     = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FGetCachedUGCCount>(Marshal.ReadIntPtr(this.VTable, 224));
     this._UGCDownloadToLocation = Marshal.GetDelegateForFunctionPointer <ISteamRemoteStorage.FUGCDownloadToLocation>(Marshal.ReadIntPtr(this.VTable, 424));
 }