Esempio n. 1
0
 public void SendAllowFriendToConnectResponse(string userId, PeerAddressContract peerAddress)
 {
     SendObject(new AllowFriendToConnectResponse() {Allowed = true, UserId = userId, PeerAddress = peerAddress});
 }
Esempio n. 2
0
 public bool SendConnectToFriendRequest(string userId, PeerAddressContract peerAddress)
 {
     SendObject(new ConnectToFriendRequest() {UserId = userId, Address = peerAddress});
     return true;
 }