prime/include/MetroidPrime/CAnimationParameters.hpp

22 lines
544 B
C++
Raw Normal View History

#ifndef _CANIMATIONPARAMETERS
#define _CANIMATIONPARAMETERS
#include "Kyoto/SObjectTag.hpp"
#include "Kyoto/Streams/CInputStream.hpp"
class CAnimationParameters {
CAssetId x0_ancs;
uint x4_charIdx;
uint x8_defaultAnim;
public:
CAnimationParameters(CAssetId ancs, uint charIdx, uint defaultAnim)
: x0_ancs(ancs), x4_charIdx(charIdx), x8_defaultAnim(defaultAnim) {}
CAnimationParameters(CInputStream& in)
: x0_ancs(in.ReadLong()), x4_charIdx(in.ReadLong()), x8_defaultAnim(in.ReadLong()) {}
};
#endif // _CANIMATIONPARAMETERS