private void ProcessStaticInfo()
        {
            if (memoryStatus == ACC_MEMORY_STATUS.DISCONNECTED)
            {
                return;
            }

            try
            {
                StaticInfo staticInfo = ReadStaticInfo();
                OnStaticInfoUpdated(new StaticInfoEventArgs(staticInfo));
            }
            catch (AssettoCorsaNotStartedException)
            { }
        }
Exemple #2
0
 public StaticInfoEventArgs(StaticInfo staticInfo)
 {
     this.StaticInfo = staticInfo;
 }
 public StaticInfoEventArgs(StaticInfo staticInfo)
 {
     this.StaticInfo = staticInfo;
 }