Need some help with updating(??) some code to a newer version... i think?

Those type errors are coming from the fact that you need to include more of the Engine headers directly. Just figure out where the types in question are defined in the engines headers and include the header for that module.