public static IAsyncResult BeginAddTrophy(string gameId, string privateKey, string username, string userToken, string trophyId, AsyncCallback callback = null, object asyncState = null) { var request = TrophyRequestFactory.CreateAddAchieveRequest(gameId, privateKey, username, userToken, trophyId); return(request.Begin(callback, asyncState)); }
public static Trophy[] GetAll(string gameId, string privateKey, string username, string userToken, TrophyFilter filter = TrophyFilter.All) { var request = TrophyRequestFactory.CreateGetRequest(gameId, privateKey, username, userToken, filter); return(request.Process(null)); }
public static Trophy GetById(string gameId, string privateKey, string username, string userToken, string trophyId) { var request = TrophyRequestFactory.CreateGetRequest(gameId, privateKey, username, userToken, trophyId); return(request.Process(null)[0]); }
public static IAsyncResult BeginGetAll(string gameId, string privateKey, string username, string userToken, TrophyFilter filter = TrophyFilter.All, AsyncCallback callback = null, object asyncState = null) { var request = TrophyRequestFactory.CreateGetRequest(gameId, privateKey, username, userToken, filter); return(request.Begin(callback, asyncState)); }
public static string AddTrophy(string gameId, string privateKey, string username, string userToken, string trophyId) { var request = TrophyRequestFactory.CreateAddAchieveRequest(gameId, privateKey, username, userToken, trophyId); return(request.Process(null)); }