metaforce/Runtime/World/CScriptHUDMemo.hpp

34 lines
838 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/GuiSys/CStringTable.hpp"
#include "Runtime/World/CEntity.hpp"
#include "Runtime/World/CHUDMemoParms.hpp"
2021-04-10 08:42:06 +00:00
namespace metaforce {
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:
2021-05-26 14:00:57 +00:00
DEFINE_ENTITY
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
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce