Пример #1
0
 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);
 }
Пример #3
0
 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);
 }