перенос общих файлов из папки White в _White
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared._White.CheapSurgery;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class ActiveSurgeryComponent : Component
|
||||
{
|
||||
[ViewVariables] public EntityUid OrganUid = EntityUid.Invalid;
|
||||
}
|
||||
44
Content.Shared/_White/CheapSurgery/OnSurgeryStarted.cs
Normal file
44
Content.Shared/_White/CheapSurgery/OnSurgeryStarted.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Shared._White.CheapSurgery;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class OnSurgeryStarted : EntityEventArgs
|
||||
{
|
||||
public NetEntity Target;
|
||||
public List<OrganItem> OrganItems;
|
||||
|
||||
public OnSurgeryStarted(NetEntity target, List<OrganItem> organItems)
|
||||
{
|
||||
Target = target;
|
||||
OrganItems = organItems;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class OrganItem
|
||||
{
|
||||
public string Name;
|
||||
public NetEntity Uid;
|
||||
public SpriteSpecifier Icon;
|
||||
public List<OrganItem> Children = new();
|
||||
|
||||
public OrganItem(string name, NetEntity uid, SpriteSpecifier icon)
|
||||
{
|
||||
Name = name;
|
||||
Uid = uid;
|
||||
Icon = icon;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class OnOrganSelected : EntityEventArgs
|
||||
{
|
||||
public NetEntity Uid;
|
||||
|
||||
public OnOrganSelected(NetEntity uid)
|
||||
{
|
||||
Uid = uid;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Content.Shared._White.CheapSurgery;
|
||||
|
||||
public abstract class SharedCheapSurgerySystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user