Content update for NetEntities (#18935)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Shared.Weapons.Ranged.Events;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MuzzleFlashEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid;
|
||||
public NetEntity Uid;
|
||||
public string Prototype;
|
||||
|
||||
/// <summary>
|
||||
@@ -16,7 +16,7 @@ public sealed class MuzzleFlashEvent : EntityEventArgs
|
||||
/// </summary>
|
||||
public bool MatchRotation;
|
||||
|
||||
public MuzzleFlashEvent(EntityUid uid, string prototype, bool matchRotation = false)
|
||||
public MuzzleFlashEvent(NetEntity uid, string prototype, bool matchRotation = false)
|
||||
{
|
||||
Uid = uid;
|
||||
Prototype = prototype;
|
||||
|
||||
@@ -9,6 +9,6 @@ namespace Content.Shared.Weapons.Ranged.Events;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class RequestShootEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Gun;
|
||||
public EntityCoordinates Coordinates;
|
||||
}
|
||||
public NetEntity Gun;
|
||||
public NetCoordinates Coordinates;
|
||||
}
|
||||
|
||||
@@ -8,5 +8,5 @@ namespace Content.Shared.Weapons.Ranged.Events;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class RequestStopShootEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Gun;
|
||||
}
|
||||
public NetEntity Gun;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user