mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-25 22:27:01 +00:00
further address feedback
This commit is contained in:
parent
0786986345
commit
472f873e57
@ -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() {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user