示例#1
0
        /// <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);
        }
示例#2
0
        /// <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);
        }