public ScenarioAsset(string path, IAssetMetadata metadata, AssetWithImageCachedData cachedData) : base(path, metadata, cachedData, AssetType.Scenario) { if (cachedData == null) { throw new ArgumentNullException(nameof(cachedData)); } _cachedData = cachedData; }
public ModAsset(string path, IModMetadata metadata, AssetWithImageCachedData cachedData, ModInformation information) : base(path, metadata, cachedData, AssetType.Mod) { if (cachedData == null) { throw new ArgumentNullException(nameof(cachedData)); } if (information == null) { throw new ArgumentNullException(nameof(information)); } _metadata = metadata; _cachedData = cachedData; Information = information; }