Files
tbd-station-14/Content.Client/Weapons/Melee/Components/WeaponArcVisualsComponent.cs
metalgearsloth fc9991cff2 Polish melee effects (#11653)
* Polish melee effects

* adjustments

* Animation changes

* Fix fist
2022-11-08 14:28:49 -06:00

22 lines
513 B
C#

namespace Content.Client.Weapons.Melee.Components;
/// <summary>
/// Used for melee attack animations. Typically just has a fadeout.
/// </summary>
[RegisterComponent]
public sealed class WeaponArcVisualsComponent : Component
{
[ViewVariables, DataField("animation")]
public WeaponArcAnimation Animation = WeaponArcAnimation.None;
[ViewVariables(VVAccess.ReadWrite), DataField("fadeOut")]
public bool Fadeout = true;
}
public enum WeaponArcAnimation : byte
{
None,
Thrust,
Slash,
}