#pragma once #include "dCommonVars.h" #include "Entity.h" #include #include struct VanityObjectLocation { float m_Chance = 1.0f; NiPoint3 m_Position; NiQuaternion m_Rotation; float m_Scale = 1.0f; }; struct VanityObject { LWOOBJID m_ID = LWOOBJID_EMPTY; std::string m_Name; LOT m_LOT = LOT_NULL; std::vector m_Equipment; std::vector m_Phrases; std::map> m_Locations; std::vector m_Config; }; namespace VanityUtilities { void SpawnVanity(); VanityObject* GetObject(const std::string& name); std::string ParseMarkdown( const std::string& file ); void OnProximityUpdate(Entity* entity, Entity* other, const std::string& proxName, const std::string& name); void OnTimerDone(Entity* entity, const std::string& name); };