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); }
// bool public bool SetSyncPlatforms(string pchFile /*const char **/, RemoteStoragePlatform eRemoteStoragePlatform /*ERemoteStoragePlatform*/) { return(platform.ISteamRemoteStorage_SetSyncPlatforms(pchFile, eRemoteStoragePlatform)); }
internal bool SetSyncPlatforms(string pchFile, RemoteStoragePlatform eRemoteStoragePlatform) { return(_SetSyncPlatforms(Self, pchFile, eRemoteStoragePlatform)); }
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);
public bool SetSyncPlatforms([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchFile, RemoteStoragePlatform eRemoteStoragePlatform) { var returnValue = _SetSyncPlatforms(Self, pchFile, eRemoteStoragePlatform); return(returnValue); }
public bool SetSyncPlatforms(string fileName, RemoteStoragePlatform remoteStoragePlatform) { CheckIfUsable(); return NativeMethods.Cloud_SetSyncPlatforms(fileName, (int)remoteStoragePlatform); }
public bool SetSyncPlatforms(string fileName, RemoteStoragePlatform remoteStoragePlatform) { CheckIfUsable(); return(NativeMethods.Cloud_SetSyncPlatforms(fileName, (int)remoteStoragePlatform)); }