Melee refactor (#10897)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
|
||||
public enum WeaponArcAnimation : byte
|
||||
{
|
||||
None,
|
||||
Thrust,
|
||||
Slash,
|
||||
}
|
||||
Reference in New Issue
Block a user