19 #ifndef _GAMEOBJECT_MODEL_H
20 #define _GAMEOBJECT_MODEL_H
46 virtual float GetScale()
const {
return 1.0f; }
68 bool intersectRay(
const G3D::Ray& Ray,
float& MaxDist,
bool StopAtFirstHit,
uint32 ph_mask)
const;
70 static GameObjectModel* Create(std::unique_ptr<GameObjectModelOwnerBase> modelOwner, std::string
const& dataPath);
72 bool UpdatePosition();
75 bool initialize(std::unique_ptr<GameObjectModelOwnerBase> modelOwner, std::string
const& dataPath);
84 std::unique_ptr<GameObjectModelOwnerBase>
owner;
89 #endif // _GAMEOBJECT_MODEL_H
G3D::Matrix3 iInvRot
Definition: GameObjectModel.h:79
TC_COMMON_API void LoadGameObjectModelList(std::string const &dataPath)
Definition: GameObjectModel.cpp:43
uint32 phasemask
Definition: GameObjectModel.h:77
virtual bool IsSpawned() const
Definition: GameObjectModel.h:41
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: GameObjectModel.h:38
virtual float GetScale() const
Definition: GameObjectModel.h:46
Definition: IVMapManager.h:31
virtual uint32 GetPhaseMask() const
Definition: GameObjectModel.h:43
const G3D::Vector3 & getPosition() const
Definition: GameObjectModel.h:60
G3D::AABox iBound
Definition: GameObjectModel.h:78
virtual float GetOrientation() const
Definition: GameObjectModel.h:45
virtual uint32 GetDisplayId() const
Definition: GameObjectModel.h:42
static const Vector3 & zero()
Definition: Vector3.cpp:119
void disable()
Definition: GameObjectModel.h:63
bool isEnabled() const
Definition: GameObjectModel.h:66
VMAP::WorldModel * iModel
Definition: GameObjectModel.h:83
Definition: WorldModel.h:106
void enable(uint32 ph_mask)
Definition: GameObjectModel.h:64
virtual G3D::Vector3 GetPosition() const
Definition: GameObjectModel.h:44
GameObjectModel()
Definition: GameObjectModel.h:52
Definition: DBCStructure.h:487
uint32_t uint32
Definition: Define.h:150
std::unique_ptr< GameObjectModelOwnerBase > owner
Definition: GameObjectModel.h:84
const G3D::AABox & getBounds() const
Definition: GameObjectModel.h:56
Definition: GameObject.h:880
#define TC_COMMON_API
Definition: Define.h:116
G3D::Vector3 iPos
Definition: GameObjectModel.h:80
Definition: GameObjectModel.h:50
float iScale
Definition: GameObjectModel.h:82
virtual void DebugVisualizeCorner(G3D::Vector3 const &) const
Definition: GameObjectModel.h:47
float iInvScale
Definition: GameObjectModel.h:81
std::string name
Definition: GameObjectModel.h:54