summaryrefslogtreecommitdiff
path: root/server/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/player.h')
-rw-r--r--server/player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/player.h b/server/player.h
index ce37d0a..27b2757 100644
--- a/server/player.h
+++ b/server/player.h
@@ -41,6 +41,9 @@ class Player : public boost::enable_shared_from_this<Player> {
void handle_action(Message::p msg);
public:
+ //! The ID of the player
+ int id;
+
//! Return player's nick.
std::string nick();