Example #1
0
 private void SendOthers(int id, Shared.SharedClass1.Messages type, params object[] e)
 {
     foreach (var v in Users)
     {
         if (v.UserId != id)
         {
             Send(v, type, e);
         }
     }
 }
Example #2
0
 private void Broadcast(Shared.SharedClass1.Messages type, params object[] e)
 {
     Broadcast(((int)type).ToString(), e);
 }
Example #3
0
 private void Send(Player v, Shared.SharedClass1.Messages type, params object[] e)
 {
     v.Send(((int)type).ToString(), e);
 }