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);
|
2023-02-06 07:21:28 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
|
|
|
void Think(float, CStateManager& stateMgr);
|
|
|
|
void Accept(IVisitor& visitor);
|
2022-10-16 13:59:20 +00:00
|
|
|
|
|
|
|
~CScriptRelay();
|
2022-10-16 00:03:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTRELAY
|