#pragma once #include #include "KingSystem/Resource/GeneralParamList/resGParamListObject.h" #include "KingSystem/Utils/Types.h" namespace ksys::res { class GParamListObjectRope : public GParamListObject { public: GParamListObjectRope(); const char* getName() const override { return "Rope"; } agl::utl::Parameter mIsAllowCutting; agl::utl::Parameter mIsSetupKeyframed; agl::utl::Parameter mBoneEffectiveLength; agl::utl::Parameter mIsInterpolateEdge; agl::utl::Parameter mIsDeformable; agl::utl::Parameter mIsOneBoneOneShape; agl::utl::Parameter mSplineOffsetRateA; agl::utl::Parameter mSplineOffsetRateB; agl::utl::Parameter mSplineOffsetRateC; agl::utl::Parameter mMtxEndPosOffsetLength; }; KSYS_CHECK_SIZE_NX150(GParamListObjectRope, 0x178); inline GParamListObjectRope::GParamListObjectRope() { auto* const obj = &mObj; mIsAllowCutting.init(true, "IsAllowCutting", "", obj); mIsSetupKeyframed.init(false, "IsSetupKeyframed", "", obj); mBoneEffectiveLength.init(0.1, "BoneEffectiveLength", "", obj); mIsInterpolateEdge.init(true, "IsInterpolateEdge", "", obj); mIsDeformable.init(true, "IsDeformable", "", obj); mIsOneBoneOneShape.init(false, "IsOneBoneOneShape", "", obj); mSplineOffsetRateA.init(0.0, "SplineOffsetRateA", "", obj); mSplineOffsetRateB.init(0.0, "SplineOffsetRateB", "", obj); mSplineOffsetRateC.init(0.0, "SplineOffsetRateC", "", obj); mMtxEndPosOffsetLength.init(0.0, "MtxEndPosOffsetLength", "", obj); } } // namespace ksys::res