|
| | Transport (GameObject &owner) |
| |
| void | Update (uint32 diff) override |
| |
| void | OnStateChanged (GOState oldState, GOState newState) override |
| |
| void | OnRelocated () override |
| |
| void | UpdatePassengerPositions () |
| |
| uint32 | GetTransportPeriod () const |
| |
| std::span< uint32 const > | GetPauseTimes () const |
| |
| ObjectGuid | GetTransportGUID () const override |
| |
| float | GetTransportOrientation () const override |
| |
| void | AddPassenger (WorldObject *passenger, Position const &offset) override |
| |
| TransportBase * | RemovePassenger (WorldObject *passenger) override |
| |
| Position | GetPositionWithOffset (Position const &offset) const override |
| | This method transforms supplied transport offsets into global coordinates.
|
| |
| Position | GetPositionOffsetTo (Position const &endPos) const override |
| | This method transforms supplied global coordinates into local offsets.
|
| |
| int32 | GetMapIdForSpawning () const override |
| |
| void | SetAutoCycleBetweenStopFrames (bool on) |
| |
| | GameObjectTypeBase (GameObject &owner) |
| |
| virtual | ~GameObjectTypeBase ()=default |
| |
| virtual bool | IsNeverVisibleFor (WorldObject const *seer, bool allowServersideObjects) const |
| |
| virtual void | ActivateObject (GameObjectActions action, int32 param, WorldObject *spellCaster=nullptr, uint32 spellId=0, int32 effectIndex=-1) |
| |
| void | UpdatePassengerPosition (Map *map, WorldObject *passenger, Position const &position, bool setHomePosition) |
| |
Definition at line 138 of file GameObject.cpp.
◆ Transport()
| GameObjectType::Transport::Transport |
( |
GameObject & |
owner | ) |
|
|
inlineexplicit |
◆ AddPassenger()
| void GameObjectType::Transport::AddPassenger |
( |
WorldObject * |
passenger, |
|
|
Position const & |
offset |
|
) |
| |
|
inlineoverridevirtual |
◆ GetMapIdForSpawning()
| int32 GameObjectType::Transport::GetMapIdForSpawning |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPauseTimes()
| std::span< uint32 const > GameObjectType::Transport::GetPauseTimes |
( |
| ) |
const |
|
inline |
◆ GetPositionOffsetTo()
| Position GameObjectType::Transport::GetPositionOffsetTo |
( |
Position const & |
endPos | ) |
const |
|
inlineoverridevirtual |
◆ GetPositionWithOffset()
| Position GameObjectType::Transport::GetPositionWithOffset |
( |
Position const & |
offset | ) |
const |
|
inlineoverridevirtual |
◆ GetTransportGUID()
| ObjectGuid GameObjectType::Transport::GetTransportGUID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetTransportOrientation()
| float GameObjectType::Transport::GetTransportOrientation |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetTransportPeriod()
| uint32 GameObjectType::Transport::GetTransportPeriod |
( |
| ) |
const |
|
inline |
◆ OnRelocated()
| void GameObjectType::Transport::OnRelocated |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnStateChanged()
| void GameObjectType::Transport::OnStateChanged |
( |
GOState |
oldState, |
|
|
GOState |
newState |
|
) |
| |
|
inlineoverridevirtual |
◆ RemovePassenger()
◆ SetAutoCycleBetweenStopFrames()
| void GameObjectType::Transport::SetAutoCycleBetweenStopFrames |
( |
bool |
on | ) |
|
|
inline |
◆ Update()
| void GameObjectType::Transport::Update |
( |
uint32 |
diff | ) |
|
|
inlineoverridevirtual |
◆ UpdatePassengerPositions()
| void GameObjectType::Transport::UpdatePassengerPositions |
( |
| ) |
|
|
inline |
◆ _animationInfo
◆ _autoCycleBetweenStopFrames
| bool GameObjectType::Transport::_autoCycleBetweenStopFrames |
|
private |
◆ _passengers
| std::unordered_set<WorldObject*> GameObjectType::Transport::_passengers |
|
private |
◆ _pathProgress
| uint32 GameObjectType::Transport::_pathProgress |
|
private |
◆ _positionUpdateTimer
| TimeTracker GameObjectType::Transport::_positionUpdateTimer |
|
private |
◆ _stateChangeProgress
| uint32 GameObjectType::Transport::_stateChangeProgress |
|
private |
◆ _stateChangeTime
| uint32 GameObjectType::Transport::_stateChangeTime |
|
private |
◆ _stopFrames
| std::vector<uint32> GameObjectType::Transport::_stopFrames |
|
private |
◆ PositionUpdateInterval
| constexpr Milliseconds GameObjectType::Transport::PositionUpdateInterval = 50ms |
|
staticconstexpr |
The documentation for this class was generated from the following file: