2016-05-18 03:57:43 +00:00
|
|
|
#ifndef CSCRIPTMEMORYRELAY_HPP
|
|
|
|
#define CSCRIPTMEMORYRELAY_HPP
|
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScriptMemoryRelay : public CEntity
|
|
|
|
{
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool x34_24_;
|
2017-01-30 06:08:44 +00:00
|
|
|
bool x34_25_skipSendActive;
|
2016-07-25 06:24:57 +00:00
|
|
|
bool x34_26_ignoreMessages;
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
|
|
|
u8 dummy = 0;
|
|
|
|
};
|
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptMemoryRelay(TUniqueId, std::string_view name, const CEntityInfo&, bool, bool, bool);
|
2017-01-15 03:07:01 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2016-07-25 06:24:57 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CSCRIPTMEMORYRELAY_HPP
|