AlpacaLibrary/Include/Game/Models/NPCs.hpp

35 lines
1.3 KiB
C++
Raw Normal View History

2017-12-25 23:49:48 +00:00
#ifndef NPCS_HPP_INCLUDED
#define NPCS_HPP_INCLUDED
2018-05-10 01:08:38 +00:00
#include "../../Game/Interactable/NPC.hpp"
2017-12-25 23:49:48 +00:00
#include <functional>
#include <cstdint>
#include <vector>
#include <string>
/** @addtogroup Models
* @{ */
class NPCs
{
public:
2018-05-10 01:08:38 +00:00
static std::vector<Interactable::NPC> GetAll();
static std::vector<Interactable::NPC> GetAll(const Tile& Tile);
static std::vector<Interactable::NPC> GetAll(std::int32_t ID);
static std::vector<Interactable::NPC> GetAll(const std::string& Name);
static std::vector<Interactable::NPC> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<Interactable::NPC> GetAll(const std::vector<std::string>& Names);
2018-06-07 03:43:38 +00:00
static std::vector<Interactable::NPC> GetAll(const std::function<bool (const Interactable::NPC&)>& Filter);
2017-12-25 23:49:48 +00:00
2018-05-10 01:08:38 +00:00
static Interactable::NPC Get(const Tile& Tile);
static Interactable::NPC Get(std::int32_t ID);
static Interactable::NPC Get(const std::string& Name);
static Interactable::NPC Get(const std::vector<std::int32_t>& IDs);
static Interactable::NPC Get(const std::vector<std::string>& Names);
2018-06-07 03:43:38 +00:00
static Interactable::NPC Get(const std::function<bool (const Interactable::NPC&)>& Filter);
2017-12-25 23:49:48 +00:00
};
/** @} */
#endif // NPCS_HPP_INCLUDED