Files
Delta-v/Content.Shared/Storage/Events/StorageInsertFailedEvent.cs
T
ShadowCommander a6e61f9f52 Add a component that inserts the held item when no interaction happens on the stored item (#29823)
* Insert when held item has no interaction with stored item

* Decouple inserting on failure

* Add component that stores the used entity when no interaction happened

* Add prediction
2024-08-11 14:50:15 +01:00

7 lines
212 B
C#

using Content.Shared.Hands.Components;
namespace Content.Shared.Storage.Events;
[ByRefEvent]
public record struct StorageInsertFailedEvent(Entity<StorageComponent?> Storage, Entity<HandsComponent?> Player);