QuestConfig.java 553 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package emu.grasscutter.data.custom;

import emu.grasscutter.data.custom.QuestConfigData.SubQuestConfigData;

public class QuestConfig {
	private final QuestConfigData mainQuest;
	private final SubQuestConfigData subQuest;
	
	public QuestConfig(QuestConfigData mainQuest, SubQuestConfigData subQuest) {
		this.mainQuest = mainQuest;
		this.subQuest = subQuest;
	}

	public int getId() {
		return subQuest.getSubId();
	}

	public QuestConfigData getMainQuest() {
		return mainQuest;
	}

	public SubQuestConfigData getSubQuest() {
		return subQuest;
	}
}