29 lines
892 B
C#
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; }
|
|
}
|
|
}
|
|
}
|