#pragma once #include #include "KingSystem/Resource/GeneralParamList/resGParamListObject.h" #include "KingSystem/Utils/Types.h" namespace ksys::res { class GParamListObjectEnemy : public GParamListObject { public: GParamListObjectEnemy(); const char* getName() const override { return "Enemy"; } agl::utl::Parameter mRank; agl::utl::Parameter mPower; agl::utl::Parameter mDropLife; agl::utl::Parameter mDyingLife; agl::utl::Parameter mLostDist; agl::utl::Parameter mLostHeightMax; agl::utl::Parameter mLostHeightMin; agl::utl::Parameter mLostRayLength; agl::utl::Parameter mLODLostDist; agl::utl::Parameter mLODLostHeightMax; agl::utl::Parameter mLODLostHeightMin; agl::utl::Parameter mIntelligenceLevel; agl::utl::Parameter mEmotionalLevel; agl::utl::Parameter mHeroismLevel; agl::utl::Parameter mPartActorName; agl::utl::Parameter mIsMindFriend; agl::utl::Parameter mStatusChangeFlag; agl::utl::Parameter mChangeLife; }; KSYS_CHECK_SIZE_NX150(GParamListObjectEnemy, 0x288); inline GParamListObjectEnemy::GParamListObjectEnemy() { auto* const obj = &mObj; mRank.init(0, "Rank", "", obj); mPower.init(0, "Power", "", obj); mDropLife.init(100, "DropLife", "", obj); mDyingLife.init(20, "DyingLife", "", obj); mLostDist.init(100.0, "LostDist", "", obj); mLostHeightMax.init(30.0, "LostHeightMax", "", obj); mLostHeightMin.init(-30.0, "LostHeightMin", "", obj); mLostRayLength.init(-1.0, "LostRayLength", "", obj); mLODLostDist.init(40.0, "LODLostDist", "", obj); mLODLostHeightMax.init(30.0, "LODLostHeightMax", "", obj); mLODLostHeightMin.init(-30.0, "LODLostHeightMin", "", obj); mIntelligenceLevel.init(0.0, "IntelligenceLevel", "", obj); mEmotionalLevel.init(0.0, "EmotionalLevel", "", obj); mHeroismLevel.init(0.0, "HeroismLevel", "", obj); mPartActorName.init("", "PartActorName", "", obj); mIsMindFriend.init(true, "IsMindFriend", "", obj); mStatusChangeFlag.init("", "StatusChangeFlag", "", obj); mChangeLife.init(-1.0, "ChangeLife", "", obj); } } // namespace ksys::res