metaforce/Runtime/Character/CTransition.hpp

23 lines
504 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 21:22:59 +00:00
#include "IOStreams.hpp"
#include "CMetaTransFactory.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CTransition {
u32 x0_id;
u32 x4_animA;
u32 x8_animB;
std::shared_ptr<IMetaTrans> xc_trans;
2016-04-10 21:22:59 +00:00
public:
2018-12-08 05:30:43 +00:00
CTransition(CInputStream& in);
u32 GetAnimA() const { return x4_animA; }
u32 GetAnimB() const { return x8_animB; }
std::pair<u32, u32> GetAnimPair() const { return {x4_animA, x8_animB}; }
const std::shared_ptr<IMetaTrans>& GetMetaTrans() const { return xc_trans; }
2016-04-10 21:22:59 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde