Add session_t typedef + remove unused functions (#6470)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 27 Sep 2017 17:47:36 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2017 17:47:36 +0000 (19:47 +0200)
commitad7daf7b52348e1b71aa803be10de5b2134cba11
treee5a528d0e9be11f678d113dde3ec4b49f3d96c26
parent50b2185ced9dc64e054ce743bbc22d15ecdf6192
Add session_t typedef + remove unused functions (#6470)

* Add session_t typedef + remove unused functions

u16 peer_id is used everywhere, to be more consistent and permit some evolutions on this type in the future (i'm working on a PoC), uniformize u16 peer_id to SessionId peer_id
24 files changed:
src/client.cpp
src/clientiface.cpp
src/clientiface.h
src/content_sao.cpp
src/content_sao.h
src/emerge.cpp
src/emerge.h
src/modchannels.cpp
src/modchannels.h
src/network/connection.cpp
src/network/connection.h
src/network/connectionthreads.cpp
src/network/connectionthreads.h
src/network/networkpacket.cpp
src/network/networkpacket.h
src/network/networkprotocol.h
src/network/peerhandler.h
src/network/serverpackethandler.cpp
src/player.h
src/server.cpp
src/server.h
src/serverenvironment.cpp
src/serverenvironment.h
src/unittest/test_connection.cpp