mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-18 04:23:29 +00:00
CAnimEventData: Remove unnecessary inline specifiers
This commit is contained in:
parent
aeea0f8052
commit
044efcf59d
@ -16,12 +16,12 @@ class CAnimEventData : public CResource
|
|||||||
std::vector<SEvent> mEvents;
|
std::vector<SEvent> mEvents;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CAnimEventData(CResourceEntry *pEntry = 0)
|
explicit CAnimEventData(CResourceEntry *pEntry = nullptr)
|
||||||
: CResource(pEntry)
|
: CResource(pEntry)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CDependencyTree* BuildDependencyTree() const
|
CDependencyTree* BuildDependencyTree() const override
|
||||||
{
|
{
|
||||||
CDependencyTree *pTree = new CDependencyTree();
|
CDependencyTree *pTree = new CDependencyTree();
|
||||||
AddDependenciesToTree(pTree);
|
AddDependenciesToTree(pTree);
|
||||||
@ -43,11 +43,11 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline uint32 NumEvents() const { return mEvents.size(); }
|
uint32 NumEvents() const { return mEvents.size(); }
|
||||||
inline uint32 EventCharacterIndex(uint32 EventIdx) const { return mEvents[EventIdx].mCharacterIndex; }
|
uint32 EventCharacterIndex(uint32 EventIdx) const { return mEvents[EventIdx].mCharacterIndex; }
|
||||||
inline CAssetID EventAssetRef(uint32 EventIdx) const { return mEvents[EventIdx].mAssetRef; }
|
CAssetID EventAssetRef(uint32 EventIdx) const { return mEvents[EventIdx].mAssetRef; }
|
||||||
|
|
||||||
inline void AddEvent(uint32 CharIdx, CAssetID AssetID) { mEvents.push_back( SEvent { CharIdx, AssetID } ); }
|
void AddEvent(uint32 CharIdx, CAssetID AssetID) { mEvents.push_back(SEvent{CharIdx, AssetID}); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CANIMEVENTDATA
|
#endif // CANIMEVENTDATA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user