Files
OldThink/Content.Shared/Weapons/Ranged/Systems/SharedTetherGunSystem.cs

35 lines
875 B
C#
Raw Normal View History

2022-05-13 12:24:34 +10:00
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Ranged.Systems;
2022-05-13 12:24:34 +10:00
public abstract class SharedTetherGunSystem : EntitySystem
{
protected const string CommandName = "tethergun";
2022-05-13 12:24:34 +10:00
}
[Serializable, NetSerializable]
public sealed class StartTetherEvent : EntityEventArgs
{
public EntityUid Entity;
public MapCoordinates Coordinates;
}
[Serializable, NetSerializable]
public sealed class StopTetherEvent : EntityEventArgs {}
[Serializable, NetSerializable]
public sealed class TetherMoveEvent : EntityEventArgs
{
public MapCoordinates Coordinates;
}
2022-05-13 18:59:12 +10:00
/// <summary>
/// Client can't know the tether's <see cref="EntityUid"/> in advance so needs to be told about it for prediction.
/// </summary>
[Serializable, NetSerializable]
public sealed class PredictTetherEvent : EntityEventArgs
{
public EntityUid Entity;
}