Restructered project and better building

This commit is contained in:
Julian Nießner
2019-01-13 13:01:22 +01:00
parent e0b8242dcc
commit 3de9a77a3e
52 changed files with 573 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#define CONNECTION_REQUEST 0x01
#define CONNECTION_ACCEPTED 0x02
#define CONNECTION_DENIED 0x03
struct ConnectionRequest {
ConnectionRequest() : type(CONNECTION_REQUEST) {}
char type = CONNECTION_REQUEST;
};
struct ConnectionAccepted {
ConnectionAccepted() : type(CONNECTION_ACCEPTED) {}
char type;
int index;
};
struct ConnectionDenied {
ConnectionDenied() : type(CONNECTION_DENIED) {}
char type;
};