metaforce/Runtime/World/CScriptHUDMemo.hpp

28 lines
707 B
C++

#pragma once
#include "CEntity.hpp"
#include "CHUDMemoParms.hpp"
#include "CToken.hpp"
namespace urde {
class CStringTable;
class CScriptHUDMemo : public CEntity {
public:
enum class EDisplayType {
StatusMessage,
MessageBox,
};
CHUDMemoParms x34_parms;
EDisplayType x3c_dispType;
CAssetId x40_stringTableId;
std::optional<TLockedToken<CStringTable>> x44_stringTable;
private:
public:
CScriptHUDMemo(TUniqueId, std::string_view, const CEntityInfo&, const CHUDMemoParms&, CScriptHUDMemo::EDisplayType,
CAssetId, bool);
void Accept(IVisitor& visitor) override;
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
};
} // namespace urde