2021-05-31 05:14:07 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <athena/DNA.hpp>
|
|
|
|
#include <athena/DNAYaml.hpp>
|
|
|
|
|
|
|
|
namespace metaforce {
|
|
|
|
struct ImGuiPlayerLoadouts : athena::io::DNA<athena::Endian::Big> {
|
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
struct Item : athena::io::DNA<athena::Endian::Big> {
|
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
String<-1> type;
|
2022-02-22 06:59:47 +00:00
|
|
|
Value<u32> amount;
|
2021-05-31 05:14:07 +00:00
|
|
|
};
|
|
|
|
struct LoadOut : athena::io::DNA<athena::Endian::Big> {
|
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
String<-1> name;
|
2022-02-22 06:59:47 +00:00
|
|
|
Value<u32> itemCount;
|
2021-05-31 05:14:07 +00:00
|
|
|
Vector<Item, AT_DNA_COUNT(itemCount)> items;
|
|
|
|
};
|
2022-02-22 06:59:47 +00:00
|
|
|
Value<u32> loadoutCount;
|
2021-05-31 05:14:07 +00:00
|
|
|
Vector<LoadOut, AT_DNA_COUNT(loadoutCount)> loadouts;
|
|
|
|
};
|
|
|
|
} // namespace metaforce
|