2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-05-20 09:17:51 +00:00
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
#include "CHUDMemoParms.hpp"
|
2018-05-10 02:56:54 +00:00
|
|
|
#include "CToken.hpp"
|
2016-05-20 09:17:51 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2018-05-10 02:56:54 +00:00
|
|
|
class CStringTable;
|
2016-05-20 09:17:51 +00:00
|
|
|
class CScriptHUDMemo : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum class EDisplayType
|
|
|
|
{
|
|
|
|
StatusMessage,
|
|
|
|
MessageBox,
|
|
|
|
};
|
2018-05-10 02:56:54 +00:00
|
|
|
CHUDMemoParms x34_parms;
|
|
|
|
EDisplayType x3c_dispType;
|
|
|
|
CAssetId x40_stringTableId;
|
|
|
|
std::experimental::optional<TLockedToken<CStringTable>> x44_stringTable;
|
2016-05-20 09:17:51 +00:00
|
|
|
private:
|
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptHUDMemo(TUniqueId, std::string_view, const CEntityInfo&, const CHUDMemoParms&,
|
2017-08-13 05:26:14 +00:00
|
|
|
CScriptHUDMemo::EDisplayType, CAssetId, bool);
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
2018-05-10 02:56:54 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
2016-05-20 09:17:51 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|