ManaPlus
Namespaces | Typedefs | Functions
groupdb.h File Reference

(986a3bf)

#include "enums/resources/servercommandtype.h"
#include "enums/simpletypes/skiperror.h"
#include <map>
#include <string>
#include "localconsts.h"

Go to the source code of this file.

Namespaces

 GroupDb
 

Typedefs

typedef std::map< int, GroupInfo * > GroupDb::GroupInfos
 
typedef GroupInfos::iterator GroupDb::GroupInfosIter
 

Functions

void GroupDb::load ()
 
void GroupDb::unload ()
 
void GroupDb::loadXmlFile (const std::string &fileName, const SkipError skipError)
 
const std::string & GroupDb::getName (const int id)
 
const std::string & GroupDb::getLongName (const int id)
 
bool GroupDb::getShowBadge (const int id)
 
bool GroupDb::getHighlightName (const int id)
 
const std::string & GroupDb::getBadge (const int id)
 
const GroupInfoGroupDb::getGroup (const int id)
 
bool GroupDb::isAllowCommand (const ServerCommandTypeT command)