![]() |
TrinityCore
|
#include <GameObjectModel.h>
Public Member Functions | |
| const G3D::AABox & | getBounds () const |
| ~GameObjectModel () | |
| const G3D::Vector3 & | getPosition () const |
| void | disable () |
| void | enable (uint32 ph_mask) |
| bool | isEnabled () const |
| bool | isMapObject () const |
| bool | intersectRay (const G3D::Ray &Ray, float &MaxDist, bool StopAtFirstHit, uint32 ph_mask, VMAP::ModelIgnoreFlags ignoreFlags) const |
| bool | GetLocationInfo (G3D::Vector3 const &point, VMAP::LocationInfo &info, uint32 ph_mask) const |
| bool | GetLiquidLevel (G3D::Vector3 const &point, VMAP::LocationInfo &info, float &liqHeight) const |
| bool | UpdatePosition () |
Static Public Member Functions | |
| static GameObjectModel * | Create (std::unique_ptr< GameObjectModelOwnerBase > modelOwner, std::string const &dataPath) |
Public Attributes | |
| std::string | name |
Private Member Functions | |
| GameObjectModel () | |
| bool | initialize (std::unique_ptr< GameObjectModelOwnerBase > modelOwner, std::string const &dataPath) |
Private Attributes | |
| uint32 | phasemask |
| G3D::AABox | iBound |
| G3D::Matrix3 | iInvRot |
| G3D::Vector3 | iPos |
| float | iInvScale |
| float | iScale |
| VMAP::WorldModel * | iModel |
| std::unique_ptr< GameObjectModelOwnerBase > | owner |
| bool | isWmo |
Definition at line 54 of file GameObjectModel.h.
|
inlineprivate |
| GameObjectModel::~GameObjectModel | ( | ) |
|
static |
Definition at line 152 of file GameObjectModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Enables\disables collision.
Definition at line 67 of file GameObjectModel.h.
|
inline |
|
inline |
| bool GameObjectModel::GetLiquidLevel | ( | G3D::Vector3 const & | point, |
| VMAP::LocationInfo & | info, | ||
| float & | liqHeight | ||
| ) | const |
Definition at line 214 of file GameObjectModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool GameObjectModel::GetLocationInfo | ( | G3D::Vector3 const & | point, |
| VMAP::LocationInfo & | info, | ||
| uint32 | ph_mask | ||
| ) | const |
Definition at line 186 of file GameObjectModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
private |
Definition at line 104 of file GameObjectModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool GameObjectModel::intersectRay | ( | const G3D::Ray & | Ray, |
| float & | MaxDist, | ||
| bool | StopAtFirstHit, | ||
| uint32 | ph_mask, | ||
| VMAP::ModelIgnoreFlags | ignoreFlags | ||
| ) | const |
Definition at line 164 of file GameObjectModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| bool GameObjectModel::UpdatePosition | ( | ) |
|
private |
Definition at line 85 of file GameObjectModel.h.
|
private |
Definition at line 86 of file GameObjectModel.h.
|
private |
Definition at line 88 of file GameObjectModel.h.
|
private |
Definition at line 90 of file GameObjectModel.h.
|
private |
Definition at line 87 of file GameObjectModel.h.
|
private |
Definition at line 89 of file GameObjectModel.h.
|
private |
Definition at line 92 of file GameObjectModel.h.
| std::string GameObjectModel::name |
Definition at line 58 of file GameObjectModel.h.
|
private |
Definition at line 91 of file GameObjectModel.h.
|
private |
Definition at line 84 of file GameObjectModel.h.