This is used internally - although you're able to use it you probably shouldn't.
Called by engine when a save is being saved.
This handles saving gamemode and calls all of the hooks added with saverestore.AddSaveHook.
1 ISave save
The save object to write data into the save file.