2022-10-16 13:20:53 +00:00
|
|
|
#ifndef _CSCRIPTPLAYERSTATECHANGE
|
|
|
|
#define _CSCRIPTPLAYERSTATECHANGE
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptPlayerStateChange : public CEntity {
|
|
|
|
public:
|
|
|
|
enum EControl { kC_Unfiltered, kC_Filtered };
|
|
|
|
enum EControlCommandOption { kCCO_Unfiltered, kCCO_Filtered };
|
|
|
|
|
|
|
|
private:
|
|
|
|
int x34_itemType;
|
|
|
|
int x38_itemCount;
|
|
|
|
int x3c_itemCapacity;
|
|
|
|
EControl x40_ctrl;
|
|
|
|
EControlCommandOption x44_ctrlCmdOpt;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptPlayerStateChange(TUniqueId, const rstl::string&, const CEntityInfo&, bool, int, int, int, EControl,
|
|
|
|
EControlCommandOption);
|
2023-02-06 07:21:28 +00:00
|
|
|
void Accept(IVisitor& visit);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
2022-10-16 13:20:53 +00:00
|
|
|
~CScriptPlayerStateChange();
|
2022-10-16 15:16:28 +00:00
|
|
|
|
|
|
|
bool Filtered() { return x44_ctrlCmdOpt == kCCO_Filtered; }
|
2022-10-16 13:20:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTPLAYERSTATECHANGE
|