![]() |
TrinityCore
|
#include <Vehicle.h>
Inheritance diagram for VehicleJoinEvent:Protected Member Functions | |
| VehicleJoinEvent (Vehicle *v, Unit *u) | |
| bool | Execute (uint64, uint32) override |
| Actually adds the passenger @Passenger to vehicle @Target. | |
| void | Abort (uint64) override |
| Aborts the event. Implies that unit @Passenger will not be boarding vehicle @Target after all. | |
Protected Attributes | |
| Vehicle * | Target |
| Unit * | Passenger |
| SeatMap::iterator | Seat |
Friends | |
| class | Vehicle |
Additional Inherited Members | |
Public Member Functions inherited from BasicEvent | |
| BasicEvent () | |
| virtual | ~BasicEvent () |
| virtual bool | IsDeletable () const |
| void | ScheduleAbort () |
|
overrideprotectedvirtual |
Aborts the event. Implies that unit @Passenger will not be boarding vehicle @Target after all.
| parameter1 | Unused |
Check if the Vehicle was already uninstalled, in which case all auras were removed already
Remove the pending event when Abort was called on the event directly
@SPELL_AURA_CONTROL_VEHICLE auras can be applied even when the passenger is not (yet) on the vehicle. When this code is triggered it means that something went wrong in @Vehicle::AddPassenger, and we should remove the aura manually.
Reimplemented from BasicEvent.
Definition at line 927 of file Vehicle.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Actually adds the passenger @Passenger to vehicle @Target.
| parameter1 | Unused |
| parameter2 | Unused. |
Reimplemented from BasicEvent.
Definition at line 790 of file Vehicle.cpp.
Here is the call graph for this function: