LootLocker Unreal SDK 11.1.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
Playtests

Detailed Description

Typedef Documentation

◆ FLootLockerAcknowledgePlaytestDocumentResponseDelegate

typedef void(* FLootLockerAcknowledgePlaytestDocumentResponseDelegate) (FLootLockerAcknowledgePlaytestDocumentResponse)

C++ response delegate for acknowledging a playtest document.

◆ FLootLockerCompletePlaytestOnboardingResponseDelegate

typedef void(* FLootLockerCompletePlaytestOnboardingResponseDelegate) (FLootLockerCompletePlaytestOnboardingResponse)

C++ response delegate for completing playtest onboarding.

◆ FLootLockerPlaytestOnboardingStatusResponseDelegate

typedef void(* FLootLockerPlaytestOnboardingStatusResponseDelegate) (FLootLockerPlaytestOnboardingStatusResponse)

C++ response delegate for getting a playtest's onboarding status.

Function Documentation

◆ AcknowledgePlaytestDocument()

FString ULootLockerSDKManager::AcknowledgePlaytestDocument ( const FString & Subdomain,
const FString & DocumentId,
const FLootLockerAcknowledgePlaytestDocumentRequest & Request,
const FLootLockerAcknowledgePlaytestDocumentResponseDelegate & OnComplete,
const FString & ForPlayerWithUlid = "" )
static

Record that the calling player acknowledged a playtest document at its current content hash.

When the document has statements, send every statement id. Leave the request's statement_ids empty for documents without statements, where the body is optional.

Parameters
SubdomainThe playtest's public subdomain
DocumentIdThe ULID of the document to acknowledge
RequestThe acknowledge request. See FLootLockerAcknowledgePlaytestDocumentRequest.
OnCompleteDelegate for handling the server response
ForPlayerWithUlidOptional: Execute for the specified player ULID (default player if empty)
Returns
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound

◆ CompletePlaytestOnboarding()

FString ULootLockerSDKManager::CompletePlaytestOnboarding ( const FString & Subdomain,
const FLootLockerCompletePlaytestOnboardingResponseDelegate & OnComplete,
const FString & ForPlayerWithUlid = "" )
static

Complete onboarding for the calling player.

Answers are submitted separately through the player metadata API using each question's metadata_key. The request fails when a required answer is missing or a required document is not acknowledged at its current content hash.

Parameters
SubdomainThe playtest's public subdomain
OnCompleteDelegate for handling the server response
ForPlayerWithUlidOptional: Execute for the specified player ULID (default player if empty)
Returns
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound

◆ GetPlaytestOnboardingStatus()

FString ULootLockerSDKManager::GetPlaytestOnboardingStatus ( const FString & Subdomain,
const FLootLockerPlaytestOnboardingStatusResponseDelegate & OnComplete,
const FString & ForPlayerWithUlid = "" )
static

Get the calling player's onboarding progress for an active playtest: whether they completed it, the documents they acknowledged, and the answers stored to player metadata.

Parameters
SubdomainThe playtest's public subdomain
OnCompleteDelegate for handling the server response
ForPlayerWithUlidOptional: Execute for the specified player ULID (default player if empty)
Returns
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound

◆ SubmitPlaytestAnswers()

FString ULootLockerSDKManager::SubmitPlaytestAnswers ( const TArray< FLootLockerPlaytestAnswerSubmission > & Answers,
const FLootLockerSetMetadataResponseDelegate & OnComplete,
const FString & ForPlayerWithUlid = "" )
static

Submit answers to a playtest for the current player.

Playtest answers are stored as player metadata, so this writes each answer to the player's own metadata under the question's metadata_key. Call CompletePlaytestOnboarding afterwards to record the completion.

Parameters
AnswersThe answers to submit, built with FLootLockerPlaytestAnswerSubmission::FromText and friends
OnCompleteDelegate for handling the server response
ForPlayerWithUlidOptional: Execute for the specified player ULID (default player if empty)
Returns
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound

Data Structures

struct  FLootLockerAcknowledgePlaytestDocumentRequest
 Request to acknowledge a playtest document. More...
struct  FLootLockerPlaytestAcknowledgedDocument
 A document the calling player has acknowledged in a playtest. More...
struct  FLootLockerPlaytestAnswer
 An answer the calling player has stored for a playtest question. More...

Typedefs

typedef void(* FLootLockerPlaytestOnboardingStatusResponseDelegate) (FLootLockerPlaytestOnboardingStatusResponse)
 C++ response delegate for getting a playtest's onboarding status.
typedef void(* FLootLockerCompletePlaytestOnboardingResponseDelegate) (FLootLockerCompletePlaytestOnboardingResponse)
 C++ response delegate for completing playtest onboarding.
typedef void(* FLootLockerAcknowledgePlaytestDocumentResponseDelegate) (FLootLockerAcknowledgePlaytestDocumentResponse)
 C++ response delegate for acknowledging a playtest document.

Functions

static FString ULootLockerSDKManager::GetPlaytestOnboardingStatus (const FString &Subdomain, const FLootLockerPlaytestOnboardingStatusResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 Get the calling player's onboarding progress for an active playtest: whether they completed it, the documents they acknowledged, and the answers stored to player metadata.
static FString ULootLockerSDKManager::CompletePlaytestOnboarding (const FString &Subdomain, const FLootLockerCompletePlaytestOnboardingResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 Complete onboarding for the calling player.
static FString ULootLockerSDKManager::AcknowledgePlaytestDocument (const FString &Subdomain, const FString &DocumentId, const FLootLockerAcknowledgePlaytestDocumentRequest &Request, const FLootLockerAcknowledgePlaytestDocumentResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 Record that the calling player acknowledged a playtest document at its current content hash.
static FString ULootLockerSDKManager::SubmitPlaytestAnswers (const TArray< FLootLockerPlaytestAnswerSubmission > &Answers, const FLootLockerSetMetadataResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
 Submit answers to a playtest for the current player.