Class ItemDrop
Represents an item drop in the game.
public class ItemDrop : IItemDrop, IItem
- Inheritance
-
ItemDrop
- Implements
- Inherited Members
- Extension Methods
Constructors
ItemDrop(IItem, int)
public ItemDrop(IItem item, int count = 1)
Parameters
ItemDrop(string, int, int)
Represents an item drop in the game.
public ItemDrop(string name, int itemId, int count)
Parameters
name
stringName of the item.
itemId
intItem ID of the item.
count
intNumber of items in the drop.
Properties
Count
Number of items being dropped. Defaults to 1.
public int Count { get; set; }
Property Value
Dropped
Indicates whether the item drop has been dropped or not.
public bool Dropped { get; set; }
Property Value
ItemId
Item ID of the item being dropped.
public int ItemId { get; set; }
Property Value
Name
Name of the item being dropped.
public string Name { get; set; }