summaryrefslogtreecommitdiff
path: root/docs/pvpstats_battlegrounds.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pvpstats_battlegrounds.md')
-rw-r--r--docs/pvpstats_battlegrounds.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/pvpstats_battlegrounds.md b/docs/pvpstats_battlegrounds.md
index eef6938..64f86f8 100644
--- a/docs/pvpstats_battlegrounds.md
+++ b/docs/pvpstats_battlegrounds.md
@@ -2,19 +2,19 @@
[<-Back-to:Characters](database-characters.md)
-**The \`[pvpstats\_battlegrounds](http://collab.kpsn.org/pages/createpage.action?spaceKey=tc&title=pvpstats_battlegrounds&linkCreation=true&fromPageId=331580)\` table**
+**The \`pvpstats\_battlegrounds\` table**
-This table holds datas about BattleGrounds scores. To enable storing this kind of informations, set **Battleground . StoreStatistics . Enable   =   1** in **worldserver.config** file.
+This table holds datas about BattleGrounds scores. To enable storing this kind of informations, set **Battleground.StoreStatistics.Enable = 1** in **worldserver.config.dist** file.
**Structure**
-| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
-|---------------------|----------|------------|-----|------|---------|-------|---------|
-| [id][1] | BIGINT | UNSIGNED | PRI | NO | | | |
-| [winner_faction][2] | TINYINT | | | NO | | | |
-| [bracket_id][3] | TINYINT | UNSIGNED | | NO | | | |
-| [type][4] | TINYINT | UNSIGNED | | NO | | | |
-| [date][5] | datetime | | | NO | | | |
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| ------------------- | -------- | ---------- | --- | ---- | ------- | -------------- | ------- |
+| [id][1] | BIGINT | UNSIGNED | PRI | NO | | AUTO_INCREMENT | |
+| [winner_faction][2] | TINYINT | | | NO | | | |
+| [bracket_id][3] | TINYINT | UNSIGNED | | NO | | | |
+| [type][4] | TINYINT | UNSIGNED | | NO | | | |
+| [date][5] | DATETIME | | | NO | | | |
[1]: #id
[2]: #winner_faction
@@ -33,7 +33,7 @@ An unique value which identifies a BattleGround.
The faction which won the BattleGround:
| Value | Description |
-|-------|-------------|
+| ----- | ----------- |
| 0 | HORDE |
| 1 | ALLIANCE |
| 2 | NONE |
@@ -43,7 +43,7 @@ The faction which won the BattleGround:
Identifies the bracket level range:
| Value | Level range |
-|-------|-------------|
+| ----- | ----------- |
| 1 | 10-19 |
| 2 | 20-29 |
| 3 | 30-39 |
@@ -58,7 +58,7 @@ Identifies the bracket level range:
The BattleGround type:
| Value | Description |
-|-------|------------------------|
+| ----- | ---------------------- |
| 1 | Alterac Valley |
| 2 | Warsong Gulch |
| 3 | Arathi Basin |
@@ -68,4 +68,4 @@ The BattleGround type:
### date
-Date and time of BattleGround ending.
+Date and time of BattleGround ending. \ No newline at end of file