2022-10-16 00:03:19 +00:00
|
|
|
#ifndef _CSCRIPTRELAY
|
|
|
|
#define _CSCRIPTRELAY
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptRelay : public CEntity {
|
2022-10-16 13:59:20 +00:00
|
|
|
TUniqueId x34_nextRelay;
|
|
|
|
int x38_sendCount;
|
|
|
|
|
2022-10-16 00:03:19 +00:00
|
|
|
public:
|
2022-10-16 13:59:20 +00:00
|
|
|
CScriptRelay(TUniqueId, const rstl::string&, const CEntityInfo&, bool);
|
|
|
|
|
|
|
|
void UpdateObjectRef(CStateManager& stateMgr);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
|
|
|
void Think(float, CStateManager& stateMgr) override;
|
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
|
|
|
|
~CScriptRelay();
|
2022-10-16 00:03:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTRELAY
|