#pragma once #include #include "KingSystem/Resource/GeneralParamList/resGParamListObject.h" #include "KingSystem/Utils/Types.h" namespace ksys::res { class GParamListObjectGeneral : public GParamListObject { public: GParamListObjectGeneral(); const char* getName() const override { return "General"; } agl::utl::Parameter mSpeed; agl::utl::Parameter mLife; agl::utl::Parameter mIsLifeInfinite; agl::utl::Parameter mElectricalDischarge; agl::utl::Parameter mIsBurnOutBorn; agl::utl::Parameter mBurnOutBornName; agl::utl::Parameter mIsBurnOutBornIdent; agl::utl::Parameter mChangeDropTableName; }; KSYS_CHECK_SIZE_NX150(GParamListObjectGeneral, 0x148); inline GParamListObjectGeneral::GParamListObjectGeneral() { auto* const obj = &mObj; mSpeed.init(1.0, "Speed", "", obj); mLife.init(100, "Life", "", obj); mIsLifeInfinite.init(false, "IsLifeInfinite", "", obj); mElectricalDischarge.init(1.0, "ElectricalDischarge", "", obj); mIsBurnOutBorn.init(false, "IsBurnOutBorn", "", obj); mBurnOutBornName.init("", "BurnOutBornName", "", obj); mIsBurnOutBornIdent.init(false, "IsBurnOutBornIdent", "", obj); mChangeDropTableName.init("", "ChangeDropTableName", "", obj); } } // namespace ksys::res