ksys/res: Implement GParamList AnimalFollowOffset

This commit is contained in:
Léo Lam
2020-09-20 11:44:40 +02:00
parent ee9dfe6ae3
commit 2fd514a30d
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,24 @@
#pragma once
#include <agl/Utils/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"
namespace ksys::res {
class GParamListObjectAnimalFollowOffset : public GParamListObject {
public:
GParamListObjectAnimalFollowOffset();
const char* getName() const override { return "AnimalFollowOffset"; }
agl::utl::Parameter<sead::Vector3f> mEatLocalOffset;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectAnimalFollowOffset, 0x60);
inline GParamListObjectAnimalFollowOffset::GParamListObjectAnimalFollowOffset() {
auto* const obj = &mObj;
mEatLocalOffset.init({0.0, 0.0, 0.0}, "EatLocalOffset", "", obj);
}
} // namespace ksys::res