Files
tbd-station-14/Content.Shared/Cloning/SharedCloningSystem.cs
ScarKy0 5748118188 Clone toolshed commands (#41261)
* init

* fuck this file its such a mess why wont anyone sort this holy shit

* review
2025-11-03 13:05:56 +00:00

27 lines
1.2 KiB
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Cloning;
public abstract partial class SharedCloningSystem : EntitySystem
{
/// <summary>
/// Copy components from one entity to another based on a CloningSettingsPrototype.
/// </summary>
/// <param name="original">The orignal Entity to clone components from.</param>
/// <param name="clone">The target Entity to clone components to.</param>
/// <param name="settings">The clone settings prototype containing the list of components to clone.</param>
public virtual void CloneComponents(EntityUid original, EntityUid clone, CloningSettingsPrototype settings)
{
}
/// <summary>
/// Copy components from one entity to another based on a CloningSettingsPrototype.
/// </summary>
/// <param name="original">The orignal Entity to clone components from.</param>
/// <param name="clone">The target Entity to clone components to.</param>
/// <param name="settings">The clone settings prototype id containing the list of components to clone.</param>
public virtual void CloneComponents(EntityUid original, EntityUid clone, ProtoId<CloningSettingsPrototype> settings)
{
}
}