Class ChangingAttachmentsEventArgs
Contains all information before changing item attachments.
public class ChangingAttachmentsEventArgs : IDeniableEvent, IFirearmEvent, IItemEvent, IPlayerEvent, IExiledEvent
- Inheritance
-
ChangingAttachmentsEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ChangingAttachmentsEventArgs(AttachmentsChangeRequest)
Initializes a new instance of the ChangingAttachmentsEventArgs class.
public ChangingAttachmentsEventArgs(AttachmentsChangeRequest request)
Parameters
request
AttachmentsChangeRequestThe request received from client.
Properties
CurrentAttachmentIdentifiers
Gets the old AttachmentIdentifier.
public IEnumerable<AttachmentIdentifier> CurrentAttachmentIdentifiers { get; }
Property Value
CurrentCode
Gets the CurrentAttachmentIdentifiers code.
public uint CurrentCode { get; }
Property Value
Firearm
Gets the Firearm which is being modified.
public Firearm Firearm { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the attachments can be changed.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
NewAttachmentIdentifiers
Gets or sets the new AttachmentIdentifier.
public List<AttachmentIdentifier> NewAttachmentIdentifiers { get; set; }
Property Value
NewCode
Gets the NewAttachmentIdentifiers code.
public uint NewCode { get; }
Property Value
Player
Gets the Player who's changing attachments.
public Player Player { get; }