mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-13 00:08:26 -05:00
Add StateMap parsing
This commit is contained in:
24
src/Common/StateMap/StateMapLayout.h
Normal file
24
src/Common/StateMap/StateMapLayout.h
Normal file
@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace state_map
|
||||
{
|
||||
class StateMapLayoutEntry
|
||||
{
|
||||
public:
|
||||
StateMapLayoutEntry(std::string name, size_t resultCount);
|
||||
|
||||
std::string m_name;
|
||||
size_t m_result_count;
|
||||
};
|
||||
|
||||
class StateMapLayout
|
||||
{
|
||||
public:
|
||||
explicit StateMapLayout(std::vector<StateMapLayoutEntry> layoutEntries);
|
||||
|
||||
std::vector<StateMapLayoutEntry> m_layout_entries;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user