-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathScript.h
More file actions
57 lines (47 loc) · 1.74 KB
/
Script.h
File metadata and controls
57 lines (47 loc) · 1.74 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#pragma once
#include "Aux_function.h"
#include "Inventory.h"
#include "Basic_actions.h"
#include "Items.h"
#include "Movement.h"
#include "craft.h"
#include "Message.h"
#include "general.h"
#include "Logging_config.h"
#include <array>
// R8 id dos atributos
// nivel def principal = 2AA4
// nivel def secundário = 2AA3
// adaga recipe = 5580
// id adaga = 32270
class Script {
public:
Script(Aux_function& arg_aux);
void start(); // essa função é chamada assim que o personagem nasce no mundo
void opening_chest();
void meus_buffs();
void forjar_item_no_espirito();
void forjar_item_fornalha();
void roletar_item();
void peger_items();
void set_player_info(std::pair<unsigned int, std::string> player_basic_info,
Logging_config log_config);
void set_enviroment(std::shared_ptr<Inventory> inventory_arg,
std::shared_ptr<Basic_actions> actions_arg,
std::shared_ptr<Items> items_arg,
std::shared_ptr<Movement> movement_arg,
std::shared_ptr<Craft> craft_arg,
std::shared_ptr<Message> message_arg,
std::shared_ptr<General> general_arg);
private:
std::shared_ptr<Items> items;
std::shared_ptr<Movement> movement;
std::shared_ptr<Inventory> inventory;
std::shared_ptr<Basic_actions> basic_actions;
std::shared_ptr<Craft> craft;
std::shared_ptr<Message> message;
std::shared_ptr<General> general;
Logging_config config;
Aux_function& aux;
std::pair<unsigned int, std::string> player_basic_info;
};