lolautoaccept/include/runepage.h
2022-07-10 15:19:25 +02:00

20 lines
524 B
C++

#pragma once
#include <cstdint>
#include <ostream>
#include <vector>
// represents a runepage
struct RunePage {
public:
uint32_t primaryStyle = 0;
uint32_t secondaryStyle = 0;
std::vector<uint32_t> selectedAspects; // all selected aspekts (should be exactly 9)
bool operator==(const RunePage& rp) const;
operator bool() const; // check if this runepage is valid (this does not check semantic validity, only if the values are set as they supposed to be)
};
std::ostream& operator<<(std::ostream&, const RunePage&);