Planeshift
|
Defines a level inside a guild. More...
#include <psguildinfo.h>
Public Member Functions | |
bool | HasRights (GUILD_PRIVILEGE rights) const |
Checks if the request right is possessed by this guild level. | |
Public Attributes | |
int | level |
The rank of the level. | |
int | privileges |
Bit field for the privileges. | |
csString | title |
Name of the level. |
Defines a level inside a guild.
The level has a name and different flags for the privileges assigned to the level. <br> Database table: guildlevels
Definition at line 99 of file psguildinfo.h.
bool psGuildLevel::HasRights | ( | GUILD_PRIVILEGE | rights | ) | const [inline] |
Checks if the request right is possessed by this guild level.
rights | The right that is being tested |
Definition at line 111 of file psguildinfo.h.
The rank of the level.
Definition at line 102 of file psguildinfo.h.
Bit field for the privileges.
Definition at line 103 of file psguildinfo.h.
csString psGuildLevel::title |
Name of the level.
Definition at line 101 of file psguildinfo.h.