本文整理汇总了C#中HREngine.Bots.CardTemplate类的典型用法代码示例。如果您正苦于以下问题:C# CardTemplate类的具体用法?C# CardTemplate怎么用?C# CardTemplate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CardTemplate类属于HREngine.Bots命名空间,在下文中一共展示了CardTemplate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: EX1_366
public EX1_366(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例2: CS2_057
public CS2_057(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例3: PRO_001
public PRO_001(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例4: ds1_whelptoken
public ds1_whelptoken(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例5: NEW1_026
public NEW1_026(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例6: CS1_129
public CS1_129(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例7: DREAM_02
public DREAM_02(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例8: GAME_002
public GAME_002(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例9: Mekka3
public Mekka3(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例10: TU4a_005
public TU4a_005(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例11: DS1_055
public DS1_055(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例12: tt_004
public tt_004(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例13: skele21
public skele21(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}
示例14: LoadAll
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);
}
}
示例15: HERO_05
public HERO_05(CardTemplate newTemplate, bool isFriend, int id)
: base(newTemplate,isFriend,id)
{
}