private void itemEditor_InflictStatusClicked(object sender, LabelClickedEventArgs e) { if (InflictStatusClicked != null) { InflictStatusClicked(this, e); } }
private void abilityAttributesEditor_LinkClicked(object sender, LabelClickedEventArgs e) { if (InflictStatusLabelClicked != null) { InflictStatusLabelClicked(this, e); } }
private void itemEditor_ItemAttributesClicked(object sender, LabelClickedEventArgs e) { if (ItemAttributesClicked != null) { ItemAttributesClicked(this, e); } }
private void itemEditor_ItemAttributesClicked( object sender, LabelClickedEventArgs e ) { if( ItemAttributesClicked != null ) { ItemAttributesClicked( this, e ); } }
private void itemEditor_InflictStatusClicked( object sender, LabelClickedEventArgs e ) { if( InflictStatusClicked != null ) { InflictStatusClicked( this, e ); } }
private void jobEditor_SkillSetClicked(object sender, LabelClickedEventArgs e) { if (SkillSetClicked != null) { SkillSetClicked(this, e); } }
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; } }
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; } }
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; } }
private void ItemAttributesClicked(object sender, LabelClickedEventArgs e) { allItemAttributesEditor1.SelectedIndex = e.Value; tabControl.SelectedTab = itemAttributesTabPage; }
private void InflictStatusClicked(object sender, LabelClickedEventArgs e) { allInflictStatusesEditor1.SelectedIndex = e.Value; tabControl.SelectedTab = inflictStatusesTabPage; }
private void jobEditor_SkillSetClicked( object sender, LabelClickedEventArgs e ) { if( SkillSetClicked != null ) { SkillSetClicked( this, e ); } }
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; } }
private void ItemAttributesClicked( object sender, LabelClickedEventArgs e ) { allItemAttributesEditor1.SelectedIndex = e.Value; tabControl.SelectedTab = itemAttributesTabPage; }
private void InflictStatusClicked( object sender, LabelClickedEventArgs e ) { allInflictStatusesEditor1.SelectedIndex = e.Value; tabControl.SelectedTab = inflictStatusesTabPage; }
private void abilityAttributesEditor_LinkClicked( object sender, LabelClickedEventArgs e ) { if( InflictStatusLabelClicked != null ) { InflictStatusLabelClicked( this, e ); } }