Files
tbd-station-14/Content.Shared/GameObjects/EntitySystemMessages/MeleeWeaponSystemMessages.cs
Víctor Aguilera Puerto b927fddf4c Better click attack effect
2020-08-31 19:32:06 +02:00

29 lines
892 B
C#

using System;
using System.Collections.Generic;
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
using Robust.Shared.Serialization;
namespace Content.Shared.GameObjects.EntitySystemMessages
{
public static class MeleeWeaponSystemMessages
{
[Serializable, NetSerializable]
public sealed class PlayMeleeWeaponAnimationMessage : EntitySystemMessage
{
public PlayMeleeWeaponAnimationMessage(string arcPrototype, Angle angle, EntityUid attacker, List<EntityUid> hits)
{
ArcPrototype = arcPrototype;
Angle = angle;
Attacker = attacker;
Hits = hits;
}
public string ArcPrototype { get; }
public Angle Angle { get; }
public EntityUid Attacker { get; }
public List<EntityUid> Hits { get; }
}
}
}