This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

View File

@ -0,0 +1,26 @@
/////////////////////////////////////////////////////////////////////////
//XUIClientInfo.h
//
//Copyright Certain Affinity 2007
//
#ifndef _XUICLIENT_INFO_H_
#define _XUICLIENT_INFO_H_
#define INTERFACEVERSION_XUIClientInfo "XUIClientInterface1"
//This is intended to be an interface between the XUI system and the main game.
class IXUIClientInfo
{
public:
virtual bool IsPlayerSurvivor() = 0;
virtual bool IsPlayerInfected() = 0;
virtual bool IsPlayerSpectator() = 0;
// presence info functions
virtual unsigned int GetScenarioCount() = 0;
virtual const char* GetScenarioDisplayString(unsigned int index) = 0;
virtual const char* GetScenarioValueString(unsigned int index) = 0;
virtual unsigned int GetScenarioID(unsigned int index) = 0;
};
#endif