Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VMAP::ModelSpawn Class Reference

#include <ModelInstance.h>

Inheritance diagram for VMAP::ModelSpawn:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 29 of file ModelInstance.h.

Member Function Documentation

◆ getBounds()

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

Definition at line 44 of file ModelInstance.h.

References iBound.

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

◆ operator==()

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

Definition at line 41 of file ModelInstance.h.

References ID.

◆ readFromFile()

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

◆ writeToFile()

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

Definition at line 187 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

Definition at line 34 of file ModelInstance.h.

Referenced by VMAP::ModelInstance::intersectPoint(), readFromFile(), and writeToFile().

◆ flags

◆ iBound

◆ ID

◆ iPos

◆ iRot

◆ iScale

◆ name


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