mirror of
https://github.com/zeldaret/botw
synced 2026-08-08 18:43:11 -04:00
ksys/res: Implement GParamList Bullet
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <agl/Utils/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
|
||||
Reference in New Issue
Block a user