#pragma once #include #include "KingSystem/Resource/GeneralParamList/resGParamListObject.h" #include "KingSystem/Utils/Types.h" namespace ksys::res { class GParamListObjectHorseRider : public GParamListObject { public: GParamListObjectHorseRider(); const char* getName() const override { return "HorseRider"; } agl::utl::Parameter mRootNode; agl::utl::Parameter mSpineNode; agl::utl::Parameter mRotBaseNode; agl::utl::Parameter mRotAxis; agl::utl::Parameter mRotLimit; agl::utl::Parameter mWeaponTransOffsetSmallSword; agl::utl::Parameter mWeaponTransOffsetLargeSword; agl::utl::Parameter mWeaponTransOffsetSpear; agl::utl::Parameter mWeaponTransOffsetBow; agl::utl::Parameter mWeaponTransOffsetShield; agl::utl::Parameter mLeftFootNode; agl::utl::Parameter mLeftFootRotAxis; agl::utl::Parameter mRightFootNode; agl::utl::Parameter mRightFootRotAxis; agl::utl::Parameter mFootRotRatio; agl::utl::Parameter mFootRetRotRatio; agl::utl::Parameter mFootRotAngleForKuma; }; KSYS_CHECK_SIZE_NX150(GParamListObjectHorseRider, 0x2c0); inline GParamListObjectHorseRider::GParamListObjectHorseRider() { auto* const obj = &mObj; mRootNode.init("", "RootNode", "", obj); mSpineNode.init("", "SpineNode", "", obj); mRotBaseNode.init("", "RotBaseNode", "", obj); mRotAxis.init({0.0, 1.0, 0.0}, "RotAxis", "", obj); mRotLimit.init(0.0, "RotLimit", "", obj); mWeaponTransOffsetSmallSword.init({0.0, 0.0, 0.0}, "WeaponTransOffsetSmallSword", "", obj); mWeaponTransOffsetLargeSword.init({0.0, 0.0, 0.0}, "WeaponTransOffsetLargeSword", "", obj); mWeaponTransOffsetSpear.init({0.0, 0.0, 0.0}, "WeaponTransOffsetSpear", "", obj); mWeaponTransOffsetBow.init({0.0, 0.0, 0.0}, "WeaponTransOffsetBow", "", obj); mWeaponTransOffsetShield.init({0.0, 0.0, 0.0}, "WeaponTransOffsetShield", "", obj); mLeftFootNode.init("", "LeftFootNode", "", obj); mLeftFootRotAxis.init({0.0, 0.0, 0.0}, "LeftFootRotAxis", "", obj); mRightFootNode.init("", "RightFootNode", "", obj); mRightFootRotAxis.init({0.0, 0.0, 0.0}, "RightFootRotAxis", "", obj); mFootRotRatio.init(0.4, "FootRotRatio", "", obj); mFootRetRotRatio.init(0.8, "FootRetRotRatio", "", obj); mFootRotAngleForKuma.init(0.0, "FootRotAngleForKuma", "", obj); } } // namespace ksys::res