// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 GoobBot // SPDX-FileCopyrightText: 2025 Misandry // SPDX-FileCopyrightText: 2025 Solstice // SPDX-FileCopyrightText: 2025 SolsticeOfTheWinter // SPDX-FileCopyrightText: 2025 gus // // SPDX-License-Identifier: AGPL-3.0-or-later using Content.Goobstation.Shared.Chemistry; using Content.Goobstation.Shared.Clothing; using Content.Goobstation.Shared.Devil; using Content.Goobstation.Shared.Flashbang; using Content.Goobstation.Shared.Stunnable; using Content.Shared._Goobstation.Wizard.Chuuni; using Content.Shared._White.Standing; using Content.Shared.Damage.Events; using Content.Shared.Heretic; using Content.Shared.Inventory; using Content.Shared.Inventory.Events; using Content.Shared.Mobs; namespace Content.Goobstation.Shared.Inventory; public partial class GoobInventorySystem { [Dependency] private readonly InventorySystem _inventorySystem = default!; public void InitializeRelays() { base.Initialize(); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent(RefRelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent>(RefRelayInventoryEvent); SubscribeLocalEvent(RelayInventoryEvent); SubscribeLocalEvent>(RefRelayInventoryEvent); } private void RefRelayInventoryEvent(EntityUid uid, InventoryComponent component, ref T args) where T : IInventoryRelayEvent { _inventorySystem.RelayEvent((uid, component), ref args); } private void RelayInventoryEvent(EntityUid uid, InventoryComponent component, T args) where T : IInventoryRelayEvent { _inventorySystem.RelayEvent((uid, component), args); } }