2023-05-15 15:21:05 +10:00
|
|
|
using Content.Shared.Weapons.Reflect;
|
|
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Weapons.Ranged.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Can this entity be reflected.
|
|
|
|
|
/// Only applies if it is shot like a projectile and not if it is thrown.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ReflectiveComponent : Component
|
2023-05-15 15:21:05 +10:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("reflective")]
|
|
|
|
|
public ReflectType Reflective = ReflectType.NonEnergy;
|
|
|
|
|
}
|