From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/petition.md | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 125 insertions(+), 8 deletions(-) (limited to 'docs/petition.md') diff --git a/docs/petition.md b/docs/petition.md index 24cf369..444e1f2 100644 --- a/docs/petition.md +++ b/docs/petition.md @@ -1,8 +1,125 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [petition](petition) - -Column | Type | Description ---- | --- | --- -Ownerguid | int(10) unsigned | -Petitionguid | int(10) unsigned | -Name | varchar(24) | -Type | tinyint(3) unsigned | +# petition + +`Back-to:Characters` + +**The \`petition\` table** + +This table holds information on all ongoing petitions for a guild or for an arena team. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

ownerguid

int(10)

unsigned

PRI

NO

 

 

 

petitionguid

int(10)

unsigned

 

YES

0

 

 

name

varchar(24)

signed

 

NO

 

 

 

type

tinyint(3)

unsigned

PRI

NO

0

 

 

+ +**Description of the fields** + +### ownerguid + +The petition's owner's GUID. See characters.guid + +### petitionguid + +The GUID of the petition item. See item\_instance.guid + +### name + +The name of the guild or arena team that the player is trying to ask for petitions for. + +### type + +The type of the petition. + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + +

ID

Type

2

2vs2 Arena charter

3

3vs3 Arena charter

5

5vs5 Arena charter

9

Guild charter

+ + -- cgit