| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | #include "System/ByamlSave.h" |
| 6 | |
| 7 | namespace al { |
| 8 | class ByamlIter; |
| 9 | class ByamlWriter; |
| 10 | } // namespace al |
| 11 | |
| 12 | class SphinxQuizData : public ByamlSave { |
| 13 | public: |
| 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 | |
| 23 | private: |
| 24 | bool* mIsAnswerCorrectSphinxQuiz; |
| 25 | bool* mIsAnswerCorrectSphinxQuizAll; |
| 26 | s32 mArraySize; |
| 27 | }; |
| 28 |