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

43
CryGame/XObjectProxy.h Normal file
View File

@@ -0,0 +1,43 @@
//////////////////////////////////////////////////////////////////////
//
// Crytek Source code
// Copyright (c) Crytek 2001-2004
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include <iagent.h>
class CXObjectProxy : public IUnknownProxy
{
IEntity *m_pEntity;
IScriptSystem *m_pScriptSystem;
IPhysicalEntity* GetPhysics() { return NULL; }
CPlayer *m_pPlayer;
public:
CXObjectProxy(IEntity *pEntity, IScriptSystem *pSystem);
~CXObjectProxy(void);
// Sets the name of the function that will be called when an incoming signal is intercepted
void SetSignalFuncName(const char * szName);
int Update(SOBJECTSTATE * state);
void SendSignal(SOBJECTSTATE * pState);
void Release() {delete this; }
bool CustomUpdate(Vec3d& pos, Vec3d& angle);
void ApplyHealth(float fHealth) {};
bool QueryProxy(unsigned char type, void ** pProxy) {return false;}
// bool IsBound() { return false;}
void DebugDraw(struct IRenderer * pRenderer);
bool CheckStatus(unsigned char status) { return false; }
void Save(CStream &str){}
void Load(CStream &str){}
void Load_PATCH_1(CStream &str){ }
};