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
-
AvatarImagepublic: UTexture2DDynamic* AvatarImage;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
User's avatar -
CampaignLifetimeSupportCentspublic: 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!
-
CanSeeNSFWpublic: bool CanSeeNSFW;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
Whether or not the user has enabled NSFW content on their Patreon profile -
CurrentlyEntitledAmountCentspublic: 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.
-
FirstNamepublic: FString FirstName;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
-
FullNamepublic: FString FullName;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
-
IsCreatorpublic: bool IsCreator;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
Whether or not the current user is also the creator of a campaign. -
LastNamepublic: FString LastName;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
-
PatronStatuspublic: FString PatronStatus;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
Can be one of: active_patron: They are currently subscribed to a campaigndeclined_patron: They have attempted to subscribe, but were declinedformer_patron: They used to subscribe, but currently do notnull: They have never subscribed before
-
Tierspublic: 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. -
URLpublic: FString URL;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
URL of the user's profile -
VanityNamepublic: FString VanityName;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreonAPIClient|User Info
If set, represents the user's preferred nickname
Constructors
-
FPatreonUserInfoImgs// PatreonUserInfoImgs.h : 21 public: FPatreonUserInfoImgs(); -
FPatreonUserInfoImgs// PatreonUserInfoImgs.h : 23 public: FPatreonUserInfoImgs( const FPatreonUserInfo& info );
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
-
benefitNameconst FString& benefitNameName of the benefit to check for, case-insensitive
Returns
-
boolTrue if the user is entitled to the given benefit
-
-
HasTier// PatreonUserInfoImgs.h : 30 public: bool HasTier( const FString& tierName ) const; -
HasTierId// PatreonUserInfoImgs.h : 37 public: bool HasTierId( const FString& tierId ) const;
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com