mirror of https://github.com/AxioDL/metaforce.git
23 lines
548 B
C++
23 lines
548 B
C++
#ifndef CSCRIPTRELAY_HPP
|
|
#define CSCRIPTRELAY_HPP
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class CScriptRelay : public CEntity
|
|
{
|
|
TUniqueId x34_nextRelay = kInvalidUniqueId;
|
|
u32 x38_refCount = 0;
|
|
public:
|
|
CScriptRelay(TUniqueId, std::string_view, const CEntityInfo&, bool);
|
|
|
|
void Accept(IVisitor& visitor);
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
|
void Think(float, CStateManager& stateMgr);
|
|
void UpdateObjectRef(CStateManager& stateMgr);
|
|
};
|
|
}
|
|
|
|
#endif // CSCRIPTRELAY_HPP
|