mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 22:27:42 +00:00
IAnimReader: Make use of std::string_view where applicable
Same behavior, but allows interoperating with different string types in a more straightforward manner.
This commit is contained in:
@@ -35,11 +35,11 @@ u32 CAnimTreeSingleChild::VGetSoundPOIList(const CCharAnimTime& time, CSoundPOIN
|
||||
return x14_child->GetSoundPOIList(time, listOut, capacity, iterator, unk);
|
||||
}
|
||||
|
||||
bool CAnimTreeSingleChild::VGetBoolPOIState(const char* name) const { return x14_child->VGetBoolPOIState(name); }
|
||||
bool CAnimTreeSingleChild::VGetBoolPOIState(std::string_view name) const { return x14_child->VGetBoolPOIState(name); }
|
||||
|
||||
s32 CAnimTreeSingleChild::VGetInt32POIState(const char* name) const { return x14_child->VGetInt32POIState(name); }
|
||||
s32 CAnimTreeSingleChild::VGetInt32POIState(std::string_view name) const { return x14_child->VGetInt32POIState(name); }
|
||||
|
||||
CParticleData::EParentedMode CAnimTreeSingleChild::VGetParticlePOIState(const char* name) const {
|
||||
CParticleData::EParentedMode CAnimTreeSingleChild::VGetParticlePOIState(std::string_view name) const {
|
||||
return x14_child->VGetParticlePOIState(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user