mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 20:13:41 +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;
|
||||
|
||||
public:
|
||||
CAnimEventData(CResourceEntry *pEntry = 0)
|
||||
explicit CAnimEventData(CResourceEntry *pEntry = nullptr)
|
||||
: CResource(pEntry)
|
||||
{
|
||||
}
|
||||
|
||||
CDependencyTree* BuildDependencyTree() const
|
||||
CDependencyTree* BuildDependencyTree() const override
|
||||
{
|
||||
CDependencyTree *pTree = new CDependencyTree();
|
||||
AddDependenciesToTree(pTree);
|
||||
@ -43,11 +43,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
inline uint32 NumEvents() const { return mEvents.size(); }
|
||||
inline uint32 EventCharacterIndex(uint32 EventIdx) const { return mEvents[EventIdx].mCharacterIndex; }
|
||||
inline CAssetID EventAssetRef(uint32 EventIdx) const { return mEvents[EventIdx].mAssetRef; }
|
||||
uint32 NumEvents() const { return mEvents.size(); }
|
||||
uint32 EventCharacterIndex(uint32 EventIdx) const { return mEvents[EventIdx].mCharacterIndex; }
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user