Пример #1
0
 private void itemEditor_InflictStatusClicked(object sender, LabelClickedEventArgs e)
 {
     if (InflictStatusClicked != null)
     {
         InflictStatusClicked(this, e);
     }
 }
Пример #2
0
 private void abilityAttributesEditor_LinkClicked(object sender, LabelClickedEventArgs e)
 {
     if (InflictStatusLabelClicked != null)
     {
         InflictStatusLabelClicked(this, e);
     }
 }
Пример #3
0
 private void itemEditor_ItemAttributesClicked(object sender, LabelClickedEventArgs e)
 {
     if (ItemAttributesClicked != null)
     {
         ItemAttributesClicked(this, e);
     }
 }
Пример #4
0
 private void itemEditor_ItemAttributesClicked( object sender, LabelClickedEventArgs e )
 {
     if( ItemAttributesClicked != null )
     {
         ItemAttributesClicked( this, e );
     }
 }
Пример #5
0
 private void itemEditor_InflictStatusClicked( object sender, LabelClickedEventArgs e )
 {
     if( InflictStatusClicked != null )
     {
         InflictStatusClicked( this, e );
     }
 }
Пример #6
0
 private void jobEditor_SkillSetClicked(object sender, LabelClickedEventArgs e)
 {
     if (SkillSetClicked != null)
     {
         SkillSetClicked(this, e);
     }
 }
Пример #7
0
        private void itemEditor_SecondTableLinkClicked(object sender, LabelClickedEventArgs e)
        {
            int navigate = -1;

            switch (e.SecondTable)
            {
            case LabelClickedEventArgs.SecondTableType.Weapon:
                if (e.Value <= 0x7F)
                {
                    navigate = e.Value;
                }
                break;

            case LabelClickedEventArgs.SecondTableType.Shield:
                if (e.Value <= 0x0F)
                {
                    navigate = e.Value + 0x80;
                }
                break;

            case LabelClickedEventArgs.SecondTableType.HeadBody:
                if (e.Value <= 0x3F)
                {
                    navigate = e.Value + 0x90;
                }
                break;

            case LabelClickedEventArgs.SecondTableType.Accessory:
                if (e.Value <= 0x1F)
                {
                    navigate = e.Value + 0xD0;
                }
                break;

            case LabelClickedEventArgs.SecondTableType.ChemistItem:
                if (e.Value <= 0x0D)
                {
                    if (e.Value <= 0x04)
                    {
                        navigate = e.Value + 0xF0;
                    }
                    else if (e.Value == 0x0D)
                    {
                        navigate = 0xF5;
                    }
                    else if (e.Value <= 0x0C)
                    {
                        navigate = e.Value - 0x05 + 0xF6;
                    }
                }
                break;
            }
            if (navigate != -1)
            {
                itemListBox.SelectedIndex = navigate;
            }
        }
Пример #8
0
 private void SkillSetClicked(object sender, LabelClickedEventArgs e)
 {
     if (e.Value >= 0xE0)
     {
         allSkillSetsEditor1.SelectedIndex = e.Value - 0xE0 + 0xB0;
         tabControl.SelectedTab            = skillSetsPage;
     }
     else if (e.Value >= 0xB0)
     {
         allMonsterSkillsEditor1.SelectedIndex = e.Value - 0xB0;
         tabControl.SelectedTab = monsterSkillsTab;
     }
     else
     {
         allSkillSetsEditor1.SelectedIndex = e.Value;
         tabControl.SelectedTab            = skillSetsPage;
     }
 }
Пример #9
0
        private void itemEditor_SecondTableLinkClicked( object sender, LabelClickedEventArgs e )
        {
            int navigate = -1;
            switch( e.SecondTable )
            {
                case LabelClickedEventArgs.SecondTableType.Weapon:
                    if( e.Value <= 0x7F )
                        navigate = e.Value;
                    break;
                case LabelClickedEventArgs.SecondTableType.Shield:
                    if( e.Value <= 0x0F )
                        navigate = e.Value + 0x80;
                    break;
                case LabelClickedEventArgs.SecondTableType.HeadBody:
                    if( e.Value <= 0x3F )
                        navigate = e.Value + 0x90;
                    break;
                case LabelClickedEventArgs.SecondTableType.Accessory:
                    if( e.Value <= 0x1F )
                        navigate = e.Value + 0xD0;
                    break;
                case LabelClickedEventArgs.SecondTableType.ChemistItem:
                    if( e.Value <= 0x0D )
                    {
                        if( e.Value <= 0x04 )
                            navigate = e.Value + 0xF0;
                        else if( e.Value == 0x0D )
                            navigate = 0xF5;
                        else if( e.Value <= 0x0C )
                            navigate = e.Value - 0x05 + 0xF6;
                    }
                    break;

            }
            if( navigate != -1 )
            {
                itemListBox.SelectedIndex = navigate;
            }
        }
Пример #10
0
 private void ItemAttributesClicked(object sender, LabelClickedEventArgs e)
 {
     allItemAttributesEditor1.SelectedIndex = e.Value;
     tabControl.SelectedTab = itemAttributesTabPage;
 }
Пример #11
0
 private void InflictStatusClicked(object sender, LabelClickedEventArgs e)
 {
     allInflictStatusesEditor1.SelectedIndex = e.Value;
     tabControl.SelectedTab = inflictStatusesTabPage;
 }
Пример #12
0
 private void jobEditor_SkillSetClicked( object sender, LabelClickedEventArgs e )
 {
     if( SkillSetClicked != null )
     {
         SkillSetClicked( this, e );
     }
 }
Пример #13
0
 private void SkillSetClicked( object sender, LabelClickedEventArgs e )
 {
     if( e.Value >= 0xE0 )
     {
         allSkillSetsEditor1.SelectedIndex = e.Value - 0xE0 + 0xB0;
         tabControl.SelectedTab = skillSetsPage;
     }
     else if( e.Value >= 0xB0 )
     {
         allMonsterSkillsEditor1.SelectedIndex = e.Value - 0xB0;
         tabControl.SelectedTab = monsterSkillsTab;
     }
     else
     {
         allSkillSetsEditor1.SelectedIndex = e.Value;
         tabControl.SelectedTab = skillSetsPage;
     }
 }
Пример #14
0
 private void ItemAttributesClicked( object sender, LabelClickedEventArgs e )
 {
     allItemAttributesEditor1.SelectedIndex = e.Value;
     tabControl.SelectedTab = itemAttributesTabPage;
 }
Пример #15
0
 private void InflictStatusClicked( object sender, LabelClickedEventArgs e )
 {
     allInflictStatusesEditor1.SelectedIndex = e.Value;
     tabControl.SelectedTab = inflictStatusesTabPage;
 }
Пример #16
0
 private void abilityAttributesEditor_LinkClicked( object sender, LabelClickedEventArgs e )
 {
     if( InflictStatusLabelClicked != null )
     {
         InflictStatusLabelClicked( this, e );
     }
 }