diff options
Diffstat (limited to 'src/net/netcomputer.hpp')
-rw-r--r-- | src/net/netcomputer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/netcomputer.hpp b/src/net/netcomputer.hpp index b85456a6..2c4d706a 100644 --- a/src/net/netcomputer.hpp +++ b/src/net/netcomputer.hpp @@ -81,6 +81,11 @@ class NetComputer send(const MessageOut &msg, bool reliable = true, unsigned int channel = 0); + /** + * Returns IP address of computer in 32bit int form + */ + int getIP(); + private: ENetPeer *mPeer; /**< Client peer */ |