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; }
public SavegameAsset(string path, IAssetMetadata metadata, AssetWithImageCachedData cachedData) : base(path, metadata, cachedData, AssetType.Savegame) { if (cachedData == null) throw new ArgumentNullException(nameof(cachedData)); _cachedData = cachedData; }