summaryrefslogtreecommitdiff
path: root/docs/battleground_deserters.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/battleground_deserters.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/battleground_deserters.md')
-rw-r--r--docs/battleground_deserters.md93
1 files changed, 87 insertions, 6 deletions
diff --git a/docs/battleground_deserters.md b/docs/battleground_deserters.md
index c13724d..df485be 100644
--- a/docs/battleground_deserters.md
+++ b/docs/battleground_deserters.md
@@ -1,7 +1,88 @@
-[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [battleground_deserters](battleground_deserters)
+# battleground\_deserters
-Column | Type | Description
---- | --- | ---
-Guid | int(10) unsigned |
-Type | tinyint(3) unsigned |
-Datetime | datetime |
+`Back-to:Characters`
+
+**The \`battleground\_deserters\` table**
+
+This table holds datas about BattleGrounds deserters. To enable storing this kind of informations, set **Battleground . TrackDeserters . Enable   =   1** in **worldserver.config** file.
+
+**Structure**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#battleground_deserters-guid">guid</a></p></td>
+<td><p>int</p></td>
+<td><p>unsigned</p></td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+<tr class="odd">
+<td><p><a href="#battleground_deserters-type">type</a></p></td>
+<td><p>tinyint</p></td>
+<td><p>unsigned</p></td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+<tr class="even">
+<td><p><a href="#battleground_deserters-datetime">datetime</a></p></td>
+<td><p>datetime</p></td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+<td> </td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### guid
+
+Link to characters.guid
+
+### type
+
+**0** = player leaves the BG
+
+**1** = player is kicked from BG because offline
+
+**2** = player is invited to join and refuses to do it
+
+**3** = player is invited to join and do nothing (time expires)
+
+**4** = player is invited to join and logs out
+
+### datetime
+
+date and time of the event
+