Click or drag to resize
Item Constructor
View Project on GitHub
Represents a single skin.

Namespace: GW2CSharp.V2.Unauthenticated.Items
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public Item(
	int id,
	string chat_link,
	string name,
	string icon,
	string description,
	ItemType type,
	Rarity rarity,
	int level,
	int vendor_value,
	int default_skin,
	IEnumerable<ItemFlag> flags,
	IEnumerable<GameMode> game_types,
	IEnumerable<Restriction> restrictions,
	Object details
)

Parameters

id
Type: SystemInt32
The item id.
chat_link
Type: SystemString
The chat link.
name
Type: SystemString
The item name.
icon
Type: SystemString
The full icon URL.
description
Type: SystemString
The item description.
type
Type: GW2CSharp.V2.Unauthenticated.Items.EnumsItemType
The item type.
rarity
Type: GW2CSharp.EnumsRarity
The item rarity.
level
Type: SystemInt32
The required level.
vendor_value
Type: SystemInt32
The value in coins when selling to a vendor. (Can be non-zero even when the item has the NoSell flag.)
default_skin
Type: SystemInt32
The default skin id.
flags
Type: System.Collections.GenericIEnumerableItemFlag
Flags applying to the item.
game_types
Type: System.Collections.GenericIEnumerableGameMode
The game types in which the item is usable. At least one game type is specified.
restrictions
Type: System.Collections.GenericIEnumerableRestriction
Restrictions applied to the item.
details
Type: SystemObject
Additional item details if applicable, depending on the item type.
See Also