Example #1
0
 public SocialHelper()
 {
     _finder = new UDPClientFinder();
     _finder.OnClientFound        += _finder_OnClientFound;
     _listener.ConnectionReceived += _listener_ConnectionReceived;
     _user = User.AccountsManager.Instance.CurrentUser;
 }
Example #2
0
 public UDPHelper()
 {
     _client = new UDPClient();
     _finder = new UDPClientFinder();
     _finder.OnClientFound  += _finder_OnClientFound;
     _client.OnDataReceived += _client_OnDataReceived;
 }