forked from mirror/OpenTTD
(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
This commit is contained in:
@@ -550,7 +550,7 @@ DEF_CONSOLE_CMD(ConStatus)
|
||||
"active"
|
||||
};
|
||||
|
||||
const NetworkClientState *cs;
|
||||
NetworkTCPSocketHandler *cs;
|
||||
|
||||
if (argc == 0) {
|
||||
IConsoleHelp("List the status of all clients connected to the server. Usage 'status'");
|
||||
@@ -672,7 +672,7 @@ DEF_CONSOLE_CMD(ConKick)
|
||||
DEF_CONSOLE_CMD(ConResetCompany)
|
||||
{
|
||||
const Player *p;
|
||||
const NetworkClientState *cs;
|
||||
NetworkTCPSocketHandler *cs;
|
||||
const NetworkClientInfo *ci;
|
||||
PlayerID index;
|
||||
|
||||
|
Reference in New Issue
Block a user