2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-01-18 22:30:02 +00:00
|
|
|
|
|
|
|
#include "World/CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScriptTargetingPoint : public CActor
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool xe8_e4_ : 1;
|
|
|
|
};
|
|
|
|
u8 xe8_dummy = 0;
|
|
|
|
};
|
|
|
|
TUniqueId xea_;
|
|
|
|
float xec_time = 0.f;
|
|
|
|
|
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptTargetingPoint(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool);
|
2017-01-18 22:30:02 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
|
|
|
void Think(float, CStateManager &);
|
|
|
|
void Render(const CStateManager &) const {}
|
|
|
|
|
|
|
|
bool GetLocked() const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|