mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-07-07 04:00:02 +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! >:(
|
// THIS IS ALL BAD, BAD, BAD! FIX IT, ME! >:(
|
||||||
SetIsHandlingInteraction(true);
|
SetIsHandlingInteraction(true);
|
||||||
SwitchComponent* closestSwitch = SwitchComponent::GetClosestSwitch(m_MovementAI->GetDestination()); // TODO: Find a better way to do this
|
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() {
|
void PetComponent::HandleInteractBouncer() {
|
||||||
|
@ -3606,7 +3606,7 @@ void GameMessages::SendBouncerActiveStatus(LWOOBJID objectId, bool bActive, cons
|
|||||||
SEND_PACKET;
|
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;
|
CBITSTREAM;
|
||||||
CMSGHEADER;
|
CMSGHEADER;
|
||||||
|
|
||||||
|
@ -412,7 +412,7 @@ namespace GameMessages {
|
|||||||
void SendBouncerActiveStatus(LWOOBJID objectId, bool bActive, const SystemAddress& sysAddr);
|
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 objectId Object ID
|
||||||
* @param bounceTargetId The object ID of the bounce target
|
* @param bounceTargetId The object ID of the bounce target
|
||||||
* @param bounceTargetPos The position 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 bAllBounced Whether to bounce all entities standing on the bouncer pad
|
||||||
* @param bAllowClientOverload TODO: UNUSED
|
* @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);
|
void SendSetPetName(LWOOBJID objectId, std::u16string name, LWOOBJID petDBID, const SystemAddress& sysAddr);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user