2023-08-07 13:30:21 +03:00
|
|
|
using Robust.Shared.GameStates;
|
2023-04-27 23:54:17 +06:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
namespace Content.Shared._White.ClothingGrant.Components;
|
2023-08-07 13:30:21 +03:00
|
|
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
|
|
|
[AutoGenerateComponentState]
|
|
|
|
|
public sealed partial class ClothingGrantComponentComponent : Component
|
2023-04-27 23:54:17 +06:00
|
|
|
{
|
2023-08-07 13:30:21 +03:00
|
|
|
[DataField("component", required: true)]
|
|
|
|
|
[AlwaysPushInheritance]
|
|
|
|
|
public ComponentRegistry Components { get; private set; } = new();
|
2023-04-27 23:54:17 +06:00
|
|
|
|
2023-08-07 13:30:21 +03:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[AutoNetworkedField]
|
|
|
|
|
public bool IsActive = false;
|
2023-04-27 23:54:17 +06:00
|
|
|
}
|