BVB Source Codes

CRYENGINE Show NetworkCVars.h Source code

Return Download CRYENGINE: download NetworkCVars.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __NETWORKCVARS_H__
  4. #define __NETWORKCVARS_H__
  5.  
  6. #pragma once
  7.  
  8. #include <CrySystem/IConsole.h>
  9.  
  10. class CNetworkCVars
  11. {
  12. public:
  13.         int   BreakageLog;
  14.         float VoiceVolume;
  15.         float PhysSyncPingSmooth;
  16.         float PhysSyncLagSmooth;
  17.         int   PhysDebug;
  18.         int   BreakTimeoutFrames;
  19.         float BreakMaxWorldSize;
  20.         float BreakWorldOffsetX;
  21.         float BreakWorldOffsetY;
  22.         int   sv_LoadAllLayersForResList;
  23.  
  24.         static ILINE CNetworkCVars& Get()
  25.         {
  26.                 CRY_ASSERT(s_pThis);
  27.                 return *s_pThis;
  28.         }
  29.  
  30. private:
  31.         friend class CCryAction; // Our only creator
  32.  
  33.         CNetworkCVars(); // singleton stuff
  34.         ~CNetworkCVars();
  35.         CNetworkCVars(const CNetworkCVars&);
  36.         CNetworkCVars& operator=(const CNetworkCVars&);
  37.  
  38.         static CNetworkCVars* s_pThis;
  39. };
  40.  
  41. #endif
  42.  
downloadNetworkCVars.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