// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 Misandry // SPDX-FileCopyrightText: 2025 gus // // SPDX-License-Identifier: AGPL-3.0-or-later using Robust.Shared.Serialization; namespace Content.Shared._Shitcode.Wizard.Refund; [Serializable, NetSerializable] public sealed class StoreRefundState(List listings, bool refundDisabled) : BoundUserInterfaceState { public List Listings = listings; public bool RefundDisabled = refundDisabled; } [Serializable, NetSerializable] public struct RefundListingData(NetEntity entity, string displayName) { public NetEntity Entity = entity; public string DisplayName = displayName; } [Serializable, NetSerializable] public sealed class StoreRefundListingMessage(NetEntity listingEntity) : BoundUserInterfaceMessage { public NetEntity ListingEntity = listingEntity; } [Serializable, NetSerializable] public sealed class StoreRefundAllListingsMessage : BoundUserInterfaceMessage; [Serializable, NetSerializable] public enum RefundUiKey : byte { Key }