mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +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:
@@ -58,15 +58,15 @@ u32 CAnimTreeAnimReaderContainer::VGetSoundPOIList(const CCharAnimTime& time, CS
|
||||
return x14_reader->GetSoundPOIList(time, listOut, capacity, iterator, unk);
|
||||
}
|
||||
|
||||
bool CAnimTreeAnimReaderContainer::VGetBoolPOIState(const char* name) const {
|
||||
bool CAnimTreeAnimReaderContainer::VGetBoolPOIState(std::string_view name) const {
|
||||
return x14_reader->VGetBoolPOIState(name);
|
||||
}
|
||||
|
||||
s32 CAnimTreeAnimReaderContainer::VGetInt32POIState(const char* name) const {
|
||||
s32 CAnimTreeAnimReaderContainer::VGetInt32POIState(std::string_view name) const {
|
||||
return x14_reader->VGetInt32POIState(name);
|
||||
}
|
||||
|
||||
CParticleData::EParentedMode CAnimTreeAnimReaderContainer::VGetParticlePOIState(const char* name) const {
|
||||
CParticleData::EParentedMode CAnimTreeAnimReaderContainer::VGetParticlePOIState(std::string_view name) const {
|
||||
return x14_reader->VGetParticlePOIState(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user