summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectBullet.h
blob: 05ea8225010d0a307b3d3d4e06a6e831b8e10003 (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 GParamListObjectBullet : public GParamListObject {
public:
    GParamListObjectBullet();
    const char* getName() const override { return "Bullet"; }

    agl::utl::Parameter<bool> mNoHitParent;
    agl::utl::Parameter<bool> mIsLimitCount;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectBullet, 0x78);

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

    mNoHitParent.init(true, "NoHitParent", "", obj);
    mIsLimitCount.init(false, "IsLimitCount", "", obj);
}

}  // namespace ksys::res