Steam api for Godot2.
APIs for steam I will add it later.
bool init()
If success return true.
bool cloudIsEnabledForAccount()
bool cloudIsEnabledForApp()
uint32_t cloudGetCount()
Dictionary cloudGetFileNameAndSize( int iFile )
iFile: Index of file
Return dictionary members: fileName, fileSize
bool cloudFileWrite( const String &pchFile, const Variant &pvData )
pchFile: File name
pvData: Data for written
Variant cloudFileRead( const String &pchFile )
pchFile: File name
Return data read
bool cloudFileDelete( const String &pchFile )
pchFile: File name
uint32_t achievementsGetNum()
String achievementGetName( uint32_t iAchievement )
bool achievementSet( const String &pchName )
Dictionary achievementGet( const String &pchName )
Return dictionary members: isSuccessGet, isAchieved
bool achievementClear( const String &pchName )
请发表评论