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
9
class
PlayerInfoMonitor
{
10
private
:
11
std::string spell_name;
12
std::mutex m;
13
14
int
attack_pts;
15
int
defense_pts;
16
17
public
:
18
PlayerInfoMonitor
();
19
~
PlayerInfoMonitor
();
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
client
player_info_monitor.h
Generado por
1.8.19