// ============================ ItemDisplayInfo ============================ \\ private void SearchModel(string DisplayID) { if (cbx_ParseXMLData.Checked) { ItemDisplayInfo = loader.loadItemDisplay(DisplayID); if (ItemDisplayInfo == null) { return; } foreach (KeyValuePair <string, string> attribute in ItemDisplayInfo) { switch (attribute.Key) { case "m_helmetGeosetVis": txtm_helmetGeosetVis.Text = attribute.Value; break; case "m_groupSoundIndex": txtm_groupSoundIndex.Text = attribute.Value; break; case "m_spellVisualID": txtm_spellVisualID.Text = attribute.Value; break; case "m_inventoryIcon": txtm_inventoryIcon.Text = attribute.Value; break; case "RightModelTexture": txtm_RightModelTexture.Text = attribute.Value; break; case "HandsTexture": txtm_HandsTexture.Text = attribute.Value; break; case "LowerArmTexture": txtm_LowerArmTexture.Text = attribute.Value; break; case "LowerTorsoTexture": txtm_LowerTorsoTexture.Text = attribute.Value; break; case "m_helmetGeosetVis_1": txtm_helmetGeosetVis_1.Text = attribute.Value; break; // case "m_inventoryIcon_1": txtm_inventoryIcon_1.Text = attribute.Value; break; not used case "UpperArmTexture": txtm_UpperArmTexture.Text = attribute.Value; break; case "m_geosetGroup_1": txtm_geosetGroup_1.Text = attribute.Value; break; case "m_geosetGroup_2": txtm_geosetGroup_2.Text = attribute.Value; break; case "m_particleColorID": txtm_particleColorID.Text = attribute.Value; break; case "LeftModel": txtm_LeftModel.Text = attribute.Value; break; case "m_itemVisual": txtm_itemVisual.Text = attribute.Value; break; case "m_flags": txtm_flags.Text = attribute.Value; break; case "RightModel": txtm_RightModel.Text = attribute.Value; break; case "UpperTorsoTexture": txtm_UpperTorsoTexture.Text = attribute.Value; break; case "LeftModelTexture": txtm_LeftModelTexture.Text = attribute.Value; break; case "m_geosetGroup": txtm_geosetGroup.Text = attribute.Value; break; case "FootTexture": txtm_FootTexture.Text = attribute.Value; break; case "UpperLegTexture": txtm_UpperLegTexture.Text = attribute.Value; break; case "LowerLegTexture": txtm_LowerLegTexture.Text = attribute.Value; break; } // debug //Console.WriteLine("Key = {0}, Value = {1}", attribute.Key, attribute.Value); // Console.Write("String " + attribute.Key + ", "); } } }