2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <map>
|
|
|
|
|
2022-02-19 13:04:45 +00:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/GCNTypes.hpp"
|
|
|
|
#include "Runtime/Character/CCharacterInfo.hpp"
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2018-12-08 05:30:43 +00:00
|
|
|
|
|
|
|
class CCharacterSet {
|
|
|
|
u16 x0_version;
|
|
|
|
std::map<u32, CCharacterInfo> x4_characters;
|
2016-04-10 04:49:02 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CCharacterSet(CInputStream& in);
|
2018-12-08 05:30:43 +00:00
|
|
|
const std::map<u32, CCharacterInfo>& GetCharacterInfoMap() const { return x4_characters; }
|
2016-04-10 04:49:02 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|