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.

Referenced by BoundsTrait< VMAP::ModelSpawn * >::getBounds().

◆ operator==()

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

Definition at line 54 of file ModelInstance.h.

References ID.

◆ readFromFile()

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

◆ writeToFile()

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

Definition at line 167 of file ModelInstance.cpp.

References adtId, flags, iBound, ID, iPos, iRot, iScale, VMAP::MOD_HAS_BOUND, and name.

Referenced by VMAP::TileAssembler::convertWorld2().

Member Data Documentation

◆ adtId

uint16 VMAP::ModelSpawn::adtId

◆ flags

◆ iBound

◆ ID

◆ iPos

◆ iRot

◆ iScale

◆ name


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