Mana
Loading...
Searching...
No Matches
Functions
MonsterDB Namespace Reference

Monster information database. More...

Functions

void init ()
 Initialize MonsterDB.
 
void setMonsterIdOffset (int offset)
 
void readMonsterNode (XML::Node node, const std::string &filename)
 Read <monster> node from settings.
 
void checkStatus ()
 Check if everything was loaded correctly.
 
void unload ()
 
BeingInfoget (int id)
 

Detailed Description

Monster information database.

Function Documentation

◆ checkStatus()

void MonsterDB::checkStatus ( )

Check if everything was loaded correctly.

Definition at line 152 of file monsterdb.cpp.

◆ get()

BeingInfo * MonsterDB::get ( int  id)

Definition at line 165 of file monsterdb.cpp.

◆ init()

void MonsterDB::init ( )

Initialize MonsterDB.

If it was initialized before, unload() will be called first.

Definition at line 51 of file monsterdb.cpp.

◆ readMonsterNode()

void MonsterDB::readMonsterNode ( XML::Node  node,
const std::string &  filename 
)

Read <monster> node from settings.

Definition at line 68 of file monsterdb.cpp.

◆ setMonsterIdOffset()

void MonsterDB::setMonsterIdOffset ( int  offset)

Definition at line 60 of file monsterdb.cpp.

◆ unload()

void MonsterDB::unload ( )

Definition at line 157 of file monsterdb.cpp.