mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 23:45:32 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
// using namespace std;
|
||||
|
||||
#include "TutorialTask.h"
|
||||
|
||||
// Information messages with a choice
|
||||
class ChoiceTask : public TutorialTask {
|
||||
private:
|
||||
int m_iConfirmMapping, m_iCancelMapping;
|
||||
bool m_bConfirmMappingComplete, m_bCancelMappingComplete;
|
||||
eTutorial_CompletionAction m_cancelAction;
|
||||
|
||||
ETelemetryChallenges m_eTelemetryEvent;
|
||||
|
||||
bool CompletionMaskIsValid();
|
||||
|
||||
public:
|
||||
ChoiceTask(
|
||||
Tutorial* tutorial, int descriptionId, int promptId = -1,
|
||||
bool requiresUserInput = false, int iConfirmMapping = 0,
|
||||
int iCancelMapping = 0,
|
||||
eTutorial_CompletionAction cancelAction = e_Tutorial_Completion_None,
|
||||
ETelemetryChallenges telemetryEvent = eTelemetryChallenges_Unknown);
|
||||
virtual bool isCompleted();
|
||||
virtual eTutorial_CompletionAction getCompletionAction();
|
||||
virtual int getPromptId();
|
||||
virtual void setAsCurrentTask(bool active = true);
|
||||
virtual void handleUIInput(int iAction);
|
||||
|
||||
private:
|
||||
void sendTelemetry();
|
||||
};
|
||||
Reference in New Issue
Block a user