Public Member Functions | |
| KNetClient () | |
| bool | Init () |
| bool | End () |
| virtual void | OnConnect (KInetAddr &Addr) |
| virtual void | OnDisconnect (KInetAddr &Addr) |
| virtual void | OnMessage (KInetAddr &Addr, KNetMsg &Msg) |
| virtual void | OnUCMessage (KInetAddr &Addr, char *pBuffer, u32 Size) |
| virtual bool | Manage () |
| virtual bool | Connect (KStr sHostName, u16 Port) |
| virtual bool | Disconnect () |
| void | SetShowStats (bool bShow) |
| bool | IsShowStats () |
| bool | RequestServersList () |
| bool | ManageLobbySocket () |
Protected Member Functions | |
| void | ReadServerInfo (KNetMsg &Msg) |
Static Protected Member Functions | |
| static void | CommandGetServersList (KStr Argument, void *pContext) |
Protected Attributes | |
| KTIME | m_LastStatsTime |
| bool | m_bShowStats |
| KSocket | m_LobbySocket |
| KInetAddr | m_LobbyAddr |
| KInetAddr * | m_pLocalAddr |
| u32 | m_nLocalAddr |
| u16 | m_LobbyRequestId |
Definition at line 8 of file NetClient.h.
1.5.1-p1