AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VMAP::ManagedModel Class Reference

#include "VMapMgr2.h"

Public Member Functions

 ManagedModel ()
 
void setModel (WorldModel *model)
 
WorldModelgetModel ()
 
int decRefCount ()
 

Protected Attributes

WorldModeliModel {nullptr}
 
int iRefCount {0}
 

Detailed Description

Constructor & Destructor Documentation

◆ ManagedModel()

VMAP::ManagedModel::ManagedModel ( )
inline
55{ }

Member Function Documentation

◆ decRefCount()

int VMAP::ManagedModel::decRefCount ( )
inline
58{ return --iRefCount; }
int iRefCount
Definition: VMapMgr2.h:61

References iRefCount.

◆ getModel()

WorldModel * VMAP::ManagedModel::getModel ( )
inline
57{ return iModel; }
WorldModel * iModel
Definition: VMapMgr2.h:60

References iModel.

◆ setModel()

void VMAP::ManagedModel::setModel ( WorldModel model)
inline
56{ iModel = model; }

References iModel.

Member Data Documentation

◆ iModel

WorldModel* VMAP::ManagedModel::iModel {nullptr}
protected

Referenced by getModel(), and setModel().

◆ iRefCount

int VMAP::ManagedModel::iRefCount {0}
protected

Referenced by decRefCount().