-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 49f3554
Showing
20 changed files
with
3,248 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamCloudFileManager", "SteamCloudFileManager\SteamCloudFileManager.csproj", "{58AAE4A4-3134-427E-A621-71DA133954E8}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.ActiveCfg = Debug|x86 | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.Build.0 = Debug|x86 | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.ActiveCfg = Release|x86 | ||
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using Steamworks; | ||
|
||
namespace SteamCloudFileManager | ||
{ | ||
interface IRemoteFile | ||
{ | ||
bool Delete(); | ||
bool Exists { get; } | ||
bool Forget(); | ||
bool IsPersisted { get; } | ||
string Name { get; } | ||
int Read(byte[] buffer, int count); | ||
byte[] ReadAllBytes(); | ||
int Size { get; } | ||
ERemoteStoragePlatform SyncPlatforms { get; set; } | ||
DateTime Timestamp { get; } | ||
bool Write(byte[] buffer, int count); | ||
bool WriteAllBytes(byte[] buffer); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace SteamCloudFileManager | ||
{ | ||
interface IRemoteStorage | ||
{ | ||
IRemoteFile GetFile(string name); | ||
List<IRemoteFile> GetFiles(); | ||
bool GetQuota(out int totalBytes, out int availableBytes); | ||
bool IsCloudEnabledForAccount { get; } | ||
bool IsCloudEnabledForApp { get; set; } | ||
} | ||
} |
Oops, something went wrong.