/// <summary> /// Constructor when linking game to VPDB /// </summary> /// <param name="game">Game to link to</param> /// <param name="system">System to link to</param> /// <param name="release">VPDB release</param> /// <param name="fileId">File ID of VPDB release</param> public Mapping(AggregatedGame game, PinballXSystem system, VpdbRelease release, string fileId) : this(game, system) { ReleaseId = release.Id; FileId = fileId; }
/// <summary> /// Constructor with given game /// </summary> /// <param name="game">Game to which the mapping is linked to</param> /// <param name="system">System to which the game is linked to</param> public Mapping(AggregatedGame game, PinballXSystem system) { System = system; FileName = Path.GetFileName(game.FilePath); }