lostInDjango

Untitled

Oct 6th, 2019
550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using iRacingSimulator;
  5.  
  6. namespace DTSMClassLib
  7. {
  8.     public class DTSM_Driver
  9.     {
  10.         public string IRDriverName { get; set; }
  11.         public int  IRUID { get; set; }
  12.  
  13.  
  14.         public DTSM_Driver()
  15.         {
  16.            
  17.         }
  18.  
  19.         public void SetProps(Sim info)
  20.         {
  21.             var driver = info.Driver;
  22.            
  23.            
  24.             this.IRDriverName = driver.Name;
  25.             this.IRUID = Convert.ToInt32(driver.CustId);
  26.         }
  27.  
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment