Click or drag to resize
Achievement Constructor
View Project on GitHub
Initialization of a new achievement object.

Namespace: GW2CSharp.V2.Unauthenticated.Achievement
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public Achievement(
	int id,
	string icon,
	string name,
	string description,
	string requirement,
	string type,
	IEnumerable<AchievementCategories> flags
)

Parameters

id
Type: SystemInt32
The achievement id.
icon
Type: SystemString
(optional) The achievement icon.
name
Type: SystemString
The achievement name.
description
Type: SystemString
The achievement description.
requirement
Type: SystemString
The achievement requirement as listed in-game.
type
Type: SystemString
The achievement type.
flags
Type: System.Collections.GenericIEnumerableAchievementCategories
Achievement categories.
See Also