This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

46
CryGame/XSystemClient.h Normal file
View File

@@ -0,0 +1,46 @@
//////////////////////////////////////////////////////////////////////
//
// Game Source Code
//
// File: XSystemClient.h
// Description: IXSystem interface for the client.
//
// History:
// - August 8, 2001: Created by Alberto Demichelis
//
//////////////////////////////////////////////////////////////////////
#ifndef GAME_XSYSTEMCLIENT_H
#define GAME_XSYSTEMCLIENT_H
#if _MSC_VER > 1000
# pragma once
#endif
#include "XSystemBase.h"
///////////////////////////////////////////////
/*!Implements a the XSystem for a remote client
*/
class CXSystemClient : public CXSystemBase
{
public:
CXSystemClient(CXGame *pGame,ILog *pLog);
virtual ~CXSystemClient();
//// IXSystem ///////////////////////////////
void Release();
bool LoadLevel(const char *szLevelDir,const char *szMissionName, bool bEditor=false);
IEntity* SpawnEntity(class CEntityDesc &ed);
void RemoveEntity(EntityId wID, bool bRemoveNow=false);
void DeleteAllEntities();
void Disconnected(const char *szCause);
void SetVariable(const char *sName,const char *sValue);
// bool LoadCharacter(IEntity* pEntity, const char *szModel);
// void SetMyPlayer(EntityId wID);
bool WriteTeams(CStream &stm){return true;}
/////////////////////////////////////////////
};
#endif // GAME_XSYSTEMCLIENT_H