Planeshift
Public Member Functions | Public Attributes

psGuildMember Class Reference

Defines a guild member in a guild. More...

#include <psguildinfo.h>

List of all members.

Public Member Functions

bool HasRights (GUILD_PRIVILEGE rights)
 Checks if the request right is possessed by this guild member.

Public Attributes

PID char_id
 The character ID of the person.
psCharactercharacter
 Pointer to the character data of the person.
int guild_points
 Their points in the guild.
psGuildLevelguildlevel
 Members current level.
csString last_login
 The last login time for that user.
csString name
 The name of the member.
csString private_notes
 Private Guild notes for the player.
int privileges
 Bit field for additional privileges.
csString public_notes
 The public notes the member has.
int removedPrivileges
 Bit field for privileges removed from this member.

Detailed Description

Defines a guild member in a guild.

Database tables: guilds, characters

Definition at line 124 of file psguildinfo.h.


Member Function Documentation

bool psGuildMember::HasRights ( GUILD_PRIVILEGE  rights) [inline]

Checks if the request right is possessed by this guild member.

Parameters:
rightsThe right that is being tested
Returns:
True if the member has the privilege exclusively set or if the guild member's level has the privilege and the user does not have it exclusively removed.

Definition at line 145 of file psguildinfo.h.


Member Data Documentation

The character ID of the person.

Definition at line 127 of file psguildinfo.h.

Pointer to the character data of the person.

Definition at line 129 of file psguildinfo.h.

Their points in the guild.

Definition at line 131 of file psguildinfo.h.

Members current level.

Definition at line 130 of file psguildinfo.h.

The last login time for that user.

Definition at line 134 of file psguildinfo.h.

The name of the member.

Definition at line 128 of file psguildinfo.h.

Private Guild notes for the player.

Definition at line 133 of file psguildinfo.h.

Bit field for additional privileges.

Definition at line 135 of file psguildinfo.h.

The public notes the member has.

Definition at line 132 of file psguildinfo.h.

Bit field for privileges removed from this member.

Definition at line 136 of file psguildinfo.h.


The documentation for this class was generated from the following file: