Inheritance: DriverMessageBase
Exemplo n.º 1
0
 /// <inheritdoc/>
 public virtual void Visit(SetDriverPitCountMessage message)
 {
 }
 void IMessageVisitor.Visit(SetDriverPitCountMessage message)
 {
     Dispatch(message);
 }
Exemplo n.º 3
0
 public void Visit(SetDriverPitCountMessage message)
 {
     Result = true;
 }
 /// <inheritdoc/>
 public override void Visit(SetDriverPitCountMessage message)
 {
     if(Translator.IsRaceSession)
     {
         LiveDriver driver = GetDriver(message);
         // We only expect pit times when the driver is pitted.
         driver.IsExpectingPitTimes = driver.IsInPits;
     }
 }