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_;
|
2016-07-25 17:58:47 +00:00
|
|
|
bool x34_25_skipSendNone;
|
2016-07-25 06:24:57 +00:00
|
|
|
bool x34_26_ignoreMessages;
|
2016-05-18 03:57:43 +00:00
|
|
|
};
|
|
|
|
u8 dummy = 0;
|
|
|
|
};
|
|
|
|
public:
|
|
|
|
CScriptMemoryRelay(TUniqueId, const std::string& name, const CEntityInfo&, bool, bool, bool);
|
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
|