DarkflameServer/dGame/dGrim/EntityProfile.h
wincent 5973430720 Grim LU
Wincent's attempt at making LU into something it isn't supposed to be, an ARPG.
2023-07-15 10:54:41 +02:00

49 lines
772 B
C++

#pragma once
#ifndef __EENTITYPROFILE__H__
#define __EENTITYPROFILE__H__
#include <cstdint>
#include <vector>
#include <map>
#include "ItemModifierTemplate.h"
class EntityProfile {
public:
EntityProfile(int32_t lot);
~EntityProfile() = default;
int32_t GetLot() const {
return this->m_Lot;
}
int32_t GetLevel() const {
return this->m_Level;
}
int32_t GetHealth() const {
return this->m_Health;
}
int32_t GetArmor() const {
return this->m_Armor;
}
static void LoadEntityProfiles(const std::string& filename);
static EntityProfile* FindEntityProfile(int32_t lot);
private:
int32_t m_Lot;
int32_t m_Level;
int32_t m_Health;
int32_t m_Armor;
static std::map<int32_t, EntityProfile> s_EntityProfiles;
};
#endif //!__EENTITYPROFILE__H__