mirror of
https://github.com/zeldaret/botw
synced 2026-07-29 23:38:20 -04:00
ksys/res: Implement GParamList StalEnemy
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <agl/Utils/aglParameter.h>
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
|
||||
#include "KingSystem/Utils/Types.h"
|
||||
|
||||
namespace ksys::res {
|
||||
|
||||
class GParamListObjectStalEnemy : public GParamListObject {
|
||||
public:
|
||||
GParamListObjectStalEnemy() {
|
||||
auto* const obj = &mObj;
|
||||
|
||||
mHeadActorName.init("", "HeadActorName", "", obj);
|
||||
mLeftArmActorName.init("", "LeftArmActorName", "", obj);
|
||||
}
|
||||
|
||||
const char* getName() const override { return "StalEnemy"; }
|
||||
|
||||
agl::utl::Parameter<sead::SafeString> mHeadActorName;
|
||||
agl::utl::Parameter<sead::SafeString> mLeftArmActorName;
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(GParamListObjectStalEnemy, 0x88);
|
||||
|
||||
} // namespace ksys::res
|
||||
@@ -59,6 +59,7 @@
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectShield.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectSmallSword.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectSpear.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectStalEnemy.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectSwarm.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectTraveler.h"
|
||||
@@ -171,6 +172,7 @@ bool GParamList::parse_(u8* data, size_t, sead::Heap* heap) {
|
||||
add<GParamListObjType::GelEnemy>(archive.getRootList(), "GelEnemy", heap, dummy_list);
|
||||
add<GParamListObjType::Nest>(archive.getRootList(), "Nest", heap, dummy_list);
|
||||
add<GParamListObjType::Wizzrobe>(archive.getRootList(), "Wizzrobe", heap, dummy_list);
|
||||
add<GParamListObjType::StalEnemy>(archive.getRootList(), "StalEnemy", heap, dummy_list);
|
||||
|
||||
// TODO: the rest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user