aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/game/client/IGameClientExports.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /sp/src/public/game/client/IGameClientExports.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/public/game/client/IGameClientExports.h')
-rw-r--r--sp/src/public/game/client/IGameClientExports.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/sp/src/public/game/client/IGameClientExports.h b/sp/src/public/game/client/IGameClientExports.h
new file mode 100644
index 00000000..22d37a50
--- /dev/null
+++ b/sp/src/public/game/client/IGameClientExports.h
@@ -0,0 +1,53 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef IGAMECLIENTEXPORTS_H
+#define IGAMECLIENTEXPORTS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Exports a set of functions for the GameUI interface to interact with the game client
+//-----------------------------------------------------------------------------
+abstract_class IGameClientExports : public IBaseInterface
+{
+public:
+#ifndef _XBOX
+ // ingame voice manipulation
+ virtual bool IsPlayerGameVoiceMuted(int playerIndex) = 0;
+ virtual void MutePlayerGameVoice(int playerIndex) = 0;
+ virtual void UnmutePlayerGameVoice(int playerIndex) = 0;
+
+ // notification of gameui state changes
+ virtual void OnGameUIActivated() = 0;
+ virtual void OnGameUIHidden() = 0;
+#endif
+
+ //=============================================================================
+ // HPE_BEGIN
+ // [dwenger] Necessary for stats display
+ //=============================================================================
+
+ virtual void CreateAchievementsPanel( vgui::Panel* pParent ) = 0;
+ virtual void DisplayAchievementPanel( ) = 0;
+ virtual void ShutdownAchievementPanel( ) = 0;
+ virtual int GetAchievementsPanelMinWidth( void ) const = 0;
+
+ //=============================================================================
+ // HPE_END
+ //=============================================================================
+
+ virtual const char *GetHolidayString() = 0;
+};
+
+#define GAMECLIENTEXPORTS_INTERFACE_VERSION "GameClientExports001"
+
+
+#endif // IGAMECLIENTEXPORTS_H