#include <NPC.h>
|
std::array< int8_t, 1024 > | ids = {{}} |
|
size_t | count = 0 |
|
◆ Get()
NPCData * FlatHirelings::Get |
( |
size_t |
index | ) |
const |
- Parameters
-
- Returns
- Associated
NPCData
.
◆ GetSacrificeStatus()
- Parameters
-
- Returns
- Associated
NPCDarkSacrificeStatus
. Returns null for followers.
◆ IsFollower()
bool FlatHirelings::IsFollower |
( |
size_t |
index | ) |
const |
- Parameters
-
- Returns
- Whether a hireling is actually a follower (doesn't count towards the total hireling count, e.g. Margaret the guide on Emerald island).
◆ Prepare()
void FlatHirelings::Prepare |
( |
| ) |
|
Populates this structure.
◆ Size()
size_t FlatHirelings::Size |
( |
| ) |
const |
|
inline |
- Returns
- Total number of hirelings in this structure.
◆ count
size_t FlatHirelings::count = 0 |
|
private |
Number of valid ids in the array above.
◆ ids
std::array<int8_t, 1024> FlatHirelings::ids = {{}} |
|
private |
Hireling / follower NPC ids. If 0 or 1, then it's an index into pParty->pHirelings
. If 2 or more, then you have to subtract 2 to get an index into pNPCStats->pNewNPCData
.
The documentation for this class was generated from the following files: