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.

43 lines
1.4 KiB

  1. //========= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef IGAMECLIENTEXPORTS_H
  8. #define IGAMECLIENTEXPORTS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "interface.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Exports a set of functions for the GameUI interface to interact with the game client
  15. //-----------------------------------------------------------------------------
  16. abstract_class IGameClientExports : public IBaseInterface
  17. {
  18. public:
  19. // ingame voice manipulation
  20. virtual bool IsPlayerGameVoiceMuted(int playerIndex) = 0;
  21. virtual void MutePlayerGameVoice(int playerIndex) = 0;
  22. virtual void UnmutePlayerGameVoice(int playerIndex) = 0;
  23. // notification of gameui state changes
  24. virtual void OnGameUIActivated() = 0;
  25. virtual void OnGameUIHidden() = 0;
  26. virtual void CreateAchievementsPanel( vgui::Panel* pParent ) = 0;
  27. virtual void DisplayAchievementPanel( ) = 0;
  28. virtual void ShutdownAchievementPanel( ) = 0;
  29. virtual int GetAchievementsPanelMinWidth( void ) const = 0;
  30. // if true, the gameui applies the blur effect
  31. virtual bool ClientWantsBlurEffect( void ) = 0;
  32. };
  33. #define GAMECLIENTEXPORTS_INTERFACE_VERSION "GameClientExports001"
  34. #endif // IGAMECLIENTEXPORTS_H