mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:47:42 +00:00
New code style refactor
This commit is contained in:
@@ -2,33 +2,23 @@
|
||||
|
||||
#include "World/CEntity.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CScriptPlayerStateChange : public CEntity
|
||||
{
|
||||
namespace urde {
|
||||
class CScriptPlayerStateChange : public CEntity {
|
||||
public:
|
||||
enum class EControl
|
||||
{
|
||||
Unfiltered,
|
||||
Filtered
|
||||
};
|
||||
enum class EControlCommandOption
|
||||
{
|
||||
Unfiltered,
|
||||
Filtered
|
||||
};
|
||||
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;
|
||||
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);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
CScriptPlayerStateChange(TUniqueId, std::string_view, const CEntityInfo&, bool, u32, u32, u32, EControl,
|
||||
EControlCommandOption);
|
||||
void Accept(IVisitor& visit);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user