![]() |
CotC C# SDK for Unity
v1.4.0.1
Making social games is easy !
|
API functions related to the achievements.
Public Member Functions | |
| GamerAchievements | Domain (string domain) |
Changes the domain affected by the next operations. You should typically use it this way: gamer.Achievements.Domain("private").List(...); More... | |
| Promise< AchievementDefinition > | AssociateData (string achName, Bundle data) |
| Allows to store arbitrary data for a given achievement and the current player (appears in the 'gamerData' node of achievements). More... | |
| Promise< Dictionary< string, AchievementDefinition > > | List () |
| Fetches information about the status of the achievements configured for this game. More... | |
| Promise<AchievementDefinition> CotcSdk.GamerAchievements.AssociateData | ( | string | achName, |
| Bundle | data | ||
| ) |
Allows to store arbitrary data for a given achievement and the current player (appears in the 'gamerData' node of achievements).
| achName | Name of the achievement to update. |
| data | Data to associate with the achievement, merged with the current data (that is, existing keys are not affected) |
| GamerAchievements CotcSdk.GamerAchievements.Domain | ( | string | domain | ) |
Changes the domain affected by the next operations. You should typically use it this way: gamer.Achievements.Domain("private").List(...);
| domain | Domain on which to scope the next operations. |
| Promise<Dictionary<string, AchievementDefinition> > CotcSdk.GamerAchievements.List | ( | ) |
Fetches information about the status of the achievements configured for this game.
1.8.15