diff --git a/dGame/dComponents/RocketLaunchLupComponent.cpp b/dGame/dComponents/RocketLaunchLupComponent.cpp index c822e4b4..a2caa0bb 100644 --- a/dGame/dComponents/RocketLaunchLupComponent.cpp +++ b/dGame/dComponents/RocketLaunchLupComponent.cpp @@ -37,7 +37,7 @@ void RocketLaunchLupComponent::OnUse(Entity* originator) { rocket->Equip(true); } -void RocketLaunchLupComponent::OnSelectWorld(Entity* originator, uint32_t index, const SystemAddress& sysAddr) { +void RocketLaunchLupComponent::OnSelectWorld(Entity* originator, uint32_t index) { // Add one to index because the actual LUP worlds start at index 1. index++; diff --git a/dGame/dComponents/RocketLaunchLupComponent.h b/dGame/dComponents/RocketLaunchLupComponent.h index 37a4fb24..ce915d70 100644 --- a/dGame/dComponents/RocketLaunchLupComponent.h +++ b/dGame/dComponents/RocketLaunchLupComponent.h @@ -12,25 +12,28 @@ class RocketLaunchLupComponent : public Component { public: static const uint32_t ComponentType = eReplicaComponentType::COMPONENT_TYPE_ROCKET_LAUNCH_LUP; + /** + * Constructor for this component, builds the m_LUPWorlds vector + * @param parent parent that contains this component + */ 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); + void OnSelectWorld(Entity* originator, uint32_t index); private: - // vector of the LUP World Zone IDs, built from CDServer's LUPZoneIDs table + /** + * vector of the LUP World Zone IDs, built from CDServer's LUPZoneIDs table + */ std::vector m_LUPWorlds {}; };