Example #1
0
 protected override void OnClientLoaded(MsgClientLoaded msg)
 {
     DriverInfo driverReport;
     if (this.PluginManager.TryGetDriverInfo(msg.CarId, out driverReport))
     {
         driverReport.ConnectedTimestamp = DateTime.UtcNow.Ticks;
         string welcome = CreateWelcomeMessage(driverReport);
         if (!string.IsNullOrWhiteSpace(welcome))
         {
             foreach (string line in welcome.Split('|'))
             {
                 this.PluginManager.SendChatMessage(msg.CarId, line);
             }
         }
     }
 }
 protected override void OnClientLoaded(MsgClientLoaded msg)
 {
     base.OnClientLoaded(msg);
     this.form.BeginInvoke(new Action(this.form.UpdateGui), null);
 }
Example #3
0
 protected internal virtual void OnClientLoaded(MsgClientLoaded msg)
 {
 }
Example #4
0
 protected override void OnClientLoaded(MsgClientLoaded msg)
 {
     HandleClientActions(LiveDataServer.RequestDriverLoaded(CurrentSessionGuid, msg.CarId));
 }