Esempio n. 1
0
        public void SetChild(MirDataTool parent)
        {
            MotherParent = parent;
            for (int i = 0; i < MotherParent.ItemPanel.ItemInfoList.Count; i++)
            {
                if (MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.CraftingMaterial ||
                    MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.Ore ||
                    MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.Gem ||
                    MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.Scroll ||
                    MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.Awakening ||
                    MotherParent.ItemPanel.ItemInfoList[i].Type == ItemType.RuneStone)
                {
                    itemsCBox.Items.Add(MotherParent.ItemPanel.ItemInfoList[i]);
                }

                pickItemCBox.Items.Add(MotherParent.ItemPanel.ItemInfoList[i]);
            }
            UpdateInterface();
        }
Esempio n. 2
0
        public void SetChild(MirDataTool parent)
        {
            MotherParent = parent;
            for (int i = 0; i < MotherParent.MapPanel.MapInfoList.Count; i++)
            {
                ConquestMap_combo.Items.Add(MotherParent.MapPanel.MapInfoList[i]);
                PalaceMap_combo.Items.Add(MotherParent.MapPanel.MapInfoList[i]);
                ExtraMaps_combo.Items.Add(MotherParent.MapPanel.MapInfoList[i]);
            }

            WarType_combo.Items.AddRange(Enum.GetValues(typeof(ConquestType)).Cast <object>().ToArray());
            WarMode_combo.Items.AddRange(Enum.GetValues(typeof(ConquestGame)).Cast <object>().ToArray());
            WarType_combo.Items.Remove(ConquestType.Forced);
            for (int i = 0; i < MotherParent.MonsterPanel.MonsterInfoList.Count; i++)
            {
                if (MotherParent.MonsterPanel.MonsterInfoList[i].AI == 80)
                {
                    ArcherIndex_combo.Items.Add(MotherParent.MonsterPanel.MonsterInfoList[i]);
                }

                if (MotherParent.MonsterPanel.MonsterInfoList[i].AI == 81)
                {
                    GateIndex_combo.Items.Add(MotherParent.MonsterPanel.MonsterInfoList[i]);
                }

                if (MotherParent.MonsterPanel.MonsterInfoList[i].AI == 82)
                {
                    WallIndex_combo.Items.Add(MotherParent.MonsterPanel.MonsterInfoList[i]);
                }

                if (MotherParent.MonsterPanel.MonsterInfoList[i].AI == 74)
                {
                    SiegeIndex_combo.Items.Add(MotherParent.MonsterPanel.MonsterInfoList[i]);
                }
            }
        }
Esempio n. 3
0
 public void SetChild(MirDataTool parent)
 {
     MotherParent = parent;
 }