Beispiel #1
0
 public static StringRequest CreateAddAchieveRequest(string gameId, string publicKey, string username, string userToken, string trophyId)
 {
     return(new StringRequest(gameId, publicKey, Constants.TrophyUrls.AddAchieveUrl, RequestParameter.CreateUsername(username), RequestParameter.CreateUserToken(userToken), RequestParameter.CreateTrophyId(trophyId)));
 }
Beispiel #2
0
 public static JsonRequest <Trophy[], TrophyResult> CreateGetRequest(string gameId, string privateKey, string username, string userToken, string trophyId)
 {
     return(new JsonRequest <Trophy[], TrophyResult>(gameId, privateKey, Constants.TrophyUrls.GetUrl, RequestParameter.CreateUsername(username), RequestParameter.CreateUserToken(userToken), RequestParameter.CreateTrophyId(trophyId)));
 }