2022-11-09 00:12:27 +00:00
|
|
|
#ifndef _CSCRIPTRANDOMRELAY
|
|
|
|
#define _CSCRIPTRANDOMRELAY
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptRandomRelay : public CEntity {
|
|
|
|
public:
|
|
|
|
CScriptRandomRelay(TUniqueId uid, const rstl::string& name, const CEntityInfo& info,
|
|
|
|
int sendSetSize, int sendSetVariance, bool percentSize, bool active);
|
|
|
|
~CScriptRandomRelay();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
2022-11-09 00:12:27 +00:00
|
|
|
void SendLocalScriptMsgs(EScriptObjectState state, CStateManager& stateMgr);
|
|
|
|
|
|
|
|
private:
|
|
|
|
int x34_sendSetSize;
|
|
|
|
int x38_sendSetVariance;
|
|
|
|
bool x3c_percentSize;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTRANDOMRELAY
|