public AGProjectCars2() : base() { _name = "pCars2"; _displayName = "Project Cars2"; _author = "Alex Greenland"; _processNames.Add("pCARS2Gld"); _processNames.Add("pCARS2QA"); _connectionType = OneHUDInterface.ConnectionType.BOTH; _memoryReader = new SharedMemoryReader(_sharedMemoryFileName, _bufferSize); _cancel = new CancellationTokenSource(); }
public AssettoCorsa() : base() { _name = "AC"; _displayName = "Assetto Corsa"; _author = "Alex Greenland"; _processNames.Add("acs"); _physicsMemoryReader = new SharedMemoryReader(_physicsFileName, _physicsBufferSize); _physicsCancel = new CancellationTokenSource(); _staticMemoryReader = new SharedMemoryReader(_staticFileName, _staticBufferSize); _staticCancel = new CancellationTokenSource(); }
public RaceRoom() : base() { _gameData = new GameData(); var path = AppDomain.CurrentDomain.BaseDirectory; var jsonString = File.ReadAllText(path + @"Plugins\\R3E-GameData.json"); _gameData = JsonConvert.DeserializeObject <GameData>(jsonString); _author = "Alex Greenland"; _name = "R3E"; _displayName = "RaceRoom Experience"; _processNames.Add("RRRE"); _memoryReader = new SharedMemoryReader(_sharedMemoryFileName, _bufferSize); _cancel = new CancellationTokenSource(); }