private void SendSwitchRequest() { string uid = Bonjour.GetPlayerID().ToString(); SwitchAccountRequestParameter request = new SwitchAccountRequestParameter(); request.AccountID = uid; CommunicationUtility.Instance.SwitchAccount(request, this, "OnSwitchResponse", true); }
private void OnMountResponse(Hashtable response) { MountAccountResponseParameter param = new MountAccountResponseParameter(); param.InitialParameterObjectFromHashtable(response); if (param.FailType.HasValue) { this.m_MountFailListener.Invoke((MountFailType)((int)param.FailType.Value)); } else { string uid = Bonjour.GetPlayerID().ToString(); this.MountAccount(uid); } }