Makes thieving gloves sneakier (#21398)
* Hidden DoAfters * Fix formatting warnings * Hide progress bar and pickup animation * Copy Hidden field in copy constructor
This commit is contained in:
@@ -40,6 +40,12 @@ public sealed partial class DoAfterArgs
|
||||
|
||||
public NetEntity? NetUsed;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the progress bar for this DoAfter should be hidden from other players.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool Hidden;
|
||||
|
||||
#region Event options
|
||||
/// <summary>
|
||||
/// The event that will get raised when the DoAfter has finished. If null, this will simply raise a <see cref="SimpleDoAfterEvent"/>
|
||||
@@ -239,6 +245,7 @@ public sealed partial class DoAfterArgs
|
||||
Delay = other.Delay;
|
||||
Target = other.Target;
|
||||
Used = other.Used;
|
||||
Hidden = other.Hidden;
|
||||
EventTarget = other.EventTarget;
|
||||
Broadcast = other.Broadcast;
|
||||
NeedHand = other.NeedHand;
|
||||
|
||||
Reference in New Issue
Block a user