2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 17:51:21 +00:00
metaforce/Runtime/Character/CHalfTransition.hpp
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00

22 lines
434 B
C++

#pragma once
#include <memory>
#include "Runtime/GCNTypes.hpp"
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/IMetaTrans.hpp"
namespace urde {
class CHalfTransition {
u32 x0_id;
std::shared_ptr<IMetaTrans> x4_trans;
public:
explicit CHalfTransition(CInputStream& in);
u32 GetId() const { return x0_id; }
const std::shared_ptr<IMetaTrans>& GetMetaTrans() const { return x4_trans; }
};
} // namespace urde