2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-08-18 01:30:15 +00:00
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CScriptPlayerHint : public CActor
|
|
|
|
{
|
2017-08-19 06:52:13 +00:00
|
|
|
rstl::reserved_vector<TUniqueId, 8> xe8_objectList;
|
|
|
|
bool xfc_deactivated = false;
|
2017-08-18 01:30:15 +00:00
|
|
|
u32 x100_priority;
|
|
|
|
u32 x104_overrideFlags;
|
2017-08-20 05:23:22 +00:00
|
|
|
TUniqueId x108_mpId = kInvalidUniqueId;
|
|
|
|
void AddToObjectList(TUniqueId uid);
|
|
|
|
void RemoveFromObjectList(TUniqueId uid);
|
2017-08-18 01:30:15 +00:00
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptPlayerHint(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
2017-08-18 01:30:15 +00:00
|
|
|
const zeus::CTransform& xf, bool active, u32 priority, u32 overrideFlags);
|
|
|
|
void Accept(IVisitor& visit);
|
2017-08-20 05:23:22 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
2017-08-18 01:30:15 +00:00
|
|
|
u32 GetPriority() const { return x100_priority; }
|
|
|
|
u32 GetOverrideFlags() const { return x104_overrideFlags; }
|
2017-08-20 05:23:22 +00:00
|
|
|
TUniqueId GetActorId() const { return x108_mpId; }
|
2017-08-19 06:52:13 +00:00
|
|
|
void ClearObjectList() { xe8_objectList.clear(); }
|
|
|
|
void SetDeactivated() { xfc_deactivated = true; }
|
2017-08-18 01:30:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|