Table of Contents

Class ItemRemovedEvent

Namespace
WorldMachineLoader.API.Events
Assembly
WML.API.dll

Event that is triggered when an item gets removed from the player's inventory.

public class ItemRemovedEvent
Inheritance
ItemRemovedEvent
Inherited Members

Constructors

ItemRemovedEvent(int, string)

Initializes a new instance of the ItemRemovedEvent class.

public ItemRemovedEvent(int itemID, string itemName)

Parameters

itemID int

The ID of an item.

itemName string

The name of an item.

Properties

ItemID

The ID of an item.

public int ItemID { get; }

Property Value

int

ItemName

The name of an item.

public string ItemName { get; }

Property Value

string