blob: e072038b76177fd058ef35edb0cb093689f9527f (
plain)
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
|
#pragma once
using namespace std;
#include "TutorialTask.h"
// Information messages
class InfoTask : public TutorialTask
{
private:
unordered_map<int, bool> completedMappings;
ETelemetryChallenges m_eTelemetryEvent;
bool CompletionMaskIsValid();
public:
InfoTask(Tutorial *tutorial, int descriptionId, int promptId = -1, bool requiresUserInput = false, int iMapping = 0, ETelemetryChallenges telemetryEvent = eTelemetryChallenges_Unknown);
virtual bool isCompleted();
virtual int getPromptId();
virtual void setAsCurrentTask(bool active = true);
virtual void handleUIInput(int iAction);
private:
void sendTelemetry();
};
|