using System;
using System.Collections.Generic;
namespace KKAPI.Maker
{
///
/// Event args for accessory copy events.
///
public class AccessoryCopyEventArgs : EventArgs
{
///
public AccessoryCopyEventArgs(IEnumerable copiedSlotIndexes,
ChaFileDefine.CoordinateType copySource, ChaFileDefine.CoordinateType copyDestination)
{
CopiedSlotIndexes = copiedSlotIndexes ?? throw new ArgumentNullException(nameof(copiedSlotIndexes));
CopySource = copySource;
CopyDestination = copyDestination;
}
///
/// Indexes of accessories that were selected to be copied.
///
public IEnumerable CopiedSlotIndexes { get; }
///
/// Coordinate the accessories are copied from.
///
public ChaFileDefine.CoordinateType CopySource { get; }
///
/// Coordinate the accessories are copied into.
///
public ChaFileDefine.CoordinateType CopyDestination { get; }
}
}