add spawner handeling and reload to deleted exsiting entities

spawned don't get deleted yet
This commit is contained in:
Aaron Kimbre
2023-11-09 18:33:39 -06:00
parent 2c9a98313a
commit 3dc7b6ef7f
2 changed files with 120 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ struct VanityNPCLocation
struct VanityNPC
{
LWOOBJID m_ID = LWOOBJID_EMPTY;
std::string m_Name;
LOT m_LOT;
std::vector<LOT> m_Equipment;
@@ -41,6 +42,14 @@ public:
const NiPoint3& position,
const NiQuaternion& rotation,
const std::vector<LOT>& inventory,
const std::vector<LDFBaseData*>& ldf,
const LWOOBJID ID = LWOOBJID_EMPTY
);
static Spawner* SpawnSpawner(
LOT lot,
const NiPoint3& position,
const NiQuaternion& rotation,
const std::vector<LDFBaseData*>& ldf
);