2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-05-18 03:57:43 +00:00
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
class CScriptMemoryRelay : public CEntity {
|
|
|
|
union {
|
|
|
|
struct {
|
2019-07-17 02:10:57 +00:00
|
|
|
bool x34_24_defaultActive;
|
2018-12-08 05:30:43 +00:00
|
|
|
bool x34_25_skipSendActive;
|
|
|
|
bool x34_26_ignoreMessages;
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
u8 dummy = 0;
|
|
|
|
};
|
|
|
|
|
2016-05-18 03:57:43 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CScriptMemoryRelay(TUniqueId, std::string_view name, const CEntityInfo&, bool, bool, bool);
|
2019-08-09 12:45:18 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|