Table of Contents

Class ItemLink

Namespace
GuildWars2.Chat
Assembly
GW2SDK.dll

Represents an item (stack) chat link.

public sealed record ItemLink : Link, IEquatable<Link>, IEquatable<ItemLink>
Inheritance
ItemLink
Implements
Inherited Members

Properties

Count

The number of items in the stack.

ItemId

The item ID.

SecondarySuffixItemId

The item ID of the second upgrade component if the item is upgraded, or null if the second upgrade slot is empty.

SkinId

The skin ID of the item if the item is transmuted, or null if the default skin is applied.

SuffixItemId

The item ID of the upgrade component if the item is upgraded, or null if the upgrade slot is empty.

Methods

GetSecondarySuffixItemLink()

Gets the item chat link for the second upgrade component, or null if the second upgrade slot is empty.

GetSkinLink()

Gets the skin chat link if the item is transmuted, or null if the default skin is applied.

GetSuffixItemLink()

Gets the item chat link for the upgrade component, or null if the upgrade slot is empty.

Parse(ReadOnlySpan<char>)

Converts a chat link code to a chat link object.

Parse(string)

Converts a chat link code to a chat link object.

ToString()

Converts the chat link object to a string that can be sent in chat.