* Non-accessed local variable * Merge cast and type checks. * StringComparison.Ordinal added for better culture support * Supposed code improvement in launcher. Remove unused code. * Update ExplosionHelper.cs Unintentional change. * Optimized Import * Add Robust.Shared.Utility import where it was deleted * Other random suggestion * Improve my comment
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; }
|
|
}
|
|
}
|
|
}
|