The answer is that we need more info to go past the excellent post by Old Biscuit.
That is how inverter wiring interfaces.
IF the inverter or inverter/charger has an internal transfer switch (which most higher-end pieces do) then its 120 VAC wiring would be from a breaker on the main 120 VAC panel TO the inverter 120 VAC IN and from inverter OUT terminal either to a sub-panel that powers only things which can be run off the inverter OR directly to those circuits that can be powered by the inverter. When an inverter such as this sees 120 VAC from the main breaker box (either generator or shore power) it merely "passes through" 120 VAC to those circuits downstream. And, if an inverter/charger, also activates the charger section.
If no built-in transfer switch than a second ATS is needed.
I have seen coaches/inverters wired both ways-- depends on the inverter.