...
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:
Code Block |
---|
UPDATE `guild_bank` SET `gbright`=`gbright`|4 WHERE...)
|
...
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).