metaforce/Runtime/World/CScriptHUDMemo.hpp

33 lines
789 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-05-20 09:17:51 +00:00
#include <optional>
#include <string_view>
#include "Runtime/CToken.hpp"
#include "Runtime/World/CEntity.hpp"
#include "Runtime/World/CHUDMemoParms.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
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;
std::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
void Accept(IVisitor& visitor) override;
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
2016-05-20 09:17:51 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde