mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
* Move viewsubscriber to shared + handle eye targets Need this stuff for AI. * Fix dumb * review
19 lines
616 B
C#
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) {}
|
|
}
|