Skip to content

Commit

Permalink
who wrote this? (#2298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyomus1337 authored Nov 29, 2023
1 parent 84e0bd8 commit 0c7a9cb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Exiled.Events/EventArgs/Player/ClosingGeneratorEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ public ClosingGeneratorEventArgs(Player player, Scp079Generator generator, bool
}

/// <summary>
/// Gets or sets a value indicating whether or not the generator door can be opened.
/// Gets or sets a value indicating whether or not the generator door can be closed.
/// </summary>
public bool IsAllowed { get; set; }

/// <summary>
/// Gets the generator that is opening.
/// Gets the generator that is being closed.
/// </summary>
public Generator Generator { get; }

/// <summary>
/// Gets the player who's opening the generator door.
/// Gets the player who's closing the generator door.
/// </summary>
public Player Player { get; }
}
}
}
6 changes: 3 additions & 3 deletions Exiled.Events/EventArgs/Player/PickingUpItemEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public PickingUpItemEventArgs(Player player, ItemPickupBase pickup, bool isAllow
public bool IsAllowed { get; set; }

/// <summary>
/// Gets the dropped pickup.
/// Gets the pickup that's being picked up.
/// </summary>
public Pickup Pickup { get; }

/// <summary>
/// Gets the player who dropped the item.
/// Gets the player who's picking up an item.
/// </summary>
public Player Player { get; }
}
}
}
8 changes: 4 additions & 4 deletions Exiled.Events/EventArgs/Scp244/OpeningScp244EventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Exiled.Events.EventArgs.Scp244
using InventorySystem.Items.Usables.Scp244;

/// <summary>
/// Contains all information before a player picks up an SCP-244.
/// Contains all information before a player opens SCP-244.
/// </summary>
public class OpeningScp244EventArgs : IDeniableEvent
{
Expand All @@ -29,13 +29,13 @@ public OpeningScp244EventArgs(Scp244DeployablePickup pickup)
}

/// <summary>
/// Gets a value representing the <see cref="Scp244Pickup"/> being picked up.
/// Gets a value representing the <see cref="Scp244Pickup"/> being opened.
/// </summary>
public Scp244Pickup Pickup { get; }

/// <summary>
/// Gets or sets a value indicating whether or not the player can interact with SCP-330.
/// Gets or sets a value indicating whether or not the player can open SCP-244.
/// </summary>
public bool IsAllowed { get; set; } = true;
}
}
}
8 changes: 4 additions & 4 deletions Exiled.Events/EventArgs/Scp244/UsingScp244EventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Exiled.Events.EventArgs.Scp244
using InventorySystem.Items.Usables.Scp244;

/// <summary>
/// Contains all information before radio battery charge is changed.
/// Contains all information before SCP-244 is used.
/// </summary>
public class UsingScp244EventArgs : IPlayerEvent, IDeniableEvent
{
Expand Down Expand Up @@ -44,13 +44,13 @@ public UsingScp244EventArgs(Scp244Item scp244, Player player, bool isAllowed = t
public Scp244 Scp244 { get; }

/// <summary>
/// Gets or sets a value indicating whether the radio battery charge can be changed or not.
/// Gets or sets a value indicating whether the SCP-244 can be used.
/// </summary>
public bool IsAllowed { get; set; }

/// <summary>
/// Gets the player who's using the radio.
/// Gets the player who's using the SCP-244.
/// </summary>
public Player Player { get; }
}
}
}

0 comments on commit 0c7a9cb

Please sign in to comment.