mirror of https://github.com/AxioDL/metaforce.git
28 lines
741 B
C++
28 lines
741 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
#include "Runtime/GCNTypes.hpp"
|
|
#include "Runtime/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:
|
|
CScriptPlayerStateChange(TUniqueId, std::string_view, const CEntityInfo&, bool, u32, u32, u32, EControl,
|
|
EControlCommandOption);
|
|
void Accept(IVisitor& visit) override;
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
|
};
|
|
} // namespace urde
|