using System; using GeometryTD.CustomUtility; namespace GeometryTD.Definition { [Serializable] public sealed class AttackPayload { public int BaseDamage { get; set; } public AttackPropertyType AttackPropertyType { get; set; } public TagRuntimeData[] TagRuntimes { get; set; } = Array.Empty(); public AttackPayload Clone() { return new AttackPayload { BaseDamage = BaseDamage, AttackPropertyType = AttackPropertyType, TagRuntimes = InventoryCloneUtility.CloneTagRuntimes(TagRuntimes) }; } } }