Files
tbd-station-14/Content.Shared/Throwing/ThrownItemComponent.cs
2022-02-16 18:23:23 +11:00

25 lines
583 B
C#

using System;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Throwing
{
[RegisterComponent, NetworkedComponent]
public sealed class ThrownItemComponent : Component
{
public EntityUid? Thrower { get; set; }
}
[Serializable, NetSerializable]
public sealed class ThrownItemComponentState : ComponentState
{
public EntityUid? Thrower { get; }
public ThrownItemComponentState(EntityUid? thrower)
{
Thrower = thrower;
}
}
}