1#pragma once
2
3#include <basis/seadTypes.h>
4
5#include "System/ByamlSave.h"
6
7namespace al {
8class ByamlIter;
9class ByamlWriter;
10} // namespace al
11
12class SphinxQuizData : public ByamlSave {
13public:
14 SphinxQuizData(s32 arraySize);
15 void init();
16 void answerCorrectSphinxQuiz(s32 index);
17 void answerCorrectSphinxQuizAll(s32 index);
18 bool isAnswerCorrectSphinxQuiz(s32 index) const;
19 bool isAnswerCorrectSphinxQuizAll(s32 index) const;
20 void write(al::ByamlWriter* writer) override;
21 void read(const al::ByamlIter& reader) override;
22
23private:
24 bool* mIsAnswerCorrectSphinxQuiz;
25 bool* mIsAnswerCorrectSphinxQuizAll;
26 s32 mArraySize;
27};
28