Styling edits

This commit is contained in:
Aaron Kimbre
2022-05-04 18:24:28 -05:00
parent e81acb4c67
commit ad5c679d2d
3 changed files with 16 additions and 3 deletions

View File

@@ -15,9 +15,22 @@ public:
RocketLaunchLupComponent(Entity* parent);
~RocketLaunchLupComponent() override;
/**
* Handles an OnUse event from some entity, preparing it for launch to some other world
* Builds m_LUPWorlds
* @param originator the entity that triggered the event
*/
void OnUse(Entity* originator) override;
/**
* Handles an OnUse event from some entity, preparing it for launch to some other world
*
* @param originator the entity that triggered the event
* @param index index of the world that was selected
* @param sysAddr the address to send gamemessage responses to
*/
void OnSelectWorld(Entity* originator, uint32_t index, const SystemAddress& sysAddr);
private:
// vector of the LUP World Zone IDs, built from CDServer's LUPZoneIDs table
std::vector<LWOMAPID> m_LUPWorlds {};
};