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.

26 lines
790 B

  1. /////////////////////////////////////////////////////////////////////////
  2. //XUIClientInfo.h
  3. //
  4. //Copyright Certain Affinity 2007
  5. //
  6. #ifndef _XUICLIENT_INFO_H_
  7. #define _XUICLIENT_INFO_H_
  8. #define INTERFACEVERSION_XUIClientInfo "XUIClientInterface1"
  9. //This is intended to be an interface between the XUI system and the main game.
  10. class IXUIClientInfo
  11. {
  12. public:
  13. virtual bool IsPlayerSurvivor() = 0;
  14. virtual bool IsPlayerInfected() = 0;
  15. virtual bool IsPlayerSpectator() = 0;
  16. // presence info functions
  17. virtual unsigned int GetScenarioCount() = 0;
  18. virtual const char* GetScenarioDisplayString(unsigned int index) = 0;
  19. virtual const char* GetScenarioValueString(unsigned int index) = 0;
  20. virtual unsigned int GetScenarioID(unsigned int index) = 0;
  21. };
  22. #endif