TrinityCore
WMORoot Class Reference

#include <wmo.h>

Public Member Functions

 WMORoot (std::string const &filename)
 
bool open ()
 
bool ConvertToVMAPRootWmo (FILE *output)
 

Public Attributes

unsigned int color
 
uint32 nTextures
 
uint32 nGroups
 
uint32 nPortals
 
uint32 nLights
 
uint32 nDoodadNames
 
uint32 nDoodadDefs
 
uint32 nDoodadSets
 
uint32 RootWMOID
 
float bbcorn1 [3]
 
float bbcorn2 [3]
 
uint16 flags
 
uint16 numLod
 
std::vector< char > GroupNames
 
WMODoodadData DoodadData
 
std::unordered_set< uint32ValidDoodadNames
 
std::vector< uint32groupFileDataIDs
 

Private Attributes

std::string filename
 

Detailed Description

Definition at line 78 of file wmo.h.

Constructor & Destructor Documentation

◆ WMORoot()

WMORoot::WMORoot ( std::string const &  filename)

Definition at line 32 of file wmo.cpp.

Member Function Documentation

◆ ConvertToVMAPRootWmo()

bool WMORoot::ConvertToVMAPRootWmo ( FILE *  output)

Definition at line 194 of file wmo.cpp.

+ Here is the caller graph for this function:

◆ open()

bool WMORoot::open ( )

Definition at line 42 of file wmo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bbcorn1

float WMORoot::bbcorn1[3]

Definition at line 85 of file wmo.h.

◆ bbcorn2

float WMORoot::bbcorn2[3]

Definition at line 86 of file wmo.h.

◆ color

unsigned int WMORoot::color

Definition at line 83 of file wmo.h.

◆ DoodadData

WMODoodadData WMORoot::DoodadData

Definition at line 90 of file wmo.h.

◆ filename

std::string WMORoot::filename
private

Definition at line 81 of file wmo.h.

◆ flags

uint16 WMORoot::flags

Definition at line 87 of file wmo.h.

◆ groupFileDataIDs

std::vector<uint32> WMORoot::groupFileDataIDs

Definition at line 92 of file wmo.h.

◆ GroupNames

std::vector<char> WMORoot::GroupNames

Definition at line 89 of file wmo.h.

◆ nDoodadDefs

uint32 WMORoot::nDoodadDefs

Definition at line 84 of file wmo.h.

◆ nDoodadNames

uint32 WMORoot::nDoodadNames

Definition at line 84 of file wmo.h.

◆ nDoodadSets

uint32 WMORoot::nDoodadSets

Definition at line 84 of file wmo.h.

◆ nGroups

uint32 WMORoot::nGroups

Definition at line 84 of file wmo.h.

◆ nLights

uint32 WMORoot::nLights

Definition at line 84 of file wmo.h.

◆ nPortals

uint32 WMORoot::nPortals

Definition at line 84 of file wmo.h.

◆ nTextures

uint32 WMORoot::nTextures

Definition at line 84 of file wmo.h.

◆ numLod

uint16 WMORoot::numLod

Definition at line 87 of file wmo.h.

◆ RootWMOID

uint32 WMORoot::RootWMOID

Definition at line 84 of file wmo.h.

◆ ValidDoodadNames

std::unordered_set<uint32> WMORoot::ValidDoodadNames

Definition at line 91 of file wmo.h.


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