private bool TryGetData(SkillNameTag skillName, SkillSlotTag skillSlot,
                                out XElement xElement)
        {
            xElement = xmlFile
                       .Element(skillName.ToString())
                       .Element(skillSlot.ToString());

            return(xElement != null);
        }
 private void SetTemplateData(SkillNameTag skillName,
                              SkillSlotTag skillSlot, SkillComponentTag skillComponent)
 {
     nameSlotCompDict[skillName][skillSlot] = skillComponent;
     xmlFile
     .Element(skillName.ToString())
     .Element(skillSlot.ToString())
     .Value
         = skillComponent.ToString();
 }
        private void SetTemplateData(SkillNameTag skillName,
                                     SkillTypeTag skillType)
        {
            SkillSlotTag skillSlot = SkillSlotTag.SkillType;

            nameTypeDict[skillName] = skillType;
            xmlFile
            .Element(skillName.ToString())
            .Element(skillSlot.ToString())
            .Value
                = skillType.ToString();
        }