mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
14 lines
413 B
C#
14 lines
413 B
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Traits.Assorted;
|
|
|
|
/// <summary>
|
|
/// Upon MapInit buckles the attached entity to a newly spawned prototype.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(BuckleOnMapInitSystem))]
|
|
public sealed partial class BuckleOnMapInitComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField(required: true)]
|
|
public EntProtoId Prototype;
|
|
}
|