LootLocker Unreal SDK 11.1.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerSurveyQuestion Struct Reference

A single question in a survey. More...

#include <LootLockerSurveysRequestHandler.h>

Data Fields

FString Id = ""
 The unique identifier of the question.
FString Survey_id = ""
 The unique identifier of the survey this question belongs to.
FString Question_text = ""
 The text shown to the player for this question.
FString Metadata_key = ""
 The player metadata key that the answer to this question is stored under.
FString Field_type = ""
 The type of field to render for this question (for example short_text, long_text, select).
FJsonObjectWrapper Params
 Opaque JSON parameters for the field type, for example the available options for a select field.
bool Required = false
 Whether an answer to this question is required before the survey can be completed.
int32 Sort_order = 0
 The order in which this question should be presented, ascending.
FDateTime Created_at = FDateTime(0)
 When the question was created.
bool Sensitive = false
 When true, answers for this question's metadata_key are masked in game metadata reads.

Detailed Description

A single question in a survey.

Answers are submitted through the player metadata API using the question's metadata_key.

Field Documentation

◆ Created_at

FDateTime FLootLockerSurveyQuestion::Created_at = FDateTime(0)

When the question was created.

◆ Field_type

FString FLootLockerSurveyQuestion::Field_type = ""

The type of field to render for this question (for example short_text, long_text, select).

◆ Id

FString FLootLockerSurveyQuestion::Id = ""

The unique identifier of the question.

◆ Metadata_key

FString FLootLockerSurveyQuestion::Metadata_key = ""

The player metadata key that the answer to this question is stored under.

◆ Params

FJsonObjectWrapper FLootLockerSurveyQuestion::Params

Opaque JSON parameters for the field type, for example the available options for a select field.

Empty when the question has no parameters.

◆ Question_text

FString FLootLockerSurveyQuestion::Question_text = ""

The text shown to the player for this question.

◆ Required

bool FLootLockerSurveyQuestion::Required = false

Whether an answer to this question is required before the survey can be completed.

◆ Sensitive

bool FLootLockerSurveyQuestion::Sensitive = false

When true, answers for this question's metadata_key are masked in game metadata reads.

◆ Sort_order

int32 FLootLockerSurveyQuestion::Sort_order = 0

The order in which this question should be presented, ascending.

◆ Survey_id

FString FLootLockerSurveyQuestion::Survey_id = ""

The unique identifier of the survey this question belongs to.