OpenEnroth 73e68f7
|
#include <vector>
#include <cstdint>
#include <string>
#include "Utility/IndexedArray.h"
#include "Engine/Objects/NPCEnums.h"
#include "Engine/Objects/CharacterEnums.h"
Classes | |
class | FlatHirelings |
Enumerations | |
enum class | NpcType { NPC_TYPE_QUEST = 1 , NPC_TYPE_HIREABLE = 2 } |
Functions | |
bool | CheckPortretAgainstSex (int a1, CharacterSex) |
bool | PartyHasDragon () |
bool | CheckHiredNPCSpeciality (NpcProfession prof) |
int | UseNPCSkill (NpcProfession profession, int id) |
const std::string & | GetProfessionActionText (NpcProfession prof) |
NPCData * | getNPCData (int npcId) |
NpcType | getNPCType (int npcId) |
|
strong |
bool CheckHiredNPCSpeciality | ( | NpcProfession | prof | ) |
|
inline |
NPCData * getNPCData | ( | int | npcId | ) |
npcId | If positive, means ID of NPC (quest or hireable). If negative, then it's absolute value minus one is index of party hireling. |
NpcType getNPCType | ( | int | npcId | ) |
const std::string & GetProfessionActionText | ( | NpcProfession | prof | ) |
bool PartyHasDragon | ( | ) |
int UseNPCSkill | ( | NpcProfession | profession, |
int | id | ||
) |