2023-09-08 18:16:05 -07:00
|
|
|
|
using Content.Shared.Actions;
|
2024-03-29 02:41:09 -04:00
|
|
|
|
using Robust.Shared.Prototypes;
|
2023-09-08 18:16:05 -07:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Polymorph;
|
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class PolymorphActionEvent : InstantActionEvent
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2024-03-29 02:41:09 -04:00
|
|
|
|
/// The polymorph proto id, containing all the information about
|
|
|
|
|
|
/// the specific polymorph.
|
2023-09-08 18:16:05 -07:00
|
|
|
|
/// </summary>
|
2024-03-29 02:41:09 -04:00
|
|
|
|
[DataField]
|
|
|
|
|
|
public ProtoId<PolymorphPrototype>? ProtoId;
|
2024-02-01 08:17:02 -04:00
|
|
|
|
|
2024-03-29 02:41:09 -04:00
|
|
|
|
public PolymorphActionEvent(ProtoId<PolymorphPrototype> protoId) : this()
|
2024-02-01 08:17:02 -04:00
|
|
|
|
{
|
2024-03-29 02:41:09 -04:00
|
|
|
|
ProtoId = protoId;
|
2024-02-01 08:17:02 -04:00
|
|
|
|
}
|
2023-09-08 18:16:05 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class RevertPolymorphActionEvent : InstantActionEvent
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|