2023-11-15 19:15:07 +03:00
|
|
|
|
using Robust.Shared.GameStates;
|
2024-01-27 15:19:52 +03:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
|
namespace Content.Shared._White.Cult.Components;
|
2024-01-27 15:19:52 +03:00
|
|
|
|
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
|
|
|
|
public sealed partial class CultEmpowerComponent : Component
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataField("isRune")]
|
|
|
|
|
|
public bool IsRune;
|
|
|
|
|
|
|
2024-03-22 17:23:33 +09:00
|
|
|
|
public int MaxAllowedCultistActions = 5;
|
|
|
|
|
|
public int MinRequiredCultistActions = 2;
|
2024-01-27 15:19:52 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class CultEmpowerSelectedBuiMessage : BoundUserInterfaceMessage
|
|
|
|
|
|
{
|
2023-11-15 19:15:07 +03:00
|
|
|
|
public string ActionType;
|
2024-01-27 15:19:52 +03:00
|
|
|
|
|
2023-11-15 19:15:07 +03:00
|
|
|
|
public CultEmpowerSelectedBuiMessage(string actionType)
|
2024-01-27 15:19:52 +03:00
|
|
|
|
{
|
|
|
|
|
|
ActionType = actionType;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public enum CultEmpowerUiKey : byte
|
|
|
|
|
|
{
|
|
|
|
|
|
Key
|
|
|
|
|
|
}
|