2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00
metaforce/Runtime/Character/CCharacterSet.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

21 lines
419 B
C++

#pragma once
#include <map>
#include "Runtime/IOStreams.hpp"
#include "Runtime/GCNTypes.hpp"
#include "Runtime/Character/CCharacterInfo.hpp"
namespace urde {
class CCharacterSet {
u16 x0_version;
std::map<u32, CCharacterInfo> x4_characters;
public:
explicit CCharacterSet(CInputStream& in);
const std::map<u32, CCharacterInfo>& GetCharacterInfoMap() const { return x4_characters; }
};
} // namespace urde