prime/include/Kyoto/Animation/CPASAnimState.hpp

30 lines
766 B
C++
Raw Normal View History

#ifndef _CPASANIMSTATE
#define _CPASANIMSTATE
#include "types.h"
2023-01-12 03:00:40 +00:00
#include "Kyoto/Animation/CPASAnimInfo.hpp"
2023-01-12 02:20:23 +00:00
#include "Kyoto/Animation/CPASAnimParm.hpp"
2023-01-12 02:43:43 +00:00
#include "Kyoto/Animation/CPASParmInfo.hpp"
#include "Kyoto/Animation/CharacterCommon.hpp"
2022-10-24 23:29:11 +00:00
2022-10-06 21:07:41 +00:00
#include "rstl/reserved_vector.hpp"
#include "rstl/vector.hpp"
class CPASAnimState {
2022-10-08 22:03:50 +00:00
public:
CPASAnimParm GetAnimParmData(int, unsigned int) const;
2022-10-25 15:43:42 +00:00
pas::EAnimationState GetStateId() const { return x0_id; }
2023-01-12 02:43:43 +00:00
bool HasAnims() const { return static_cast< uint >(x14_anims.size()) != 0; }
private:
pas::EAnimationState x0_id;
rstl::vector< CPASParmInfo > x4_parms;
rstl::vector< CPASAnimInfo > x14_anims;
rstl::vector< int > x24_selectionCache;
};
CHECK_SIZEOF(CPASAnimState, 0x34)
#endif // _CPASANIMSTATE