Counter Strike : Global Offensive Source Code
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
911 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: implementation of player info manager
  4. //
  5. //=============================================================================//
  6. #ifndef PLAYERINFOMANAGER_H
  7. #define PLAYERINFOMANAGER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "game/server/iplayerinfo.h"
  12. //-----------------------------------------------------------------------------
  13. // Purpose: interface for plugins to get player info
  14. //-----------------------------------------------------------------------------
  15. class CPlayerInfoManager: public IPlayerInfoManager
  16. {
  17. public:
  18. virtual IPlayerInfo *GetPlayerInfo( edict_t *pEdict );
  19. virtual CGlobalVars *GetGlobalVars();
  20. };
  21. class CPluginBotManager: public IBotManager
  22. {
  23. public:
  24. virtual IBotController *GetBotController( edict_t *pEdict );
  25. virtual edict_t *CreateBot( const char *botname );
  26. };
  27. #endif