33474cc6c0
The clients can connect and disconnect from the server with known no issues. There is no way to shutdown the server yet, but it might be possible to kick someone else from the server soon.
15 lines
210 B
C++
15 lines
210 B
C++
#ifndef DEFINES_HPP_
|
|
#define DEFINES_HPP
|
|
|
|
#include <chrono>
|
|
#include <string>
|
|
|
|
#define GAME_CHANNEL 0
|
|
#define CHAT_CHANNEL 1
|
|
|
|
typedef std::chrono::high_resolution_clock Clock;
|
|
|
|
std::string itos(int i);
|
|
|
|
#endif
|