Example #1
0
        /// <summary>
        /// Sends the complete collection of known skills to the <see cref="Owner"/>, if possible.
        /// </summary>
        void SendAllKnownSkills()
        {
            var netSender = Owner as INetworkSender;

            if (netSender == null)
            {
                return;
            }

            using (var pw = ServerPacket.SkillSetKnownAll(KnownSkills))
            {
                netSender.Send(pw, ServerMessageType.GUIUserStats);
            }
        }