Add waypoint command handling

This commit is contained in:
Aaron Kimbre
2023-08-14 09:31:10 -05:00
parent 1b54387677
commit a63d7df0d2
5 changed files with 191 additions and 113 deletions

View File

@@ -310,6 +310,7 @@ public:
*/
const std::vector<int32_t>& GetFactionIDs() const { return m_FactionIDs; }
const bool BelongsToFaction(int32_t factionID) const {return std::find(m_FactionIDs.begin(), m_FactionIDs.end(), factionID) != m_FactionIDs.end(); }
/**
* Returns all the faction IDs that this entity considers an enemy
* @return all the faction IDs that this entity considers an enemy