Example #1
0
 /// <summary>
 /// Sents a reply to the operation: 
 /// </summary>
 public static void SendCheckInform(this IEnumerable<IClient> clients, CheckInform packet)
 {
     packet.Lifetime = PacketLifetime.Manual;
      foreach(var client in clients)
     client.Send(packet);
 }
Example #2
0
 /// <summary>
 /// Sents a reply to the operation: 
 /// </summary>
 public static void SendCheckInform(this IClient[] clients, CheckInform packet)
 {
     packet.Lifetime = PacketLifetime.Manual;
      for (int i = 0; i < clients.Length; ++i)
     clients[i].Send(packet);
 }
Example #3
0
 /// <summary>
 /// Sents a reply to the operation: 
 /// </summary>
 public static void SendCheckInform(this List<IClient> clients, CheckInform packet)
 {
     packet.Lifetime = PacketLifetime.Manual;
      for (int i = 0; i < clients.Count; ++i)
     clients[i].Send(packet);
 }
Example #4
0
 /// <summary>
 /// Sents a reply to the operation: 
 /// </summary>
 public static void SendCheckInform(this IClient client, CheckInform packet)
 {
     client.Send(packet);
 }