Argentum Online - Cliente
player_info_monitor.h
1 #ifndef __PLAYER_INFO_MONITOR_H
2 #define __PLAYER_INFO_MONITOR_H
3 
4 #include <mutex>
5 #include <string>
6 #include "../include/nlohmann/json.hpp"
7 
8 
10  private:
11  std::string spell_name;
12  std::mutex m;
13 
14  int attack_pts;
15  int defense_pts;
16 
17  public:
20 
21  std::string get_spell_name();
22  int get_attack_pts();
23  int get_defense_pts();
24 
25  void update(nlohmann::json update);
26 };
27 
28 #endif
PlayerInfoMonitor
Definition: player_info_monitor.h:9