ManaPlus
Public Member Functions | Data Fields
GroupInfo Struct Reference

#include <groupinfo.h>

Public Member Functions

 GroupInfo ()
 

Data Fields

ServerCommandEnable::Type mCommands [static_cast< size_t >(ServerCommandType::Max)]
 
Enable mPermissions [static_cast< size_t >(ServerPermissionType::Max)]
 
std::string name
 
std::string longName
 
std::string badge
 
bool showBadge
 
bool highlightName
 

Detailed Description

Definition at line 37 of file groupinfo.h.

Constructor & Destructor Documentation

◆ GroupInfo()

GroupInfo::GroupInfo ( )

Definition at line 26 of file groupinfo.cpp.

26  :
27  mCommands(),
28  mPermissions(),
29  name(),
30  longName(),
31  badge(),
32  showBadge(false),
33  highlightName(false)
34 {
35  for (size_t f = 0; f < CAST_SIZE(ServerCommandType::Max); f ++)
37  for (size_t f = 0; f < CAST_SIZE(ServerPermissionType::Max); f ++)
39 }
#define CAST_SIZE
Definition: cast.h:34
const bool Enable_false
Definition: enable.h:30
bool highlightName
Definition: groupinfo.h:49
Enable mPermissions[static_cast< size_t >(ServerPermissionType::Max)]
Definition: groupinfo.h:44
std::string name
Definition: groupinfo.h:45
std::string badge
Definition: groupinfo.h:47
std::string longName
Definition: groupinfo.h:46
bool showBadge
Definition: groupinfo.h:48
ServerCommandEnable::Type mCommands[static_cast< size_t >(ServerCommandType::Max)]
Definition: groupinfo.h:43

References CAST_SIZE, Enable_false, ServerCommandType::Max, ServerPermissionType::Max, mCommands, mPermissions, and ServerCommandEnable::No.

Field Documentation

◆ badge

std::string GroupInfo::badge

Definition at line 47 of file groupinfo.h.

Referenced by GroupDb::getBadge(), and GroupDb::loadXmlFile().

◆ highlightName

bool GroupInfo::highlightName

Definition at line 49 of file groupinfo.h.

Referenced by GroupDb::getHighlightName(), and GroupDb::loadXmlFile().

◆ longName

std::string GroupInfo::longName

Definition at line 46 of file groupinfo.h.

Referenced by GroupDb::getLongName(), and GroupDb::loadXmlFile().

◆ mCommands

ServerCommandEnable::Type GroupInfo::mCommands[static_cast< size_t >(ServerCommandType::Max)]

◆ mPermissions

Enable GroupInfo::mPermissions[static_cast< size_t >(ServerPermissionType::Max)]

◆ name

std::string GroupInfo::name

Definition at line 45 of file groupinfo.h.

Referenced by GroupDb::getName(), and GroupDb::loadXmlFile().

◆ showBadge

bool GroupInfo::showBadge

Definition at line 48 of file groupinfo.h.

Referenced by GroupDb::getShowBadge(), and GroupDb::loadXmlFile().


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