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);
|
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|