Struct: FPatreonUserInfoImgs

//  PatreonUserInfoImgs.h : 16

struct NBPATREONAPICLIENT_API FPatreonUserInfoImgs;

Reflection-enabled

Specifiers:

  • BlueprintType

Contains the same information as FPatreonUserInfo, but instead of including URLs to images will include the actual images as a Texture2D.


Properties

  • AvatarImage

    public:
    UTexture2DDynamic* AvatarImage;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    User's avatar
  • CampaignLifetimeSupportCents

    public:
    int64 CampaignLifetimeSupportCents;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    The total amount of money this user has ever contributed to this campaign, in cents.

    Can be used to unlock content for users only after reaching specific subscription thresholds. NOTE: Gifted subscriptions will not increase this value!

  • CanSeeNSFW

    public:
    bool CanSeeNSFW;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    Whether or not the user has enabled NSFW content on their Patreon profile
  • CurrentlyEntitledAmountCents

    public:
    int64 CurrentlyEntitledAmountCents;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    The amount of money this user is currently entitled to, e.g. their current pledge amount, in cents.

    This can be used to unlock content based on how much money they are contributing rather than checking which tier they belong to.

  • FirstName

    public:
    FString FirstName;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

  • FullName

    public:
    FString FullName;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

  • IsCreator

    public:
    bool IsCreator;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    Whether or not the current user is also the creator of a campaign.
  • LastName

    public:
    FString LastName;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

  • PatronStatus

    public:
    FString PatronStatus;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    Can be one of:
    • active_patron: They are currently subscribed to a campaign
    • declined_patron: They have attempted to subscribe, but were declined
    • former_patron: They used to subscribe, but currently do not
    • null: They have never subscribed before
  • Tiers

    public:
    TArray<FPatreonTierInfoImgs> Tiers;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    A list of all tiers this user is entitled to. In many cases this will include not just the specific tier they have pledged to, but also any lower tiers.
  • URL

    public:
    FString URL;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    URL of the user's profile
  • VanityName

    public:
    FString VanityName;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreonAPIClient|User Info

    If set, represents the user's preferred nickname

Constructors


Methods

  • HasBenefit

    //  PatreonUserInfoImgs.h : 45
    
    public:
    bool HasBenefit(
        const FString& benefitName
    ) const;
    

    Convenience method to check if this user is entitled to a particular benefit. Will check all tiers the user is pledged to.


    Arguments

    • benefitName

      const FString& benefitName
      

      Name of the benefit to check for, case-insensitive


    Returns

    • bool
      

      True if the user is entitled to the given benefit

  • HasTier

    //  PatreonUserInfoImgs.h : 30
    
    public:
    bool HasTier(
        const FString& tierName
    ) const;
    

    Convenience method to check if this user has pledged to a specific tier


    Arguments

    • tierName

      const FString& tierName
      

      Name of the tier to check for, case-insensitive


    Returns

    • bool
      

      True if the user has pledged to the given tier

  • HasTierId

    //  PatreonUserInfoImgs.h : 37
    
    public:
    bool HasTierId(
        const FString& tierId
    ) const;
    

    Convenience method to check if this user has pledged to a specific tier


    Arguments

    • tierId

      const FString& tierId
      

      IDof the tier to check for


    Returns

    • bool
      

      True if the user has pledged to the given tier






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