public Gear ChangeGear(Gear gear, Gear.Slot targetSlot) { Gear oldGear = m_outfit.GetGear(targetSlot); if (m_outfit.ChangeGear(gear, targetSlot)) { return(oldGear); } return(gear); }