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