porymap/include/core/heallocation.h

28 lines
556 B
C
Raw Normal View History

2020-09-13 23:37:55 +01:00
#pragma once
2018-09-12 01:37:36 +01:00
#ifndef HEALLOCATION_H
#define HEALLOCATION_H
#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:
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;
QString respawnMap;
uint16_t respawnNPC;
static HealLocation fromEvent(Event*);
2018-09-12 01:37:36 +01:00
};
#endif // HEALLOCATION_H