Class: UGetPatreonUserInfoAsyncAction

//  GetPatreonUserInfoAsyncAction.h : 19

class NBPATREONAPICLIENT_API UGetPatreonUserInfoAsyncAction
    : public UCancellableAsyncAction;

Reflection-enabled


Retrieves information about a Patreon user. Can be used to check if they are subscribed to a specific tier in order to unlock content, display information about their subscription, etc.

Requires an access token obtained by some authentication method.


Properties

  • OnComplete

    public:
    FGetPatreonUserInfoAsyncActionEvent OnComplete;
    

    Reflection-enabled

    Specifiers:

    • BlueprintAssignable

    Event fired when the task completes successfully
  • OnFail

    public:
    FGetPatreonUserInfoAsyncActionFailedEvent OnFail;
    

    Reflection-enabled

    Specifiers:

    • BlueprintAssignable

    Event fired if the task fails for any reason

Methods

  • Activate

    //  GetPatreonUserInfoAsyncAction.h : 51
    
    public:
    virtual void Activate() override;
    

    Starts the task

  • Cancel

    //  GetPatreonUserInfoAsyncAction.h : 56
    
    public:
    virtual void Cancel() override;
    

    Can be called to cancel the task and prevent callbacks from being called

  • GetPatreonUserInfoAsyncAction

    //  GetPatreonUserInfoAsyncAction.h : 33
    
    public:
    static UGetPatreonUserInfoAsyncAction* GetPatreonUserInfoAsyncAction(
        const UObject* WorldContext,
        FAPITokenInfo TokenInfo
    );
    

    Reflection-enabled

    Specifiers:

    • BlueprintCallable
    • Category = NBPatreonAPIClient

    Meta Specifiers:

    • DisplayName = Get User Info
    • Keywords = NBPatreonAPIClient
    • WorldContext = WorldContext
    • BlueprintInternalUseOnly = true

    Retrieves information about the user corresponding to a specific access token.

    Will fail if the access token is empty, invalid, or expired.


    Arguments

    • WorldContext

      const UObject* WorldContext
      
    • TokenInfo

      FAPITokenInfo TokenInfo
      

      Token information for the user


    Returns

    • UGetPatreonUserInfoAsyncAction*
      






For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com