1
0

BuckleOnMapInitComponent.cs 416 B

1234567891011121314
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Server.Traits.Assorted;
  3. /// <summary>
  4. /// Upon MapInit buckles the attached entity to a newly spawned prototype.
  5. /// </summary>
  6. [RegisterComponent, Access(typeof(BuckleOnMapInitSystem))]
  7. public sealed partial class BuckleOnMapInitComponent : Component
  8. {
  9. [ViewVariables(VVAccess.ReadWrite)]
  10. [DataField(required: true)]
  11. public EntProtoId Prototype;
  12. }