WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ItemDatabase Class Reference

In-memory item database loaded from the CSV item list. More...

#include <database.h>

Public Member Functions

 ItemDatabase ()
 
const ItemRecordgetById (int id) const
 

Public Attributes

std::vector< ItemRecorditems
 
std::map< int, int > itemLookup
 

Detailed Description

In-memory item database loaded from the CSV item list.

Definition at line 40 of file database.h.

Constructor & Destructor Documentation

◆ ItemDatabase()

ItemDatabase::ItemDatabase ( )

Definition at line 88 of file database.cpp.

Member Function Documentation

◆ getById()

const ItemRecord & ItemDatabase::getById ( int  id) const

Definition at line 97 of file database.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ itemLookup

std::map<int, int> ItemDatabase::itemLookup

Definition at line 46 of file database.h.

◆ items

std::vector<ItemRecord> ItemDatabase::items

Definition at line 45 of file database.h.


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