Add FTL destinations (#9685)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Whitelist;
|
||||
|
||||
namespace Content.Server.Shuttles.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class FTLDestinationComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Should this destination be restricted in some form from console visibility.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("whitelist")]
|
||||
public EntityWhitelist? Whitelist;
|
||||
|
||||
/// <summary>
|
||||
/// Is this destination visible but available to be warped to?
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("enabled")]
|
||||
public bool Enabled = true;
|
||||
}
|
||||
Reference in New Issue
Block a user