2016-05-18 03:57:43 +00:00
|
|
|
#ifndef CSCRIPTRANDOMRELAY_HPP
|
|
|
|
#define CSCRIPTRANDOMRELAY_HPP
|
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScriptRandomRelay : public CEntity
|
|
|
|
{
|
|
|
|
u32 x34_connectionCount;
|
|
|
|
u32 x38_variance;
|
|
|
|
bool x3c_clamp;
|
|
|
|
public:
|
|
|
|
CScriptRandomRelay(TUniqueId, const std::string&, const CEntityInfo&, s32, s32, bool, bool);
|
2016-07-25 06:24:57 +00:00
|
|
|
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
|
|
|
void SendLocalScriptMsgs(EScriptObjectState state, CStateManager& stateMgr);
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CSCRIPTRANDOMRELAY_HPP
|