mirror of
https://github.com/zeldaret/botw
synced 2026-08-03 16:52:22 -04:00
ksys/res: Implement GParamList Nest
This commit is contained in:
@@ -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 GParamListObjectNest : public GParamListObject {
|
||||
public:
|
||||
GParamListObjectNest();
|
||||
const char* getName() const override { return "Nest"; }
|
||||
|
||||
agl::utl::Parameter<sead::SafeString> mCreateActor;
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(GParamListObjectNest, 0x60);
|
||||
|
||||
inline GParamListObjectNest::GParamListObjectNest() {
|
||||
auto* const obj = &mObj;
|
||||
|
||||
mCreateActor.init("", "CreateActor", "", obj);
|
||||
}
|
||||
|
||||
} // namespace ksys::res
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectLumberjackTree.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectMasterSword.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectMonsterShop.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectNest.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectNpc.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectNpcEquipment.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectPlayer.h"
|
||||
@@ -167,6 +168,7 @@ bool GParamList::parse_(u8* data, size_t, sead::Heap* heap) {
|
||||
add<GParamListObjType::MonsterShop>(archive.getRootList(), "MonsterShop", heap, dummy_list);
|
||||
add<GParamListObjType::Swarm>(archive.getRootList(), "Swarm", heap, dummy_list);
|
||||
add<GParamListObjType::GelEnemy>(archive.getRootList(), "GelEnemy", heap, dummy_list);
|
||||
add<GParamListObjType::Nest>(archive.getRootList(), "Nest", heap, dummy_list);
|
||||
|
||||
// TODO: the rest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user