3#include "DialogFactory.h"
4#include <factories/BaseFactory.h>
17 std::vector<DialogString> mText;
18 std::vector<OptionString> mOptions;
20 GruntyQuestionData(std::vector<DialogString> text, std::vector<OptionString> options)
21 : mText(std::move(text)), mOptions(std::move(options)) {
26 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName,
27 YAML::Node& node, std::string* replacement)
override;
31 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName,
32 YAML::Node& node, std::string* replacement)
override;
36 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName,
37 YAML::Node& node, std::string* replacement)
override;
41 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName,
42 YAML::Node& node, std::string* replacement)
override;
47 std::optional<std::shared_ptr<IParsedData>> parse(std::vector<uint8_t>& buffer, YAML::Node& data)
override;
48 std::optional<std::shared_ptr<IParsedData>> parse_modding(std::vector<uint8_t>& buffer, YAML::Node& data)
override;
49 inline std::unordered_map<ExportType, std::shared_ptr<BaseExporter>> GetExporters()
override {
53 bool SupportModdedAssets()
override {
Definition GruntyQuestionFactory.h:30
Definition GruntyQuestionFactory.h:35
Definition GruntyQuestionFactory.h:45
Definition GruntyQuestionFactory.h:40
Definition BaseFactory.h:95
Definition BaseFactory.h:101
Definition BaseFactory.h:87
Definition GruntyQuestionFactory.h:8