* cloning refactor * cleanup and fixes * don't pick from 0 * give dwarves the correct species * fix dna and bloodstream reagent data cloning * don't copy helmets * be less redundant
14 lines
450 B
C#
14 lines
450 B
C#
namespace Content.Shared.Cloning.Events;
|
|
|
|
/// <summary>
|
|
/// Raised before a mob is cloned. Cancel to prevent cloning.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct CloningAttemptEvent(CloningSettingsPrototype Settings, bool Cancelled = false);
|
|
|
|
/// <summary>
|
|
/// Raised after a new mob got spawned when cloning a humanoid.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct CloningEvent(CloningSettingsPrototype Settings, EntityUid CloneUid);
|