Files
crystall-punk-14/Content.Server/GameTicking/Rules/Components/NukeOperativeSpawnerComponent.cs

21 lines
660 B
C#
Raw Normal View History

namespace Content.Server.GameTicking.Rules.Components;
/// <summary>
/// This is used for tagging a spawn point as a nuke operative spawn point
/// and providing loadout + name for the operative on spawn.
/// TODO: Remove once systems can request spawns from the ghost role system directly.
/// </summary>
[RegisterComponent]
[Access(typeof(NukeopsRuleSystem))]
public sealed class NukeOperativeSpawnerComponent : Component
{
[DataField("name")]
public string OperativeName = "";
[DataField("rolePrototype")]
public string OperativeRolePrototype = "";
[DataField("startingGearPrototype")]
public string OperativeStartingGear = "";
}