Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.CancelledUsingItem"/> event.
/// </summary>
public class PlayerCancelledUsingItemEventArgs : EventArgs, IUsableItemEvent
public class PlayerCancelledUsingItemEventArgs : EventArgs, IUsableItemEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerCancelledUsingItemEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.CancellingUsingItem"/> event.
/// </summary>
public class PlayerCancellingUsingItemEventArgs : EventArgs, IUsableItemEvent, ICancellableEvent
public class PlayerCancellingUsingItemEventArgs : EventArgs, IUsableItemEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerCancellingUsingItemEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.ChangedRadioRange"/> event.
/// </summary>
public class PlayerChangedRadioRangeEventArgs : EventArgs, IRadioItemEvent
public class PlayerChangedRadioRangeEventArgs : EventArgs, IRadioItemEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerChangedRadioRangeEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.ChangingRadioRange"/> event.
/// </summary>
public class PlayerChangingRadioRangeEventArgs : EventArgs, IRadioItemEvent, ICancellableEvent
public class PlayerChangingRadioRangeEventArgs : EventArgs, IRadioItemEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerChangingRadioRangeEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.DamagingWindow"/> event.
/// </summary>
public class PlayerDamagingWindowEventArgs : EventArgs, ICancellableEvent
public class PlayerDamagingWindowEventArgs : EventArgs, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerDamagingWindowEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.DeactivatingGenerator"/> event.
/// </summary>
public class PlayerDeactivatingGeneratorEventArgs : EventArgs, IGeneratorEvent, ICancellableEvent
public class PlayerDeactivatingGeneratorEventArgs : EventArgs, IGeneratorEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerDeactivatingGeneratorEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.DroppingItem"/> event.
/// </summary>
public class PlayerDroppingItemEventArgs : EventArgs, ICancellableEvent, IItemEvent
public class PlayerDroppingItemEventArgs : EventArgs, ICancellableEvent, IItemEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerDroppingItemEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.DryFiringWeapon"/> event.
/// </summary>
public class PlayerDryFiringWeaponEventArgs : EventArgs, IFirearmItemEvent, ICancellableEvent
public class PlayerDryFiringWeaponEventArgs : EventArgs, IFirearmItemEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerDryFiringWeaponEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.UpdatingEffect"/> event.
/// </summary>
public class PlayerEffectUpdatingEventArgs : EventArgs, ICancellableEvent
public class PlayerEffectUpdatingEventArgs : EventArgs, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerEffectUpdatingEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.FlippingCoin"/> event.
/// </summary>
public class PlayerFlippingCoinEventArgs : EventArgs, ICancellableEvent, ICoinItemEvent
public class PlayerFlippingCoinEventArgs : EventArgs, ICancellableEvent, ICoinItemEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerFlippingCoinEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.InteractingDoor"/> event.
/// </summary>
public class PlayerInteractingDoorEventArgs : EventArgs, IDoorEvent, ICancellableEvent
public class PlayerInteractingDoorEventArgs : EventArgs, IDoorEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerInteractingDoorEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@

namespace LabApi.Events.Arguments.PlayerEvents;

using Interfaces;

/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.PlacedBulletHole"/> event.
/// </summary>
public class PlayerPlacedBulletHoleEventArgs : EventArgs
public class PlayerPlacedBulletHoleEventArgs : EventArgs, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerPlacedBulletHoleEventArgs"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace LabApi.Events.Arguments.PlayerEvents;
/// <summary>
/// Represents the arguments for the <see cref="Handlers.PlayerEvents.ReloadingWeapon"/> event.
/// </summary>
public class PlayerReloadingWeaponEventArgs : EventArgs, IFirearmItemEvent, ICancellableEvent
public class PlayerReloadingWeaponEventArgs : EventArgs, IFirearmItemEvent, ICancellableEvent, IPlayerEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PlayerReloadingWeaponEventArgs"/> class.
Expand Down