示例#1
0
        private void ProcessStaticInfo()
        {
            if (memoryStatus == ACC_MEMORY_STATUS.DISCONNECTED)
            {
                return;
            }

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