the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "TutorialTask.h"
5
6class MobEffect;
7
8class EffectChangedTask : public TutorialTask
9{
10private:
11 MobEffect *m_effect;
12 bool m_apply;
13
14public:
15 EffectChangedTask(Tutorial *tutorial, int descriptionId, MobEffect *effect, bool apply = true,
16 bool enablePreCompletion = true, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true );
17 virtual bool isCompleted();
18 virtual void onEffectChanged(MobEffect *effect, bool bRemoved=false);
19};