mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-20 06:58:55 +03:00
23 lines
762 B
C#
23 lines
762 B
C#
namespace Content.Server.Ghost.Roles.Components
|
|
{
|
|
/// <summary>
|
|
/// Allows a ghost to take this role, spawning their selected character.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(GhostRoleSystem))]
|
|
public sealed partial class GhostRoleCharacterSpawnerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)] [DataField("deleteOnSpawn")]
|
|
public bool DeleteOnSpawn = true;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)] [DataField("availableTakeovers")]
|
|
public int AvailableTakeovers = 1;
|
|
|
|
[ViewVariables]
|
|
public int CurrentTakeovers = 0;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)] [DataField("outfitPrototype")]
|
|
public string OutfitPrototype = "PassengerGear";
|
|
}
|
|
}
|