Click or drag to resize
ClassProfile Constructor
Constructs a new instance of a class profile with the specified name, for the specified class and class specialization, with the specified stat weights and talents.

Namespace: Styx.CommonBot.CharacterManagement
Assembly: Styx (in Styx.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public ClassProfile(
	string name,
	WoWClass class,
	int specialization,
	WeightSet weightSet = null,
	TalentPlacementSet talents = null
)

Parameters

name
Type: SystemString
The name of this class profile.
class
Type: StyxWoWClass
The class of this class profile.
specialization
Type: SystemInt32
The 1-based specialization index.
weightSet (Optional)
Type: Styx.CommonBot.CharacterManagementWeightSet
The weight set. If this is null, an empty weight set is created.
talents (Optional)
Type: Styx.CommonBot.CharacterManagementTalentPlacementSet
The talents. If this is null, an empty talent placement set is created.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if name is null or whitespace.
See Also