lolautoaccept/include/position.h

22 lines
386 B
C
Raw Permalink Normal View History

2022-07-04 00:30:00 +02:00
#pragma once
2023-05-31 22:22:23 +02:00
#include <QDebug>
2022-07-04 00:30:00 +02:00
#include <QVariant>
enum class Position : uint32_t {
INVALID = 0,
TOP,
JUNGLE,
MIDDLE,
BOTTOM,
UTILITY
};
2023-05-31 22:22:23 +02:00
Position toPosition(const QString& str);
QString toString(Position p);
QString toShortString(Position p);
2022-07-04 00:30:00 +02:00
std::ostream& operator<<(std::ostream&, const Position&);
2023-05-31 22:22:23 +02:00
QDebug operator<<(QDebug , const Position&);
2022-07-04 00:30:00 +02:00
Q_DECLARE_METATYPE(Position);