public CS2_141(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public EX1_366(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public HERO_05(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public NEW1_026(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public PRO_001(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public NEW1_025(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public DREAM_02(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public PRO_001b(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public DS1_185(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public CS1_130(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public skele21(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public tt_010a(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
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); } }
public skele21(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public TU4d_003(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public tt_004(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public EX1_402(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public DREAM_05(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public TU4a_005(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public DS1_055(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public GAME_002(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public Mekka3(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public CS1_129(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public HERO_08(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public ds1_whelptoken(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public Mekka1(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }
public CS2_057(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate,isFriend,id) { }
public GAME_005(CardTemplate newTemplate, bool isFriend, int id) : base(newTemplate, isFriend, id) { }