예제 #1
0
파일: CS2_141.cs 프로젝트: jrgutier/SmartCC
 public CS2_141(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #2
0
파일: EX1_366.cs 프로젝트: jrgutier/SmartCC
 public EX1_366(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #3
0
파일: HERO_05.cs 프로젝트: jrgutier/SmartCC
 public HERO_05(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #4
0
 public NEW1_026(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #5
0
파일: PRO_001.cs 프로젝트: jrgutier/SmartCC
 public PRO_001(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #6
0
 public NEW1_025(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #7
0
 public DREAM_02(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #8
0
 public PRO_001b(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #9
0
 public DS1_185(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #10
0
파일: CS1_130.cs 프로젝트: jrgutier/SmartCC
 public CS1_130(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #11
0
파일: skele21.cs 프로젝트: jrgutier/SmartCC
 public skele21(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #12
0
파일: tt_010a.cs 프로젝트: jrgutier/SmartCC
 public tt_010a(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #13
0
        public static void LoadAll()
        {
            if (DatabasePath == null)
                return;

            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load(DatabasePath + "" + Path.DirectorySeparatorChar + "Bots" + Path.DirectorySeparatorChar + "SmartCC" + Path.DirectorySeparatorChar + "" + "Database.xml");

            foreach (XmlNode xmlNode in xmlDoc.DocumentElement.ChildNodes)
            {
                CardTemplate template = new CardTemplate();

                foreach (XmlNode node in xmlNode.ChildNodes)
                {
                    if (node.Name == "Id")
                    {
                        template.Id = node.InnerText;
                    }
                    else if (node.Name == "Name")
                    {
                        template.Name = node.InnerText;
                    }
                    else if (node.Name == "Cost")
                    {
                        template.Cost = int.Parse(node.InnerText);
                    }
                    else if (node.Name == "Type")
                    {
                        template.Type = node.InnerText;
                    }
                    else if (node.Name == "Race")
                    {
                        template.Race = node.InnerText;
                    }
                    else if (node.Name == "Atk")
                    {
                        template.Atk = int.Parse(node.InnerText);
                    }
                    else if (node.Name == "Health")
                    {
                        template.Health = int.Parse(node.InnerText);
                    }
                    else if (node.Name == "Durability")
                    {
                        template.Durability = int.Parse(node.InnerText);
                    }
                }
                templateList.Add(template);
            }
        }
예제 #14
0
파일: skele21.cs 프로젝트: jrgutier/SmartCC
 public skele21(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #15
0
 public TU4d_003(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #16
0
파일: tt_004.cs 프로젝트: jrgutier/SmartCC
 public tt_004(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #17
0
 public EX1_402(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #18
0
 public DREAM_05(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #19
0
 public TU4a_005(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #20
0
파일: DS1_055.cs 프로젝트: jrgutier/SmartCC
 public DS1_055(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #21
0
 public GAME_002(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #22
0
파일: Mekka3.cs 프로젝트: jrgutier/SmartCC
 public Mekka3(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #23
0
파일: CS1_129.cs 프로젝트: jrgutier/SmartCC
 public CS1_129(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #24
0
파일: HERO_08.cs 프로젝트: jrgutier/SmartCC
 public HERO_08(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #25
0
 public ds1_whelptoken(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #26
0
 public Mekka1(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }
예제 #27
0
파일: CS2_057.cs 프로젝트: jrgutier/SmartCC
 public CS2_057(CardTemplate newTemplate, bool isFriend, int id)
     : base(newTemplate,isFriend,id)
 {
 }
예제 #28
0
 public GAME_005(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id)
 {
 }