Table of Contents

Class Item

Namespace
GuildWars2.Items
Assembly
GW2SDK.dll

Information about an item. This type is the base type for all items. Cast objects of this type to a more specific type to access more properties.

[JsonConverter(typeof(ItemJsonConverter))]
public record Item : IEquatable<Item>
Inheritance
Item
Implements
Derived
Inherited Members

Properties

ChatLink

The chat code of the item. This can be used to link the item in the chat, but also in guild or squad messages.

Description

The description of the item as it appears in the tooltip.

Flags

Contains various modifiers.

GameTypes

The game types in which the items can be used.

IconHref

The URL of the item icon.

IconUrl

The URL of the item icon.

Id

The item ID.

Level

The minimum level required to use the item.

Name

The name of the item.

Rarity

The item rarity.

Restrictions

The character restrictions for the item.

VendorValue

The unit price of the item when sold to a merchant. Items will not appear in a sell-to-vendor list when this value is Zero, or when the NoSell flag is set.

Methods

GetChatLink()

Gets a chat link object for this item.