prime/include/Kyoto/Animation/CPrimitive.hpp

23 lines
400 B
C++
Raw Normal View History

2022-11-17 15:46:10 +00:00
#ifndef _CPRIMITIVE
#define _CPRIMITIVE
#include "Kyoto/SObjectTag.hpp"
#include "rstl/string.hpp"
class CInputStream;
2023-01-12 02:43:43 +00:00
class COutputStream;
2022-11-17 15:46:10 +00:00
class CPrimitive {
2022-12-01 13:45:36 +00:00
public:
CPrimitive(CInputStream& in);
2023-01-12 02:43:43 +00:00
void PutTo(COutputStream& out) const;
2022-12-01 13:45:36 +00:00
CAssetId GetAnimResId() const { return x0_animId; }
2022-11-17 15:46:10 +00:00
private:
CAssetId x0_animId;
int x4_animIdx;
rstl::string x8_animName;
};
#endif // _CPRIMITIVE