![]() |
TrinityCore
|
Inheritance diagram for VehicleJoinEvent:Public 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. | |
Public Member Functions inherited from BasicEvent | |
| BasicEvent () | |
| virtual | ~BasicEvent () |
| virtual bool | IsDeletable () const |
| void | ScheduleAbort () |
Public Attributes | |
| Vehicle * | Target |
| Unit * | Passenger |
| SeatMap::iterator | Seat |
Definition at line 37 of file Vehicle.cpp.
Definition at line 40 of file Vehicle.cpp.
|
overridevirtual |
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::AddVehiclePassenger, and we should remove the aura manually.
Reimplemented from BasicEvent.
Definition at line 946 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 813 of file Vehicle.cpp.
Here is the call graph for this function:| Unit* VehicleJoinEvent::Passenger |
Definition at line 45 of file Vehicle.cpp.
| SeatMap::iterator VehicleJoinEvent::Seat |
Definition at line 46 of file Vehicle.cpp.
| Vehicle* VehicleJoinEvent::Target |
Definition at line 44 of file Vehicle.cpp.