Пример #1
0
 private void sendBroadcast(GenericMessage MSG)
 {
     //broadcast to all servers
     foreach (GenericServer GS in AddonManager.Servers)
     {
         try
         {
             GS.Broadcast(MSG);
         }
         catch (Exception ex)
         {
             GenericServerLog(this, GenericLogType.Error, false, "Server '" + GS.ToString() + "' could not send a Broadcast: " + ex.Message);
         }
     }
 }