6#include "CoreMinimal.h"
10#include "LootLockerPlaytestsRequestHandler.generated.h"
21USTRUCT(BlueprintType, Category =
"LootLocker")
28 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
41USTRUCT(BlueprintType, Category =
"LootLocker")
48 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
54 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
59 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
64 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
71USTRUCT(BlueprintType, Category =
"LootLocker")
78 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
83 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
100USTRUCT(BlueprintType, Category =
"LootLocker")
107 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
117 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
124 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
148USTRUCT(BlueprintType, Category =
"LootLocker")
155 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
161 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
166 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
171 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
178USTRUCT(BlueprintType, Category =
"LootLocker")
186 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
191 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
196 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
203USTRUCT(BlueprintType, Category =
"LootLocker")
210 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
215 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
static FString CompleteOnboarding(const FLootLockerPlayerData &PlayerData, const FString &Subdomain, const FLootLockerCompletePlaytestOnboardingResponseDelegate &OnComplete)
static FString AcknowledgeDocument(const FLootLockerPlayerData &PlayerData, const FString &Subdomain, const FString &DocumentId, const FLootLockerAcknowledgePlaytestDocumentRequest &Request, const FLootLockerAcknowledgePlaytestDocumentResponseDelegate &OnComplete)
static FString SubmitAnswers(const FLootLockerPlayerData &PlayerData, const TArray< FLootLockerPlaytestAnswerSubmission > &Answers, const FLootLockerSetMetadataResponseDelegate &OnComplete)
Submit answers to a playtest for the current player.
static FString GetOnboardingStatus(const FLootLockerPlayerData &PlayerData, const FString &Subdomain, const FLootLockerPlaytestOnboardingStatusResponseDelegate &OnComplete)
ULootLockerPlaytestsRequestHandler()
Definition LootLockerPlaytestsRequestHandler.h:247
void(* FLootLockerPlaytestOnboardingStatusResponseDelegate)(FLootLockerPlaytestOnboardingStatusResponse)
C++ response delegate for getting a playtest's onboarding status.
Definition LootLockerPlaytestsRequestHandler.h:227
void(* FLootLockerCompletePlaytestOnboardingResponseDelegate)(FLootLockerCompletePlaytestOnboardingResponse)
C++ response delegate for completing playtest onboarding.
Definition LootLockerPlaytestsRequestHandler.h:231
void(* FLootLockerAcknowledgePlaytestDocumentResponseDelegate)(FLootLockerAcknowledgePlaytestDocumentResponse)
C++ response delegate for acknowledging a playtest document.
Definition LootLockerPlaytestsRequestHandler.h:235
Request to acknowledge a playtest document.
Definition LootLockerPlaytestsRequestHandler.h:23
TArray< FString > statement_ids
Every statement id in the document.
Definition LootLockerPlaytestsRequestHandler.h:29
Response returned after acknowledging a playtest document.
Definition LootLockerPlaytestsRequestHandler.h:205
FString document_id
The ULID of the acknowledged document.
Definition LootLockerPlaytestsRequestHandler.h:211
FString content_hash
The content hash of the document that was acknowledged.
Definition LootLockerPlaytestsRequestHandler.h:216
Response returned after completing playtest onboarding for the calling player.
Definition LootLockerPlaytestsRequestHandler.h:180
FString playtest_id
The ULID of the playtest that was completed.
Definition LootLockerPlaytestsRequestHandler.h:197
bool complete
Whether onboarding is now complete.
Definition LootLockerPlaytestsRequestHandler.h:187
FDateTime completed_at
When onboarding was completed.
Definition LootLockerPlaytestsRequestHandler.h:192
Definition LootLockerPlayerData.h:12
A document the calling player has acknowledged in a playtest.
Definition LootLockerPlaytestsRequestHandler.h:43
TArray< FString > statement_ids
The statement ids that were acknowledged.
Definition LootLockerPlaytestsRequestHandler.h:60
FString document_id
The ULID of the document.
Definition LootLockerPlaytestsRequestHandler.h:49
FDateTime acknowledged_at
When the document was acknowledged.
Definition LootLockerPlaytestsRequestHandler.h:65
FString content_hash
The content hash of the document at the time it was acknowledged.
Definition LootLockerPlaytestsRequestHandler.h:55
A single answer to a playtest question, submitted through SubmitPlaytestAnswers.
Definition LootLockerPlaytestsRequestHandler.h:102
FString Metadata_key
The metadata_key of the question this answers.
Definition LootLockerPlaytestsRequestHandler.h:108
static FLootLockerPlaytestAnswerSubmission FromText(const FString &MetadataKey, const FString &Value)
Build a String answer, for short_text, long_text, date and select questions.
static FLootLockerPlaytestAnswerSubmission FromMultiSelect(const FString &MetadataKey, const TArray< FString > &SelectedValues)
Build a Json answer, for multiselect questions.
ELootLockerMetadataTypes Type
The metadata type of the value.
Definition LootLockerPlaytestsRequestHandler.h:125
FString Value
The answer value.
Definition LootLockerPlaytestsRequestHandler.h:118
static FLootLockerPlaytestAnswerSubmission FromNumber(const FString &MetadataKey, double Value)
Build a Number answer, for number questions.
static FLootLockerPlaytestAnswerSubmission FromBool(const FString &MetadataKey, bool Value)
Build a Bool answer, for checkbox questions.
An answer the calling player has stored for a playtest question.
Definition LootLockerPlaytestsRequestHandler.h:73
FString value
The serialized metadata entry.
Definition LootLockerPlaytestsRequestHandler.h:84
FString key
The player metadata key the answer is stored under.
Definition LootLockerPlaytestsRequestHandler.h:79
Response containing the calling player's onboarding progress for a playtest.
Definition LootLockerPlaytestsRequestHandler.h:150
FDateTime completed_at
When the player completed onboarding.
Definition LootLockerPlaytestsRequestHandler.h:162
TArray< FLootLockerPlaytestAnswer > answers
The answers the player has stored for this playtest's questions.
Definition LootLockerPlaytestsRequestHandler.h:172
bool completed
Whether the player has completed onboarding for this playtest.
Definition LootLockerPlaytestsRequestHandler.h:156
TArray< FLootLockerPlaytestAcknowledgedDocument > documents
The documents the player has acknowledged.
Definition LootLockerPlaytestsRequestHandler.h:167
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19