コード例 #1
0
        void TestCloud()
        {
            ICloud cloud = null;
            RemoteStoragePlatform remoteStorrage = RemoteStoragePlatform.All;

            cloud.CloudFileShareResult   += (CloudFileShareResult x, bool y) => { };
            cloud.CloudDownloadUGCResult += (CloudDownloadUGCResult x, bool y) => { };
            b = cloud.Write(s, ba);
            i = cloud.Read(s, ba);
            b = cloud.Forget(s);
            b = cloud.Delete(s);
            cloud.Share(s);
            b = cloud.SetSyncPlatforms(s, remoteStorrage);
            b = cloud.Exists(s);
            b = cloud.Persisted(s);
            i = cloud.GetSize(s);
            l = cloud.Timestamp(s);
            remoteStorrage = cloud.GetSyncPlatforms(s);
            i = cloud.GetFileCount();
            s = cloud.GetFileNameAndSize(i, out i);
            b = cloud.GetQuota(out i, out i);
            b = cloud.IsEnabledForAccount();
            b = cloud.IsEnabledForApplication();
            cloud.SetEnabledForApplication(b);
            cloud.UGCDownload(ugcHandle);
            b         = cloud.GetUGCDetails(ugcHandle, out appID, out s, out i, out steamID);
            i         = cloud.UGCRead(ugcHandle, ba);
            i         = cloud.GetCachedUGCCount();
            ugcHandle = cloud.GetUGCHandle(i);
        }
コード例 #2
0
 // bool
 public bool SetSyncPlatforms(string pchFile /*const char **/, RemoteStoragePlatform eRemoteStoragePlatform /*ERemoteStoragePlatform*/)
 {
     return(platform.ISteamRemoteStorage_SetSyncPlatforms(pchFile, eRemoteStoragePlatform));
 }
コード例 #3
0
 internal bool SetSyncPlatforms(string pchFile, RemoteStoragePlatform eRemoteStoragePlatform)
 {
     return(_SetSyncPlatforms(Self, pchFile, eRemoteStoragePlatform));
 }
コード例 #4
0
 internal bool SetSyncPlatforms([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchFile, RemoteStoragePlatform eRemoteStoragePlatform)
 {
     return(_SetSyncPlatforms(Self, pchFile, eRemoteStoragePlatform));
 }
 private static extern bool _SetSyncPlatforms(IntPtr self, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchFile, RemoteStoragePlatform eRemoteStoragePlatform);
コード例 #6
0
        public bool SetSyncPlatforms([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchFile, RemoteStoragePlatform eRemoteStoragePlatform)
        {
            var returnValue = _SetSyncPlatforms(Self, pchFile, eRemoteStoragePlatform);

            return(returnValue);
        }
コード例 #7
0
 public bool SetSyncPlatforms(string fileName, RemoteStoragePlatform remoteStoragePlatform)
 {
     CheckIfUsable();
     return NativeMethods.Cloud_SetSyncPlatforms(fileName, (int)remoteStoragePlatform);
 }
コード例 #8
0
 public bool SetSyncPlatforms(string fileName, RemoteStoragePlatform remoteStoragePlatform)
 {
     CheckIfUsable();
     return(NativeMethods.Cloud_SetSyncPlatforms(fileName, (int)remoteStoragePlatform));
 }