Files
tbd-station-14/Content.Shared/Suspicion/SharedSuspicionRoleComponent.cs
2022-02-16 18:23:23 +11:00

28 lines
739 B
C#

using System;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Suspicion
{
[NetworkedComponent()]
public abstract class SharedSuspicionRoleComponent : Component
{
}
[Serializable, NetSerializable]
public sealed class SuspicionRoleComponentState : ComponentState
{
public readonly string? Role;
public readonly bool? Antagonist;
public readonly (string name, EntityUid)[] Allies;
public SuspicionRoleComponentState(string? role, bool? antagonist, (string name, EntityUid)[] allies)
{
Role = role;
Antagonist = antagonist;
Allies = allies;
}
}
}