2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <utility>
|
|
|
|
|
|
|
|
#include "Runtime/IOStreams.hpp"
|
|
|
|
#include "Runtime/Character/CMetaTransFactory.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
|
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
|