add IsLoaded property to MetadataFile
This commit is contained in:
parent
b4ac0d07d3
commit
c1b14dc4aa
|
@ -8,10 +8,12 @@
|
|||
|
||||
MetadataFile::MetadataFile()
|
||||
{
|
||||
m_isLoaded = FALSE;
|
||||
}
|
||||
|
||||
void MetadataFile::Release()
|
||||
{
|
||||
m_isLoaded = FALSE;
|
||||
}
|
||||
|
||||
BOOL MetadataFile::Load(const std::string &file)
|
||||
|
|
|
@ -22,7 +22,11 @@ public:
|
|||
uint32_t GetNumGroupInfo() const { return m_groupInfo.size(); }
|
||||
const ExtraGroupInfo* GetGroupInfo() const { return &m_groupInfo[0]; }
|
||||
|
||||
BOOL IsLoaded() const { return m_isLoaded; }
|
||||
|
||||
private:
|
||||
BOOL m_isLoaded;
|
||||
|
||||
std::vector<AnimationSequence> m_animations;
|
||||
std::vector<ExtraGroupInfo> m_groupInfo;
|
||||
};
|
||||
|
|
Reference in a new issue