/// <summary> /// Initializes a new instance of the <see cref="MasteryCertificate"/> class. /// </summary> /// <param name="character">The character.</param> /// <param name="masteryCertificate">The mastery certificate.</param> internal MasteryCertificate(Character character, MasteryCertificate masteryCertificate) { if (masteryCertificate == null) return; MasteryLevel = masteryCertificate.MasteryLevel; Certificate = masteryCertificate.ToCharacter(character); }
/// <summary> /// Initializes a new instance of the <see cref="MasteryCertificate"/> class. /// </summary> /// <param name="character">The character.</param> /// <param name="masteryCertificate">The mastery certificate.</param> internal MasteryCertificate(Character character, MasteryCertificate masteryCertificate) { if (masteryCertificate == null) { return; } MasteryLevel = masteryCertificate.MasteryLevel; Certificate = masteryCertificate.ToCharacter(character); }