Match and link CBSStep

Former-commit-id: 1f6f501f86
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-28 14:41:31 +03:00
parent 1a369240b2
commit d005719e62
6 changed files with 127 additions and 8 deletions

View File

@@ -86,6 +86,24 @@ public:
//
class CBCStepCmd : public CBodyStateCmd {
public:
explicit CBCStepCmd()
: CBodyStateCmd(kBSC_Step), x8_dir(pas::kSD_Invalid), xc_type(pas::kStep_Normal) {}
explicit CBCStepCmd(pas::EStepDirection dir, pas::EStepType type)
: CBodyStateCmd(kBSC_Step), x8_dir(dir), xc_type(type) {}
pas::EStepDirection GetStepDirection() const { return x8_dir; }
pas::EStepType GetStepType() const { return xc_type; }
private:
pas::EStepDirection x8_dir;
pas::EStepType xc_type;
};
//
class CBCTauntCmd : public CBodyStateCmd {
public:
explicit CBCTauntCmd() : CBodyStateCmd(kBSC_Taunt), x8_type(pas::kTT_Invalid) {}