Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Rubberduckycooly
GitHub Repository: Rubberduckycooly/RSDKv5-Decompilation
Path: blob/master/RSDKv5/RSDK/User/Steam/SteamStorage.hpp
1174 views
1
#if RETRO_REV02
2
struct SteamUserStorage : UserStorage {
3
int32 TryAuth()
4
{
5
authStatus = STATUS_OK;
6
return authStatus;
7
}
8
int32 TryInitStorage()
9
{
10
storageStatus = STATUS_OK;
11
return storageStatus;
12
}
13
bool32 GetUsername(String *userName) { return false; }
14
bool32 TryLoadUserFile(const char *filename, void *buffer, uint32 size, void (*callback)(int32 status))
15
{
16
// load file from steam cloud
17
return false;
18
}
19
bool32 TrySaveUserFile(const char *filename, void *buffer, uint32 size, void (*callback)(int32 status), bool32 compressed)
20
{
21
// save file to steam cloud
22
return false;
23
}
24
bool32 TryDeleteUserFile(const char *filename, void (*callback)(int32 status))
25
{
26
// delete file from steam cloud
27
return false;
28
}
29
void ClearPrerollErrors() {}
30
};
31
32
#endif
33