Files
OldThink/Content.Server/Humanoid/Components/RandomHumanoidSpawnerComponent.cs

17 lines
581 B
C#
Raw Normal View History

2022-10-20 06:46:05 -07:00
using Content.Shared.Humanoid.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Humanoid.Components;
/// <summary>
/// This is added to a marker entity in order to spawn a randomized
/// humanoid ingame.
/// </summary>
[RegisterComponent]
public sealed partial class RandomHumanoidSpawnerComponent : Component
2022-10-20 06:46:05 -07:00
{
[DataField("settings", customTypeSerializer: typeof(PrototypeIdSerializer<RandomHumanoidSettingsPrototype>))]
public string? SettingsPrototypeId;
2022-10-20 06:46:05 -07:00
}