summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectMonsterShop.h
blob: 4ca5fba02d57db742ef8149d199226c1da23eea2 (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
#pragma once

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

namespace ksys::res {

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

    agl::utl::Parameter<s32> mBuyMamo;
    agl::utl::Parameter<s32> mSellMamo;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectMonsterShop, 0x78);

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

    mBuyMamo.init(0, "BuyMamo", "", obj);
    mSellMamo.init(0, "SellMamo", "", obj);
}

}  // namespace ksys::res