BVB Source Codes

CRYENGINE Show RConClientListener.h Source code

Return Download CRYENGINE: download RConClientListener.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description: IRemoteControlClientListener implementation
  8.    -------------------------------------------------------------------------
  9.    History:
  10.    - Created by Lin Luo, November 09, 2006
  11. *************************************************************************/
  12.  
  13. #ifndef __RCONCLIENTLISTENER_H__
  14. #define __RCONCLIENTLISTENER_H__
  15.  
  16. #include <CryNetwork/IRemoteControl.h>
  17.  
  18. #pragma once
  19.  
  20. class CRConClientListener : public IRemoteControlClientListener
  21. {
  22. public:
  23.         static CRConClientListener& GetSingleton(IRemoteControlClient* rcon_client);
  24.  
  25.         void                        OnConnectResult(bool okay, EResultDesc desc);
  26.  
  27.         void                        OnSessionStatus(bool connected, EStatusDesc desc);
  28.  
  29.         void                        OnCommandResult(uint32 commandId, string command, string result);
  30.  
  31.         bool                        IsSessionAuthorized() const;
  32.  
  33. private:
  34.         CRConClientListener();
  35.         ~CRConClientListener();
  36.  
  37.         bool                         m_sessionAuthorized;
  38.  
  39.         static CRConClientListener   s_singleton;
  40.  
  41.         static IRemoteControlClient* s_rcon_client;
  42. };
  43.  
  44. #endif
  45.  
downloadRConClientListener.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top