PolymorphOnTriggerComponent.cs 467 B

123456789101112131415161718
  1. using Content.Shared.Polymorph;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Server.Polymorph.Components;
  4. /// <summary>
  5. /// Intended for use with the trigger system.
  6. /// Polymorphs the user of the trigger.
  7. /// </summary>
  8. [RegisterComponent]
  9. public sealed partial class PolymorphOnTriggerComponent : Component
  10. {
  11. /// <summary>
  12. /// Polymorph settings.
  13. /// </summary>
  14. [DataField(required: true)]
  15. public ProtoId<PolymorphPrototype> Polymorph;
  16. }