2021-06-18 01:49:18 -07:00
|
|
|
using Robust.Client.GameObjects;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Suspicion
|
|
|
|
|
{
|
2022-02-16 00:23:23 -07:00
|
|
|
sealed class SuspicionRoleSystem : EntitySystem
|
2021-06-18 01:49:18 -07:00
|
|
|
{
|
|
|
|
|
public override void Initialize()
|
|
|
|
|
{
|
|
|
|
|
base.Initialize();
|
|
|
|
|
|
|
|
|
|
SubscribeLocalEvent<SuspicionRoleComponent, PlayerAttachedEvent>((_, component, _) => component.PlayerAttached());
|
|
|
|
|
SubscribeLocalEvent<SuspicionRoleComponent, PlayerDetachedEvent>((_, component, _) => component.PlayerDetached());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|