They make a MANUAL SWITCH for something like this... You can wire which 120VAC zone you want to switch to the Generator or Power Inverter and just switch one master manual switch between SHORE -OFF-GEN/POWER INVERTER...
This requires getting into your 120VAC wiring around the circuit breakers in the Power Distribution Centers...
All images from GOOGLE SEARCH
This manual switch would replace the Electrical Relay Contactor unit... A bit more work but you get to select which 120VAC zones you want to switch between the two 120VAC sources...
I searched on GOOGLE SEARCH for 'RV manual 120VAC switch' and selected IMAGES when it loaded up... Then you can click on the items to get purchase info...
Roy Ken