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

A single NPC record (creature display info). More...

#include <database.h>

Public Member Functions

 NPCRecord (const std::string &line)
 
 NPCRecord (const std::vector< std::string > &)
 
 NPCRecord ()
 

Public Attributes

std::string name
 Display name of the NPC.
 
int id
 
int model
 
int type
 Creature ID, display model ID, and type.
 

Detailed Description

A single NPC record (creature display info).

Definition at line 52 of file database.h.

Constructor & Destructor Documentation

◆ NPCRecord() [1/3]

NPCRecord::NPCRecord ( const std::string &  line)

Definition at line 107 of file database.cpp.

◆ NPCRecord() [2/3]

NPCRecord::NPCRecord ( const std::vector< std::string > &  vals)

Definition at line 125 of file database.cpp.

◆ NPCRecord() [3/3]

NPCRecord::NPCRecord ( )
inline

Definition at line 60 of file database.h.

Member Data Documentation

◆ id

int NPCRecord::id

Definition at line 55 of file database.h.

◆ model

int NPCRecord::model

Definition at line 55 of file database.h.

◆ name

std::string NPCRecord::name

Display name of the NPC.

Definition at line 54 of file database.h.

◆ type

int NPCRecord::type

Creature ID, display model ID, and type.

Definition at line 55 of file database.h.


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