Table of Contents

Class ItemDrop

Namespace
RisingV.Core.Items.Drops
Assembly
RisingV.Core.LootEngine.dll

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

item IItem
count int

ItemDrop(string, int, int)

Represents an item drop in the game.

public ItemDrop(string name, int itemId, int count)

Parameters

name string

Name of the item.

itemId int

Item ID of the item.

count int

Number of items in the drop.

Properties

Count

Number of items being dropped. Defaults to 1.

public int Count { get; set; }

Property Value

int

Dropped

Indicates whether the item drop has been dropped or not.

public bool Dropped { get; set; }

Property Value

bool

ItemId

Item ID of the item being dropped.

public int ItemId { get; set; }

Property Value

int

Name

Name of the item being dropped.

public string Name { get; set; }

Property Value

string