#pragma once #include #include #include #include "Runtime/IOStreams.hpp" #include "Runtime/Character/IMetaAnim.hpp" namespace urde { class CMetaAnimRandom : public IMetaAnim { using RandomData = std::vector, u32>>; RandomData x4_randomData; static RandomData CreateRandomData(CInputStream& in); public: CMetaAnimRandom(CInputStream& in); EMetaAnimType GetType() const override { return EMetaAnimType::Random; } void GetUniquePrimitives(std::set& primsOut) const override; std::shared_ptr VGetAnimationTree(const CAnimSysContext& animSys, const CMetaAnimTreeBuildOrders& orders) const override; }; } // namespace urde