예제 #1
0
 public DefferedKick(AType10 pilot, TimeSpan timeout)
 {
     GameId     = pilot.LOGIN;
     PilotName  = pilot.NAME;
     CreateDate = DateTime.Now;
     TimeOut    = timeout;
 }
예제 #2
0
 public HandlingAirSupply(string command, DateTime dateTime, TypeSupply typeSupply, int duration, int indexCity, AType10 pilot)
 {
     Command    = command;
     CreateTime = dateTime;
     TypeSupply = typeSupply;
     Duration   = duration;
     IndexCity  = indexCity;
     Pilot      = pilot;
 }
예제 #3
0
 /// <summary>
 /// Конструктор для приветствия пилота с данными из AType10 (Rcontype.Players). Для выкидывания пилота (Rcontype.Kick). Проверки регистрации (Rcontype.CheckRegistration).
 /// </summary>
 /// <param name="rtype"></param>
 /// <param name="atype"></param>
 public RconCommand(Rcontype rtype, AType10 atype)
 {
     Type  = rtype;
     aType = atype;
 }