summaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index 78603e4..cba5031 100644
--- a/connection.h
+++ b/connection.h
@@ -10,6 +10,8 @@
class Connection {
private:
+ static uint32_t next_id;
+ uint32_t id;
boost::asio::io_service& io_service;
public:
@@ -25,6 +27,7 @@ class Connection {
/* data */
Vector3 pos;
std::set<std::pair<int64_t, int64_t> > chunk_indices;
+ uint32_t get_id();
};
#endif