Files
tbd-station-14/Content.Shared/Throwing/ThrownItemComponent.cs
Vera Aguilera Puerto 2ff16a580b Bunch more error fixes.
2021-12-04 12:59:44 +01:00

27 lines
623 B
C#

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