diff options
| author | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-02-25 19:24:20 +0100 |
|---|---|---|
| committer | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-02-25 19:24:20 +0100 |
| commit | a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch) | |
| tree | 91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/character_social.md | |
| parent | d8d1823802ded97300fa57405d80b16736603489 (diff) | |
| download | wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2 wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip | |
Import DB wiki from TC 335
Diffstat (limited to 'docs/character_social.md')
| -rw-r--r-- | docs/character_social.md | 125 |
1 files changed, 117 insertions, 8 deletions
diff --git a/docs/character_social.md b/docs/character_social.md index b397723..7ab4234 100644 --- a/docs/character_social.md +++ b/docs/character_social.md @@ -1,8 +1,117 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_social](character_social) - -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Friend | int(10) unsigned | -Flags | tinyint(3) unsigned | -Note | varchar(48) | +# character\_social + +`Back-to:Characters` + +**The \`character\_social\` table** + +Contains data about characters' friends/ignored list. + +**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="#character_social-guid">guid</a></p></td> +<td><p>int(10)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p>Character Global Unique Identifier</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#character_social-friend">friend</a></p></td> +<td><p>int(10)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p>Friend Global Unique Identifier</p></td> +</tr> +<tr class="even"> +<td><p><a href="#character_social-flags">flags</a></p></td> +<td><p>tinyint(3)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p>Friend Flags</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#character_social-note">note</a></p></td> +<td><p>varchar(48)</p></td> +<td><p>signed</p></td> +<td> </td> +<td><p>NO</p></td> +<td> </td> +<td> </td> +<td><p>Friend Note</p></td> +</tr> +</tbody> +</table> + +**Description of the fields** + +### guid + +The GUID of the character. See character.guid + +### friend + +The GUID of the friend/ignored. See characters.guid + +### flags + +<table> +<colgroup> +<col width="50%" /> +<col width="50%" /> +</colgroup> +<tbody> +<tr class="odd"> +<td><p>0</p></td> +<td><p>Unused entry - previously listed as friend or blocked (removed/unblocked)</p></td> +</tr> +<tr class="even"> +<td><p>1</p></td> +<td><p>Added as friend</p></td> +</tr> +<tr class="odd"> +<td><p>2</p></td> +<td><p>Added as blocked user</p></td> +</tr> +<tr class="even"> +<td><p>3</p></td> +<td><p>Added as friend, and in ignorelist as well</p></td> +</tr> +</tbody> +</table> + +### note + +Note about the friend (which appears beside the friend's name in friend list in Client). + +Important note: There can be only 50 friend and 50 ignored characters. If you have problems with friends disappearing, try removing some of them first. |
