RequestShootEvent.cs 411 B

12345678910111213141516
  1. using Robust.Shared.Map;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.Weapons.Ranged.Events;
  4. /// <summary>
  5. /// Raised on the client to indicate it'd like to shoot.
  6. /// </summary>
  7. [Serializable, NetSerializable]
  8. public sealed class RequestShootEvent : EntityEventArgs
  9. {
  10. public NetEntity Gun;
  11. public NetCoordinates Coordinates;
  12. public NetEntity? Target;
  13. public List<int>? Shot;
  14. }