Argentum Online - Cliente
translator.h
1
#ifndef TRANSLATOR_H
2
#define TRANSLATOR_H
3
4
#include <string>
5
#include <utility>
6
#include <vector>
7
8
#include "../event.h"
9
#include "../nlohmann/json.hpp"
10
11
class
Translator
{
12
public
:
13
static
std::vector<uint8_t> serialize(
const
Event
& ev);
14
15
static
nlohmann::json deserialize(std::vector<uint8_t> v);
16
};
17
18
#endif // TRANSLATOR_H
Event
Definition:
event.h:55
Translator
Definition:
translator.h:11
include
network
translator.h
Generado por
1.8.19