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

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

namespace ksys::res {

class GParamListObjectPictureBook : public GParamListObject {
public:
    GParamListObjectPictureBook() {
        auto* const obj = &mObj;

        mLiveSpot1.init(-1, "LiveSpot1", "", obj);
        mLiveSpot2.init(-1, "LiveSpot2", "", obj);
        mSpecialDrop.init(-1, "SpecialDrop", "", obj);
    }

    const char* getName() const override { return "PictureBook"; }

    agl::utl::Parameter<s32> mLiveSpot1;
    agl::utl::Parameter<s32> mLiveSpot2;
    agl::utl::Parameter<s32> mSpecialDrop;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectPictureBook, 0x98);

}  // namespace ksys::res