Predict GlueSystem (#39079)

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
Kyle Tyo
2025-07-30 15:57:50 -04:00
committed by GitHub
parent a8b65f2da7
commit 68ba22548d
5 changed files with 64 additions and 49 deletions

View File

@@ -1,17 +1,14 @@
using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
namespace Content.Shared.Interaction.Components
namespace Content.Shared.Interaction.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class UnremoveableComponent : Component
{
[RegisterComponent]
[NetworkedComponent]
public sealed partial class UnremoveableComponent : Component
{
/// <summary>
/// If this is true then unremovable items that are removed from inventory are deleted (typically from corpse gibbing).
/// Items within unremovable containers are not deleted when removed.
/// </summary>
[DataField("deleteOnDrop")]
public bool DeleteOnDrop = true;
}
/// <summary>
/// If this is true then unremovable items that are removed from inventory are deleted (typically from corpse gibbing).
/// Items within unremovable containers are not deleted when removed.
/// </summary>
[DataField, AutoNetworkedField]
public bool DeleteOnDrop = true;
}