Click or drag to resize
ClassProfileLoad Method
Loads a ClassProfile instance from a file path.

Namespace: Styx.CommonBot.CharacterManagement
Assembly: Styx (in Styx.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public static ClassProfile Load(
	string filePath
)

Parameters

filePath
Type: SystemString
The path to the file.

Return Value

Type: ClassProfile
The loaded instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if filePath is null.
FileNotFoundExceptionThrown if the file referred to by filePath doesn't exist.
ClassProfileLoadExceptionThrown if the class profile fails loading.
See Also