mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 22:05:33 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include "TutorialTask.h"
|
||||
|
||||
class CraftTask : public TutorialTask {
|
||||
public:
|
||||
CraftTask(int itemId, int auxValue, int quantity, Tutorial* tutorial,
|
||||
int descriptionId, bool enablePreCompletion = true,
|
||||
std::vector<TutorialConstraint*>* inConstraints = nullptr,
|
||||
bool bShowMinimumTime = false, bool bAllowFade = true,
|
||||
bool m_bTaskReminders = true);
|
||||
CraftTask(int* items, int* auxValues, int numItems, int quantity,
|
||||
Tutorial* tutorial, int descriptionId,
|
||||
bool enablePreCompletion = true,
|
||||
std::vector<TutorialConstraint*>* inConstraints = nullptr,
|
||||
bool bShowMinimumTime = false, bool bAllowFade = true,
|
||||
bool m_bTaskReminders = true);
|
||||
|
||||
~CraftTask();
|
||||
|
||||
virtual bool isCompleted() { return bIsCompleted; }
|
||||
virtual void onCrafted(std::shared_ptr<ItemInstance> item);
|
||||
|
||||
private:
|
||||
int* m_items;
|
||||
int* m_auxValues;
|
||||
int m_numItems;
|
||||
int m_quantity;
|
||||
int m_count;
|
||||
};
|
||||
Reference in New Issue
Block a user