BeforeForceSayEvent.cs 489 B

1234567891011121314
  1. using Content.Shared.Dataset;
  2. using Robust.Shared.Prototypes;
  3. using Robust.Shared.Serialization;
  4. namespace Content.Shared.Damage.Events;
  5. /// <summary>
  6. /// Event for interrupting and changing the prefix for when an entity is being forced to say something
  7. /// </summary>
  8. [Serializable, NetSerializable]
  9. public sealed class BeforeForceSayEvent(ProtoId<LocalizedDatasetPrototype> prefixDataset) : EntityEventArgs
  10. {
  11. public ProtoId<LocalizedDatasetPrototype> Prefix = prefixDataset;
  12. }