quizrounddata - eisclimber/ExPresS-XR GitHub Wiki

QuizRoundData

Class in ExPresSXR.Experimentation.DataGathering

Inherits from System.Object

Summary

A data wrapper for exporting relevant data when answering the relevant data after answering a button quiz question.

public class QuizRoundData

Fields

Name Description
NUM_CSV_EXPORT_COLUMNS Number of csv columns exported.

Methods

Name Description
Create(ButtonQuizQuestion,QuizButton[],McConfirmButton,ButtonQuizConfig,int[],int,string,GameObject[],VideoClip,string) Creates a new QuizRoundData object for the current quiz round, calculating all necessary data.
GetCsvExportValues(char) Returns an exportable string representing multiple CSV columns representing the data stored in the class. Contains NUM_CSV_EXPORT_COLUMNS columns.
GetCsvExportValuesList() Returns a list representing of the data stored in the class. Contains NUM_CSV_EXPORT_COLUMNS entries.
GetEmptyCsvExportValues(char) Provides a string of empty columns for the quiz data. Used to maintain no mess up the format when exporting but no QuizRoundData was created. Contains NUM_CSV_EXPORT_COLUMNS columns.
GetQuizRoundCsvHeader(char) Provides a string representing the CSV headers for the data provided when exported. Contains NUM_CSV_EXPORT_COLUMNS columns.
GetQuizRoundCsvHeaderList() Provides a list of the headers for the data provided when exported. Contains NUM_CSV_EXPORT_COLUMNS entries.

Properties

Name Description
AnswerChosen Answers (=buttons) chosen this round.
AnswerChosenString Represents AnswersChosen as string (i.e. [false, false, true, false]) for easier export.
AnswerCorrect If the question was answered correctly this round.
AnswerPermutation Permutation of the answers this round.
AnswerPermutationString Represents AnswerPermutation as string (i.e. [1, 3, 2, 0]) for easier export.
AnswerPressTime Time to answer this round.
AskOrderIdx The index of the current question (not the latest answered) relative to the question permutation.
FeedbackObjects Feedback object shown this round.
FeedbackObjectsString Represents the names FeedbackObjects (i.e. ["Foo", "Bar", "Fizz", "Buzz"]) as string for easier export.
FeedbackText Feedback text shown this round.
FeedbackVideo Feedback video shown this round.
FeedbackVideoString Feedback video name shown this round.
FeedbackVideoUrl Feedback videoUrl shown this round.
FirstPressedButtonIdx First button pressed of a multiple choice quiz this round. Will be the button pressed to answer when using single choice.
Question Question answered this round.
QuestionIdx The index of the current question relative the the quiz config (i.e. question.ItemIdx).
quizRoundCsvHeader CSV header when exporting the the class.
⚠️ **GitHub.com Fallback** ⚠️