2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 20:24:01 +00:00

Merge pull request #291 from lioncash/name

IAnimReader: Make use of std::string_view where applicable
This commit is contained in:
2020-03-31 01:20:20 -07:00
committed by GitHub
11 changed files with 34 additions and 33 deletions

View File

@@ -2,6 +2,7 @@
#include <memory>
#include <optional>
#include <string_view>
#include "Runtime/CToken.hpp"
#include "Runtime/RetroTypes.hpp"
@@ -121,9 +122,9 @@ public:
u32) const = 0;
virtual u32 VGetSoundPOIList(const CCharAnimTime& time, CSoundPOINode* listOut, u32 capacity, u32 iterator,
u32) const = 0;
virtual bool VGetBoolPOIState(const char*) const = 0;
virtual s32 VGetInt32POIState(const char*) const = 0;
virtual CParticleData::EParentedMode VGetParticlePOIState(const char*) const = 0;
virtual bool VGetBoolPOIState(std::string_view name) const = 0;
virtual s32 VGetInt32POIState(std::string_view name) const = 0;
virtual CParticleData::EParentedMode VGetParticlePOIState(std::string_view name) const = 0;
virtual void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut) const = 0;
virtual void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut,
const CCharAnimTime& time) const = 0;