Progress on file transfers (class for receiving files, FileSender can transfer multiple files to the same recipient simultaneously)

This commit is contained in:
Regalis
2017-03-07 20:03:40 +02:00
parent 11b7903d4a
commit 5450ff498a
5 changed files with 403 additions and 8 deletions
@@ -15,6 +15,8 @@ namespace Barotrauma.Networking
REQUEST_INIT, //ask the server to give you initialization
UPDATE_LOBBY, //update state in lobby
UPDATE_INGAME, //update state ingame
FILE_REQUEST, //request a (submarine) file from the server
RESPONSE_STARTGAME, //tell the server whether you're ready to start
SERVER_COMMAND //tell the server to end a round or kick/ban someone (special permissions required)