Tether gun fixes (#8129)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Shared.Audio
|
||||
[DataField("enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
[DataField("sound", required: true)]
|
||||
[DataField("sound", required: true), ViewVariables(VVAccess.ReadWrite)]
|
||||
public SoundSpecifier Sound = default!;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -23,3 +23,12 @@ public sealed class TetherMoveEvent : EntityEventArgs
|
||||
{
|
||||
public MapCoordinates Coordinates;
|
||||
}
|
||||
|
||||
/// <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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user