mirror of
https://github.com/zeldaret/botw
synced 2026-06-25 09:22:29 -04:00
49 lines
1.7 KiB
C++
49 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include <heap/seadDisposer.h>
|
|
#include "KingSystem/Resource/resHandle.h"
|
|
#include "KingSystem/Utils/Byaml/Byaml.h"
|
|
|
|
namespace ksys::snd {
|
|
|
|
class InfoData {
|
|
SEAD_SINGLETON_DISPOSER(InfoData)
|
|
|
|
InfoData() = default;
|
|
virtual ~InfoData();
|
|
|
|
public:
|
|
void init(sead::Heap* heap);
|
|
|
|
al::ByamlIter getInfo(const sead::SafeString& key) const;
|
|
sead::SafeString getSoundSettingUserName(const sead::SafeString& key) const;
|
|
|
|
sead::SafeString getReactionSettingLandType(const al::ByamlIter& iter,
|
|
const sead::SafeString& key) const;
|
|
float getReactionSettingLandPitch(const al::ByamlIter& iter) const;
|
|
float getReactionSettingLandVolume(const al::ByamlIter& iter) const;
|
|
float getReactionSettingLandVelocityRatio(const al::ByamlIter& iter) const;
|
|
|
|
sead::SafeString getReactionSettingSlideType(const al::ByamlIter& iter) const;
|
|
sead::SafeString getReactionSettingSlideSlideType(const al::ByamlIter& iter) const;
|
|
float getReactionSettingSlidePitch(const al::ByamlIter& iter) const;
|
|
float getReactionSettingSlideVolume(const al::ByamlIter& iter) const;
|
|
float getReactionSettingSlideVelocityRatio(const al::ByamlIter& iter) const;
|
|
|
|
sead::SafeString getWeaponOwnerSettingOwnerType(const al::ByamlIter& iter) const;
|
|
|
|
sead::SafeString getEquipSoundSettingEquipMaterial(const al::ByamlIter& iter) const;
|
|
|
|
bool getMiscInDoorOcclusion(const al::ByamlIter& iter) const;
|
|
|
|
sead::SafeString getMiscPlantShakeType(const al::ByamlIter& iter) const;
|
|
|
|
private:
|
|
void loadSoundInfo(sead::Heap* heap);
|
|
|
|
al::ByamlIter* mRootIter{};
|
|
res::Handle mResHandle{};
|
|
};
|
|
|
|
} // namespace ksys::snd
|