2020-09-13 23:37:55 +01:00
|
|
|
#pragma once
|
2018-09-12 01:37:36 +01:00
|
|
|
#ifndef HEALLOCATION_H
|
|
|
|
#define HEALLOCATION_H
|
|
|
|
|
2018-09-25 01:21:10 +01:00
|
|
|
#include "event.h"
|
2018-09-12 01:37:36 +01:00
|
|
|
#include <QString>
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
class HealLocation {
|
|
|
|
|
|
|
|
public:
|
|
|
|
HealLocation()=default;
|
2020-04-06 17:09:45 +01:00
|
|
|
HealLocation(QString, QString, int, uint16_t, uint16_t, QString = "", uint16_t = 0);
|
2018-09-12 01:37:36 +01:00
|
|
|
friend QDebug operator<<(QDebug debug, const HealLocation &hl);
|
|
|
|
|
|
|
|
public:
|
2020-03-20 07:09:48 +00:00
|
|
|
QString idName;
|
|
|
|
QString mapName;
|
2018-09-12 01:37:36 +01:00
|
|
|
int index;
|
2018-09-15 00:37:36 +01:00
|
|
|
uint16_t x;
|
|
|
|
uint16_t y;
|
2020-03-20 07:09:48 +00:00
|
|
|
QString respawnMap;
|
|
|
|
uint16_t respawnNPC;
|
2018-09-25 01:21:10 +01:00
|
|
|
static HealLocation fromEvent(Event*);
|
2018-09-12 01:37:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HEALLOCATION_H
|