ReflectiveComponent.cs 489 B

123456789101112131415
  1. using Content.Shared.Weapons.Reflect;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Weapons.Ranged.Components;
  4. /// <summary>
  5. /// Can this entity be reflected.
  6. /// Only applies if it is shot like a projectile and not if it is thrown.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent]
  9. public sealed partial class ReflectiveComponent : Component
  10. {
  11. [ViewVariables(VVAccess.ReadWrite), DataField("reflective")]
  12. public ReflectType Reflective = ReflectType.NonEnergy;
  13. }