public IEnumerator StartGetMember() { yield return(UserWebServiceClient.GetMember(AuthToken, new Action <UberstrikeUserViewModel>(OnGetMemberEventReturn), delegate(Exception ex) { ApplicationDataManager.LockApplication("There was an error getting your player data."); })); yield break; }
//TODO: Write some stress test code or some stuff. public static void Main(string[] args) { var userServiceClient = new UserWebServiceClient("http://localhost/2.0"); var authenticationServiceClient = new AuthenticationWebServiceClient("http://localhost/2.0"); var loginResult = authenticationServiceClient.LoginSteam("test", "", ""); var member = userServiceClient.GetMember(loginResult.AuthToken); Console.WriteLine(member.CmuneMemberView); Console.WriteLine(member.UberstrikeMemberView); Console.ReadLine(); }