2022-11-04 01:56:30 +01:00
|
|
|
using Content.Shared.Actions;
|
|
|
|
|
using Content.Shared.Actions.ActionTypes;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.Ghost;
|
2022-11-04 01:56:30 +01:00
|
|
|
using Robust.Shared.Utility;
|
2020-03-03 18:04:16 +01:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Client.Ghost
|
2020-03-03 18:04:16 +01:00
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2021-10-24 15:29:38 +13:00
|
|
|
[ComponentReference(typeof(SharedGhostComponent))]
|
|
|
|
|
public sealed class GhostComponent : SharedGhostComponent
|
2020-03-03 18:04:16 +01:00
|
|
|
{
|
2021-06-18 09:56:23 +02:00
|
|
|
public bool IsAttached { get; set; }
|
2022-11-04 01:56:30 +01:00
|
|
|
|
|
|
|
|
public InstantAction DisableLightingAction = new()
|
|
|
|
|
{
|
|
|
|
|
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/VerbIcons/light.svg.192dpi.png")),
|
|
|
|
|
DisplayName = "ghost-gui-toggle-lighting-manager-name",
|
|
|
|
|
Description = "ghost-gui-toggle-lighting-manager-desc",
|
|
|
|
|
ClientExclusive = true,
|
|
|
|
|
CheckCanInteract = false,
|
|
|
|
|
Event = new DisableLightingActionEvent(),
|
|
|
|
|
};
|
2020-03-03 18:04:16 +01:00
|
|
|
}
|
2022-11-04 01:56:30 +01:00
|
|
|
|
|
|
|
|
public sealed class DisableLightingActionEvent : InstantActionEvent { };
|
2020-03-03 18:04:16 +01:00
|
|
|
}
|