mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 10:46:08 +00:00
Add CScriptPlayerStateChange, one regswap away from matching
Former-commit-id: e9f0009c47
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#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);
|
||||
void Accept(IVisitor& visit) override;
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
||||
~CScriptPlayerStateChange();
|
||||
};
|
||||
|
||||
#endif // _CSCRIPTPLAYERSTATECHANGE
|
||||
Reference in New Issue
Block a user