Exemplo n.º 1
0
 /// <summary>
 /// Send all skype addresses to this client
 /// </summary>
 /// <param name="remoteClient">Client to send to</param>
 public void SendAllOtherSkypeAddressesToClient(RexClientViewLegacy remoteClient)
 {
     m_scene.ForEachClient(delegate(IClientAPI client)
     {
         if (client is RexClientViewLegacy)
         {
             RexClientViewLegacy rexClient = (RexClientViewLegacy)client;
             if (rexClient.RexSkypeURL != null && rexClient.RexSkypeURL != string.Empty)
                 rexClient.SendSkypeAddress(client.AgentId, rexClient.RexSkypeURL);
         }
     });
 }
Exemplo n.º 2
0
 /// <summary>
 /// Skype url changed. Send the changed skypeurl to other users
 /// </summary>
 /// <param name="remoteClient"></param>
 private void RexSkypeModule_OnReceiveRexSkypeStore(RexClientViewLegacy remoteClient)
 {
     try
     {
         SendSkypeToAllClients(remoteClient.RexSkypeURL, remoteClient.AgentId);
     }
     catch (Exception ex)
     {
         m_log.Error("[REXSKYPE]: ProcessRexSkypeStore threw an exception: " + ex.ToString());
     }
 }