#nullable disable namespace StardewModdingAPI.Framework.Content { /// A set of operations to apply to an asset for a given or implementation. internal class AssetOperationGroup { /********* ** Accessors *********/ /// The mod applying the changes. public IModMetadata Mod { get; } /// The load operations to apply. public AssetLoadOperation[] LoadOperations { get; } /// The edit operations to apply. public AssetEditOperation[] EditOperations { get; } /********* ** Public methods *********/ /// Construct an instance. /// The mod applying the changes. /// The load operations to apply. /// The edit operations to apply. public AssetOperationGroup(IModMetadata mod, AssetLoadOperation[] loadOperations, AssetEditOperation[] editOperations) { this.Mod = mod; this.LoadOperations = loadOperations; this.EditOperations = editOperations; } } }