Files
tbd-station-14/Content.Shared/Standing/StandingStateComponent.cs
2022-07-29 12:13:12 +10:00

25 lines
805 B
C#

using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared.Standing
{
[Access(typeof(StandingStateSystem))]
[RegisterComponent, NetworkedComponent]
public sealed class StandingStateComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("downSound")]
public SoundSpecifier DownSound { get; } = new SoundCollectionSpecifier("BodyFall");
[DataField("standing")]
public bool Standing { get; set; } = true;
/// <summary>
/// List of fixtures that had their collision mask changed when the entity was downed.
/// Required for re-adding the collision mask.
/// </summary>
[DataField("changedFixtures")]
public List<string> ChangedFixtures = new();
}
}