metaforce/Runtime/World/CScriptPlayerStateChange.hpp

35 lines
711 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-07-30 11:00:30 +00:00
#include "World/CEntity.hpp"
namespace urde
{
class CScriptPlayerStateChange : public CEntity
{
public:
enum class EControl
{
Unfiltered,
Filtered
};
enum class EControlCommandOption
{
Unfiltered,
Filtered
};
private:
u32 x34_itemType;
u32 x38_itemCount;
u32 x3c_itemCapacity;
EControl x40_ctrl;
EControlCommandOption x44_ctrlCmdOpt;
public:
2017-11-13 06:19:18 +00:00
CScriptPlayerStateChange(TUniqueId, std::string_view, const CEntityInfo&, bool, u32, u32, u32, EControl,
2017-07-30 11:00:30 +00:00
EControlCommandOption);
void Accept(IVisitor& visit);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
};
}