BP Function: Get User Info (w/ images)
C++ Struct | UGetPatreonUserInfoImgAsyncAction |
---|
Fetches information about the user and their subscriptions, AND downloads any associated images (e.g. their avatar image) and makes them available as a texture which can be used in UMG. This is a little bit slower than Get User Info because we may need to make several additional requests to download the images, but once this action completes you can be sure that all related images are available and ready to use.
If any user or tier does not have an associated image (e.g. because you never created a header image for your tiers) then
we will not make any additional requests for them and the textures will be null
.
Inputs
-
Token Info
API Token Info
The user's API access token. Usually obtained via oauth.
Outputs
-
Main Execution Pin (at the top)
Execution will immediately continue from this pin while the authentication process continues in the background. Do not use execution flowing from this pin to check for the results, they aren't ready yet!
-
Async Action
This is a reference to the action running in the background. You can use this to cancel the async action if you decide you actually don't need the results before it has completed.
-
On Complete
When the user's data has been successfully fetched, execution will flow from this pin.
User Info
should be valid and can be used at this point. -
On Fail
If the process fails for any reason, execution will flow from this pin. You can use this to display an error to the user, prompt them to try again, etc.
User Info
will be invalid and should not be used! -
User Info
Patreon User Info Imgs
Information about the user and their subscription status.
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com