I just converted my class C to 50 amp. I have a 3000 watt inverter and a 4000 watt gen running through the existing auto transfer box, the output of that box goes to a new 50 amp auto transfer box which switches from shore cord to Gen/Inverter, the output of that goes to the breaker panel. The only downside is the stacked switch over boxes cause a long delay when turning on the Gen or Inverter due to the stacked delays. The system works great. I also have a 12 volt circuit powered by the inverter which opens the feed to the Converter when on Inverter. Various other relays open the 12 volt circuit when on shore or gen power.
Housted
Diagram --->
Diagram