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"
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2018-05-10 02:56:54 +00:00
|
|
|
class CStringTable;
|
2018-12-08 05:30:43 +00:00
|
|
|
class CScriptHUDMemo : public CEntity {
|
2016-05-20 09:17:51 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class EDisplayType {
|
|
|
|
StatusMessage,
|
|
|
|
MessageBox,
|
|
|
|
};
|
|
|
|
CHUDMemoParms x34_parms;
|
|
|
|
EDisplayType x3c_dispType;
|
|
|
|
CAssetId x40_stringTableId;
|
2019-01-29 08:28:35 +00:00
|
|
|
rstl::optional<TLockedToken<CStringTable>> x44_stringTable;
|
2018-12-08 05:30:43 +00:00
|
|
|
|
2016-05-20 09:17:51 +00:00
|
|
|
private:
|
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CScriptHUDMemo(TUniqueId, std::string_view, const CEntityInfo&, const CHUDMemoParms&, CScriptHUDMemo::EDisplayType,
|
|
|
|
CAssetId, bool);
|
2017-01-15 03:07:01 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
2016-05-20 09:17:51 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|