I may not be understanding your question fully but if I am Be careful to understand how the RV is wired. Don't do what the previous poster said, you'll fry the shit out of something. This isn't changing a damn 4 and 3 prong 220V dryer line in your house. This is totally different. That RV 30A chord has 1 hot, 1 neutal and 1 ground. Your generator if you are using the 220V outlet is 2 120V hots out of phase, 1 neutral and 1 ground. Search dogbone adapters. These are commercially available but you need one from the generator to the 30A RV female if I understand your question. Nothing in the RV is actually 240V so don't run two hots to the RV if you have a 30A unit by connecting the ground and neutral and using the two hots like the previous post said!! In a 30A RV you have just a normal 120v plug (whih is what i read you have). So for the dogbone adapters it's simple going from 4 to 3 prongs to serve a 30A RV, they just leave one of the hots blank on the 4 prong end and connect the hot, neutral and ground to 3 prong end. The big 50A rv's are just using the 220V service as two 120V lines to serve two panels in the RV. When they are in a shitty state park with a 30A 120V service, that single 120V hot is jumped to both sides of the 4 prong RV plug and you power both panels with the same measly 30A line. You can't run everything you can with the normal 50A service which is two 50A 120V lines one for each panel. Probably too wordy. Just google dogbone but for gods sake don't run two hots to your 30A chord and connect the neutral and ground. You'll fuck it all too hell. Link and pic below on one of the dog bones going from 4 to 3.
Sorry if I misunderstood and wrote all that for nothing. This is a good starting link below.
Electrical Adapters