further address feedback

This commit is contained in:
jadebenn 2024-12-14 20:03:16 -06:00
parent 0786986345
commit 472f873e57
3 changed files with 4 additions and 4 deletions

View File

@ -855,7 +855,7 @@ void PetComponent::StartInteractBouncer() {
// THIS IS ALL BAD, BAD, BAD! FIX IT, ME! >:(
SetIsHandlingInteraction(true);
SwitchComponent* closestSwitch = SwitchComponent::GetClosestSwitch(m_MovementAI->GetDestination()); // TODO: Find a better way to do this
closestSwitch->EntityEnter(m_Parent);
closestSwitch->OnUse(m_Parent);
}
void PetComponent::HandleInteractBouncer() {

View File

@ -3606,7 +3606,7 @@ void GameMessages::SendBouncerActiveStatus(LWOOBJID objectId, bool bActive, cons
SEND_PACKET;
}
void GameMessages::SendRequestClientBounce(const LWOOBJID& objectId, const LWOOBJID& bounceTargetId, const NiPoint3& bounceTargetPos, const NiPoint3& bouncedObjLinVel, const LWOOBJID& requestSourceId, const bool bAllBounced, const bool bAllowClientOverload, const SystemAddress& sysAddr) {
void GameMessages::SendRequestClientBounce(const LWOOBJID objectId, const LWOOBJID bounceTargetId, const NiPoint3& bounceTargetPos, const NiPoint3& bouncedObjLinVel, const LWOOBJID& requestSourceId, const bool bAllBounced, const bool bAllowClientOverload, const SystemAddress& sysAddr) {
CBITSTREAM;
CMSGHEADER;

View File

@ -412,7 +412,7 @@ namespace GameMessages {
void SendBouncerActiveStatus(LWOOBJID objectId, bool bActive, const SystemAddress& sysAddr);
/**
* Sends a request to the client to bounce (I think?)
* Sends a request to the client to bounce
* @param objectId Object ID
* @param bounceTargetId The object ID of the bounce target
* @param bounceTargetPos The position of the bounce target
@ -421,7 +421,7 @@ namespace GameMessages {
* @param bAllBounced Whether to bounce all entities standing on the bouncer pad
* @param bAllowClientOverload TODO: UNUSED
*/
void SendRequestClientBounce(const LWOOBJID& objectId, const LWOOBJID& bounceTargetId, const NiPoint3& bounceTargetPos, const NiPoint3& bouncedObjLinVel, const LWOOBJID& requestSourceId, const bool bAllBounced, const bool bAllowClientOverload, const SystemAddress& sysAddr);
void SendRequestClientBounce(LWOOBJID objectId, LWOOBJID bounceTargetId, const NiPoint3& bounceTargetPos, const NiPoint3& bouncedObjLinVel, const LWOOBJID& requestSourceId, const bool bAllBounced, const bool bAllowClientOverload, const SystemAddress& sysAddr);
void SendSetPetName(LWOOBJID objectId, std::u16string name, LWOOBJID petDBID, const SystemAddress& sysAddr);