TrinityCore
Loading...
Searching...
No Matches
VMAP::ModelSpawn Class Reference

#include <ModelInstance.h>

+ Inheritance diagram for VMAP::ModelSpawn:

Public Member Functions

bool operator== (ModelSpawn const &other) const
 
const G3D::AABox & getBounds () const
 

Static Public Member Functions

static bool readFromFile (FILE *rf, ModelSpawn &spawn)
 
static bool writeToFile (FILE *rw, ModelSpawn const &spawn)
 

Public Attributes

uint32 flags
 
uint16 adtId
 
uint32 ID
 
G3D::Vector3 iPos
 
G3D::Vector3 iRot
 
float iScale
 
G3D::AABox iBound
 
std::string name
 

Detailed Description

Definition at line 42 of file ModelInstance.h.

Member Function Documentation

◆ getBounds()

const G3D::AABox & VMAP::ModelSpawn::getBounds ( ) const
inline

Definition at line 57 of file ModelInstance.h.

+ Here is the caller graph for this function:

◆ operator==()

bool VMAP::ModelSpawn::operator== ( ModelSpawn const &  other) const
inline

Definition at line 54 of file ModelInstance.h.

◆ readFromFile()

bool VMAP::ModelSpawn::readFromFile ( FILE *  rf,
ModelSpawn spawn 
)
static

Definition at line 121 of file ModelInstance.cpp.

+ Here is the caller graph for this function:

◆ writeToFile()

bool VMAP::ModelSpawn::writeToFile ( FILE *  rw,
ModelSpawn const &  spawn 
)
static

Definition at line 167 of file ModelInstance.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ adtId

uint16 VMAP::ModelSpawn::adtId

Definition at line 47 of file ModelInstance.h.

◆ flags

uint32 VMAP::ModelSpawn::flags

Definition at line 46 of file ModelInstance.h.

◆ iBound

G3D::AABox VMAP::ModelSpawn::iBound

Definition at line 52 of file ModelInstance.h.

◆ ID

uint32 VMAP::ModelSpawn::ID

Definition at line 48 of file ModelInstance.h.

◆ iPos

G3D::Vector3 VMAP::ModelSpawn::iPos

Definition at line 49 of file ModelInstance.h.

◆ iRot

G3D::Vector3 VMAP::ModelSpawn::iRot

Definition at line 50 of file ModelInstance.h.

◆ iScale

float VMAP::ModelSpawn::iScale

Definition at line 51 of file ModelInstance.h.

◆ name

std::string VMAP::ModelSpawn::name

Definition at line 53 of file ModelInstance.h.


The documentation for this class was generated from the following files: