Royal Navy officer during the American War of Independence and the French Revolutionary Wars (1747-1798) (1747–1798)