the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "TutorialTask.h"
3
4class CraftTask : public TutorialTask
5{
6public:
7 CraftTask( int itemId, int auxValue, int quantity,
8 Tutorial *tutorial, int descriptionId, bool enablePreCompletion = true, vector<TutorialConstraint *> *inConstraints = NULL,
9 bool bShowMinimumTime=false, bool bAllowFade=true, bool m_bTaskReminders=true );
10 CraftTask( int *items, int *auxValues, int numItems, int quantity,
11 Tutorial *tutorial, int descriptionId, bool enablePreCompletion = true, vector<TutorialConstraint *> *inConstraints = NULL,
12 bool bShowMinimumTime=false, bool bAllowFade=true, bool m_bTaskReminders=true );
13
14 ~CraftTask();
15
16 virtual bool isCompleted() { return bIsCompleted; }
17 virtual void onCrafted(shared_ptr<ItemInstance> item);
18
19private:
20 int *m_items;
21 int *m_auxValues;
22 int m_numItems;
23 int m_quantity;
24 int m_count;
25};