mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
23 lines
535 B
C#
23 lines
535 B
C#
namespace Content.Client.Weapons.Melee.Components;
|
|
|
|
/// <summary>
|
|
/// Used for melee attack animations. Typically just has a fadeout.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class WeaponArcVisualsComponent : Component
|
|
{
|
|
public EntityUid? User;
|
|
|
|
[DataField("animation")]
|
|
public WeaponArcAnimation Animation = WeaponArcAnimation.None;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("fadeOut")]
|
|
public bool Fadeout = true;
|
|
}
|
|
|
|
public enum WeaponArcAnimation : byte
|
|
{
|
|
None,
|
|
Thrust,
|
|
Slash,
|
|
}
|