2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-12-19 18:27:58 +00:00
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScriptSwitch : public CEntity
|
|
|
|
{
|
2016-12-19 19:20:30 +00:00
|
|
|
bool x34_opened;
|
|
|
|
bool x35_closeOnOpened;
|
2016-12-19 18:27:58 +00:00
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptSwitch(TUniqueId, std::string_view, const CEntityInfo&, bool, bool, bool);
|
2016-12-19 18:27:58 +00:00
|
|
|
|
2017-01-15 03:07:01 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2016-12-19 18:27:58 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
|
|
|
};
|
|
|
|
}
|