Struct: FPatreonUserInfoImgs
// PatreonUserInfoImgs.h : 14
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 -
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 -
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 the 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 campaigndeclined_patron
: They have attempted to subscribe, but were declinedformer_patron
: They used to subscribe, but currently do notnull
: 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
-
FPatreonUserInfoImgs
// PatreonUserInfoImgs.h : 19 public: FPatreonUserInfoImgs();
-
FPatreonUserInfoImgs
// PatreonUserInfoImgs.h : 21 public: FPatreonUserInfoImgs( const FPatreonUserInfo& info );
Methods
-
HasBenefit
// PatreonUserInfoImgs.h : 36 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 : 28 public: bool HasTier( const FString& tierName ) const;
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com