Table of Contents

Class CacklingEventArgs

Namespace
Exiled.Events.EventArgs.Item
Assembly
Exiled.Events.dll

Contains all information before a marshmallow man punches.

public class CacklingEventArgs : IMarshmallowEvent, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
CacklingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

CacklingEventArgs(MarshmallowItem, bool)

Initializes a new instance of the CacklingEventArgs class.

public CacklingEventArgs(MarshmallowItem marshmallow, bool isAllowed = true)

Parameters

marshmallow MarshmallowItem

The marshmallow item of the player cackling.

isAllowed bool

Whether the player is allowed to cackle.

Properties

IsAllowed

Gets or sets a value indicating whether the player is allowed to cackle.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Marshmallow

Gets the marshmallow item of the player cackling.

public Marshmallow Marshmallow { get; }

Property Value

Marshmallow

Player

Gets the player cackling.

public Player Player { get; }

Property Value

Player