How use OnscreenshotCaptured delegate

I just dropped the response to this in another thread. Feel free to take a look:

In short, .h file needs:

static void ScreenshotCaptured(int32 Width, int32 Height, const TArray<FColor>& Bitmap);

.cpp file needs:

UGameViewportClient::OnScreenshotCaptured().AddStatic(&ScreenshotCaptured);