public int AddBuild(Type typeItem, TextDefinition group, TextDefinition name, LokaiSkillName lokaiSkillToMake, double minLokaiSkill, double maxLokaiSkill, Type typeRes, TextDefinition nameRes, int amount, TextDefinition message, object arg)
        {
            BuildItem buildItem = new BuildItem(typeItem, group, name, arg);

            buildItem.AddRes(typeRes, nameRes, amount, message);
            buildItem.AddLokaiSkill(lokaiSkillToMake, minLokaiSkill, maxLokaiSkill);

            DoGroup(group, buildItem);
            return(m_BuildItems.Add(buildItem));
        }
Exemplo n.º 2
0
 public void AddBuildItem(BuildItem buildItem)
 {
     m_arBuildItem.Add(buildItem);
 }