Item Drops

< Back


DropResult

Namespace: TestProject

Represents a generated drop result.

public class DropResult

Inheritance ObjectDropResult Attributes NullableContextAttribute, NullableAttribute

Properties

ItemId

Gets the unique identifier of the dropped item.

public string ItemId { get; }

Property Value

String

Quantity

Gets the quantity of the dropped item.

public int Quantity { get; }

Property Value

Int32

Rarity

Gets the rarity of the dropped item.

public DropRarity Rarity { get; }

Property Value

DropRarity

Constructors

DropResult(String, Int32, DropRarity)

Initializes a new instance of the DropResult class.

public DropResult(string itemId, int quantity, DropRarity rarity)

Parameters

itemId String The unique identifier of the item.

quantity Int32 The quantity of the item.

rarity DropRarity The rarity of the item.


< Back