diff options
author | planetmaker <planetmaker@openttd.org> | 2013-07-11 20:31:39 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2013-07-11 20:31:39 +0000 |
commit | 7686587f02ff76bb7d6f899b989701adeda5b6e4 (patch) | |
tree | 608509e6a67e8be2ed40f7da378b1d9094c33f5f /src/network/network_admin.h | |
parent | 4a1bf704ee1d8de386fe9f5b5fd87a46fb7bb615 (diff) | |
download | openttd-7686587f02ff76bb7d6f899b989701adeda5b6e4.tar.xz |
(svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth)
Diffstat (limited to 'src/network/network_admin.h')
-rw-r--r-- | src/network/network_admin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_admin.h b/src/network/network_admin.h index 8348e741b..cb478fc7e 100644 --- a/src/network/network_admin.h +++ b/src/network/network_admin.h @@ -35,8 +35,10 @@ protected: virtual NetworkRecvStatus Receive_ADMIN_CHAT(Packet *p); virtual NetworkRecvStatus Receive_ADMIN_RCON(Packet *p); virtual NetworkRecvStatus Receive_ADMIN_GAMESCRIPT(Packet *p); + virtual NetworkRecvStatus Receive_ADMIN_PING(Packet *p); NetworkRecvStatus SendProtocol(); + NetworkRecvStatus SendPong(uint32 d1); public: AdminUpdateFrequency update_frequency[ADMIN_UPDATE_END]; ///< Admin requested update intervals. uint32 realtime_connect; ///< Time of connection. |