forked from sears2424/Source-PlusPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIGameUIFuncs.h
30 lines (25 loc) · 918 Bytes
/
IGameUIFuncs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef IGAMEUIFUNCS_H
#define IGAMEUIFUNCS_H
#ifdef _WIN32
#pragma once
#endif
#include "vgui/KeyCode.h"
abstract_class IGameUIFuncs
{
public:
virtual bool IsKeyDown( const char *keyname, bool& isdown ) = 0;
virtual const char *GetBindingForButtonCode( ButtonCode_t code ) = 0;
virtual ButtonCode_t GetButtonCodeForBind( const char *pBind ) = 0;
virtual void GetVideoModes( struct vmode_s **liststart, int *count ) = 0;
virtual void SetFriendsID( uint friendsID, const char *friendsName ) = 0;
virtual void GetDesktopResolution( int &width, int &height ) = 0;
virtual bool IsConnectedToVACSecureServer() = 0;
};
#define VENGINE_GAMEUIFUNCS_VERSION "VENGINE_GAMEUIFUNCS_VERSION005"
#endif // IGAMEUIFUNCS_H