コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        private static void D20Character(XmlElement Element, CharacterSheet Receiver)
        {
            Int32  Count = Element.ChildNodes.Count;
            String Name;

            for (Int32 I = 0; I < Count; I++)
            {
                Name = Element.ChildNodes[I].Name;

                if (Name == "CharacterSheet")
                {
                    SheetConverter.CharacterSheet(Element.ChildNodes[I], Receiver);
                }
            }
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        private static void CharacterSheet(XmlNode Element, CharacterSheet Receiver)
        {
            SheetConverter.CharacterSheetDetails(Element["Details"], Receiver);
            SheetConverter.CharacterAbilityScores(Element["AbilityScores"], Receiver);
            SheetConverter.CharacterStatBlock(Element["StatBlock"], Receiver);
            SheetConverter.CharacterRulesElementTally(Element["RulesElementTally"], Receiver);
            SheetConverter.CharacterPowerStats(Element["PowerStats"], Receiver);

            //Others
            Int32  Count = Element.ChildNodes.Count;
            String Name;

            for (Int32 I = 0; I < Count; I++)
            {
                Name = Element.ChildNodes[I].Name;

                if (Name == "AbilityScores")
                {
                }
            }
        }