1
0

PolymorphActions.cs 588 B

123456789101112131415161718192021222324
  1. using Content.Shared.Actions;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Polymorph;
  4. public sealed partial class PolymorphActionEvent : InstantActionEvent
  5. {
  6. /// <summary>
  7. /// The polymorph proto id, containing all the information about
  8. /// the specific polymorph.
  9. /// </summary>
  10. [DataField]
  11. public ProtoId<PolymorphPrototype>? ProtoId;
  12. public PolymorphActionEvent(ProtoId<PolymorphPrototype> protoId) : this()
  13. {
  14. ProtoId = protoId;
  15. }
  16. }
  17. public sealed partial class RevertPolymorphActionEvent : InstantActionEvent
  18. {
  19. }