Files
RobustToolbox/Robust.Shared/GameObjects/Systems/SharedViewSubscriberSystem.cs
metalgearslothandGitHub 140767c262 Move viewsubscriber to shared + handle eye targets (#5362)
* Move viewsubscriber to shared + handle eye targets

Need this stuff for AI.

* Fix dumb

* review
2024-08-23 18:29:57 +10:00

19 lines
616 B
C#

using Robust.Shared.Player;
namespace Robust.Shared.GameObjects;
public abstract class SharedViewSubscriberSystem : EntitySystem
{
// NOOP on client
/// <summary>
/// Subscribes the session to get PVS updates from the point of view of the specified entity.
/// </summary>
public virtual void AddViewSubscriber(EntityUid uid, ICommonSession session) {}
/// <summary>
/// Unsubscribes the session from getting PVS updates from the point of view of the specified entity.
/// </summary>
public virtual void RemoveViewSubscriber(EntityUid uid, ICommonSession session) {}
}