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