private void Accept() { Electrotank.Electroserver5.Api.RemoveBuddiesRequest request = new Electrotank.Electroserver5.Api.RemoveBuddiesRequest(); request.BuddyNames = new List <string>(new string[] { mUser.username }); GameManager.Server.DoRequest(request); GameManager.Instance.mInfo.requestBuddies.Clear(); }
void ClickCancel(GameObject go) { Electrotank.Electroserver5.Api.RemoveBuddiesRequest request = new Electrotank.Electroserver5.Api.RemoveBuddiesRequest(); request.BuddyNames = new List <string>(new string[] { mUser.username }); GameManager.Server.DoRequest(request); }
private void OnClickRemoveFriend(GameObject targetObject) { Electrotank.Electroserver5.Api.RemoveBuddiesRequest request = new Electrotank.Electroserver5.Api.RemoveBuddiesRequest(); request.BuddyNames = new List <string>(new string[] { mUser.username }); GameManager.Server.DoRequest(request); }