guild_bank_right
Back-to:Characters
The `guild_bank_right` table
This table hold informations regarding the right guild member have to withdraw, deposit etc at the guild bank.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
int(10) | unsigned | PRI | NO | 0 |
|
| |
tinyint(3) | unsigned | PRI | NO | 0 |
|
| |
tinyint(3) | unsigned | PRI | NO | 0 |
|
| |
tinyint(3) | unsigned |
| NO | 0 |
|
| |
int(10) | unsigned |
| NO | 0 |
|
|
Description of the fields
guildid
The ID of the guild.
TabId
The ID of the Tab you are setting the permissions for.
rid
The rank you are setting the permissions for.
gbright
The permissions you want to give to a player of that rank on the tab. This is a bitmask. To combine permissions, you must do the OR operation sum the flags.
Example:
UPDATE `guild_bank` SET `gbright`=`gbright`|4 WHERE...)
FLAGS:
1 = view items
2 = deposit items
4 = update item name shown when navigating the tab
8 = withdraw items
255 = Has all rights
SlotPerDay
The number of items that a player can withdraw per day (if permissions give him the right to withdraw items).