TrinityCore
VMAP::ModelSpawn Struct Reference

#include <ModelInstance.h>

+ Inheritance diagram for VMAP::ModelSpawn:

Static Public Member Functions

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

Public Attributes

G3D::Vector3 iRot
 
std::string name
 
- Public Attributes inherited from VMAP::ModelMinimalData
uint8 flags
 
uint8 adtId
 
uint32 ID
 
G3D::Vector3 iPos
 
float iScale
 
G3D::AABox iBound
 

Additional Inherited Members

- Public Member Functions inherited from VMAP::ModelMinimalData
bool operator== (ModelMinimalData const &other) const
 
G3D::AABox const & getBounds () const
 

Detailed Description

Definition at line 58 of file ModelInstance.h.

Member Function Documentation

◆ readFromFile()

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

Definition at line 122 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 168 of file ModelInstance.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ iRot

G3D::Vector3 VMAP::ModelSpawn::iRot

Definition at line 60 of file ModelInstance.h.

◆ name

std::string VMAP::ModelSpawn::name

Definition at line 62 of file ModelInstance.h.


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