namespace Content.Shared.Stacks;
///
/// Raised on the original stack entity when it is split to create another.
///
/// The entity id of the new stack.
/// The entity id of the user splitting the stack.
[ByRefEvent]
public readonly record struct StackSplitEvent(EntityUid NewId, EntityUid? User);
///
/// Raised on the recipient stack entity when it is merged with another stack.
/// This is raised before the stack counts have been updated.
///
/// The entity id of the donor stack. May get deleted after event is resolved from merging.
/// The entity id of the recipient stack.
/// The amount in the stack transferred from the donor to the recipient
[ByRefEvent]
public readonly record struct StackMergeEvent(EntityUid Donor, EntityUid Recipient, int Amount);