* even better item copying for the paradox clone * copy paper * fix * blacklist implanter * string.Empty --------- Co-authored-by: ScarKy0 <scarky0@onet.eu>
23 lines
747 B
C#
23 lines
747 B
C#
namespace Content.Shared.Cloning.Events;
|
|
|
|
/// <summary>
|
|
/// Raised before a mob is cloned. Cancel to prevent cloning.
|
|
/// This is raised on the original mob.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct CloningAttemptEvent(CloningSettingsPrototype Settings, bool Cancelled = false);
|
|
|
|
/// <summary>
|
|
/// Raised after a new mob was spawned when cloning a humanoid.
|
|
/// This is raised on the original mob.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct CloningEvent(CloningSettingsPrototype Settings, EntityUid CloneUid);
|
|
|
|
/// <summary>
|
|
/// Raised after a new item was spawned when cloning an item.
|
|
/// This is raised on the original item.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct CloningItemEvent(EntityUid CloneUid);
|