Verb predict (#5638)
This commit is contained in:
26
Content.Shared/Access/Components/IdCardComponent.cs
Normal file
26
Content.Shared/Access/Components/IdCardComponent.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Content.Shared.Access.Systems;
|
||||
using Content.Shared.PDA;
|
||||
using Robust.Shared.Analyzers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.Access.Components
|
||||
{
|
||||
// TODO BUI NETWORKING if ever clients can open their own BUI's (id card console, pda), then this data should be
|
||||
// networked.
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(SharedIdCardSystem), typeof(SharedPDASystem))]
|
||||
public class IdCardComponent : Component
|
||||
{
|
||||
public override string Name => "IdCard";
|
||||
|
||||
[DataField("originalOwnerName")]
|
||||
public string OriginalOwnerName = default!;
|
||||
|
||||
[DataField("fullName")]
|
||||
public string? FullName;
|
||||
|
||||
[DataField("jobTitle")]
|
||||
public string? JobTitle;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.Access
|
||||
namespace Content.Shared.Access.Components
|
||||
{
|
||||
public class SharedIdCardConsoleComponent : Component
|
||||
{
|
||||
@@ -1,9 +1,10 @@
|
||||
using Content.Shared.Access.Components;
|
||||
using Content.Shared.Containers.ItemSlots;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Shared.Access
|
||||
namespace Content.Shared.Access.Systems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public abstract class SharedIdCardConsoleSystem : EntitySystem
|
||||
8
Content.Shared/Access/Systems/SharedIdCardSystem.cs
Normal file
8
Content.Shared/Access/Systems/SharedIdCardSystem.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Access.Systems;
|
||||
|
||||
public abstract class SharedIdCardSystem : EntitySystem
|
||||
{
|
||||
// this class just exists to make friends. Will you be its friend?
|
||||
}
|
||||
Reference in New Issue
Block a user