summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectCookSpice.h
blob: 9b1d183605eb2ec8efe2ea7015b9c6fba212ebdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once

#include <utility/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"

namespace ksys::res {

class GParamListObjectCookSpice : public GParamListObject {
public:
    GParamListObjectCookSpice();
    const char* getName() const override { return "CookSpice"; }

    agl::utl::Parameter<s32> mBoostHitPointRecover;
    agl::utl::Parameter<s32> mBoostEffectiveTime;
    agl::utl::Parameter<s32> mBoostSuccessRate;
    agl::utl::Parameter<s32> mBoostMaxHeartLevel;
    agl::utl::Parameter<s32> mBoostStaminaLevel;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectCookSpice, 0xd8);

inline GParamListObjectCookSpice::GParamListObjectCookSpice() {
    auto* const obj = &mObj;

    mBoostHitPointRecover.init(0, "BoostHitPointRecover", "", obj);
    mBoostEffectiveTime.init(0, "BoostEffectiveTime", "", obj);
    mBoostSuccessRate.init(0, "BoostSuccessRate", "", obj);
    mBoostMaxHeartLevel.init(0, "BoostMaxHeartLevel", "", obj);
    mBoostStaminaLevel.init(0, "BoostStaminaLevel", "", obj);
}

}  // namespace ksys::res