-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathBotEngine.h
More file actions
42 lines (35 loc) · 1019 Bytes
/
BotEngine.h
File metadata and controls
42 lines (35 loc) · 1019 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef BOTENGINE_H
#define BOTENGINE_H
#include <vector>
#include <mutex>
#include "proto_functions_client.h"
#define g_Engine BotEngine::getInstance()
class BotEngine {
private:
static BotEngine* instance;
static std::mutex mutex;
protected:
BotEngine();
~BotEngine(){}
public:
BotEngine(BotEngine const&) = delete;
void operator=(const BotEngine&) = delete;
static BotEngine* getInstance();
// Engine variables
bool hasTarget = false;
bool isLooting = false;
bool isWalking = false;
bool walkerState = true;
bool targetState = true;
bool agentAIState = true;
bool alarmsState = true;
bool lootingState = true;
bool miscellaneousState = true;
bool scriptsState = true;
bool spellsState = true;
// Client Custom Functions
std::vector<int> countItems(std::vector<int> itemId);
void depositItems(std::vector<int> itemId, std::string containerToDeposit);
void findDeposit(std::vector<int> depoId);
};
#endif //BOTENGINE_H