诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
626 B

  1. #include "Stdafx.h"
  2. #include "GameClient.h"
  3. #include "GameClientEngine.h"
  4. //应用程序对象
  5. CGameClientApp theApp;
  6. //////////////////////////////////////////////////////////////////////////
  7. //构造函数
  8. CGameClientApp::CGameClientApp()
  9. {
  10. }
  11. //析构函数
  12. CGameClientApp::~CGameClientApp()
  13. {
  14. }
  15. //创建引擎
  16. CGameFrameEngine * CGameClientApp::GetGameFrameEngine(DWORD dwSDKVersion)
  17. {
  18. //版本检测
  19. if (InterfaceVersionCompare(VERSION_FRAME_SDK,dwSDKVersion)==false) return NULL;
  20. //创建引擎
  21. return new CGameClientEngine;
  22. }
  23. //////////////////////////////////////////////////////////////////////////