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. | |
A single question in a survey.
Answers are submitted through the player metadata API using the question's metadata_key.
| FDateTime FLootLockerSurveyQuestion::Created_at = FDateTime(0) |
When the question was created.
| FString FLootLockerSurveyQuestion::Field_type = "" |
The type of field to render for this question (for example short_text, long_text, select).
| FString FLootLockerSurveyQuestion::Id = "" |
The unique identifier of the question.
| FString FLootLockerSurveyQuestion::Metadata_key = "" |
The player metadata key that the answer to this question is stored under.
| 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.
| FString FLootLockerSurveyQuestion::Question_text = "" |
The text shown to the player for this question.
| bool FLootLockerSurveyQuestion::Required = false |
Whether an answer to this question is required before the survey can be completed.
| bool FLootLockerSurveyQuestion::Sensitive = false |
When true, answers for this question's metadata_key are masked in game metadata reads.
| int32 FLootLockerSurveyQuestion::Sort_order = 0 |
The order in which this question should be presented, ascending.
| FString FLootLockerSurveyQuestion::Survey_id = "" |
The unique identifier of the survey this question belongs to.