Ambient music fixes (#17685)

This commit is contained in:
metalgearsloth
2023-06-27 21:28:51 +10:00
committed by GitHub
parent 46a0f178e5
commit 1485666a23
16 changed files with 456 additions and 362 deletions

View File

@@ -0,0 +1,10 @@
namespace Content.Shared.Salvage.Expeditions;
public enum ExpeditionStage : byte
{
Added,
Running,
Countdown,
MusicCountdown,
FinalCountdown,
}

View File

@@ -1,10 +1,9 @@
using Content.Shared.Salvage.Expeditions;
using Content.Shared.Salvage.Expeditions.Modifiers;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Salvage;
namespace Content.Shared.Salvage.Expeditions;
[Serializable, NetSerializable]
public sealed class SalvageExpeditionConsoleState : BoundUserInterfaceState

View File

@@ -0,0 +1,17 @@
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Salvage.Expeditions;
[NetworkedComponent]
public abstract class SharedSalvageExpeditionComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("stage")]
public ExpeditionStage Stage = ExpeditionStage.Added;
}
[Serializable, NetSerializable]
public sealed class SalvageExpeditionComponentState : ComponentState
{
public ExpeditionStage Stage;
}