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/character_instance.md | 86 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 78 insertions(+), 8 deletions(-) (limited to 'docs/character_instance.md') diff --git a/docs/character_instance.md b/docs/character_instance.md index d081832..ee819b2 100644 --- a/docs/character_instance.md +++ b/docs/character_instance.md @@ -1,8 +1,78 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_instance](character_instance) - -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Instance | int(10) unsigned | -Permanent | tinyint(3) unsigned | -Extended | tinyint(3) unsigned | +# character\_instance + +`Back-to:Characters` + +**The \`character\_instance\` table** + +Contains the instance data for characters. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

0

 

 

instance

int(10)

unsigned

PRI

NO

0

 

 

permanent

tinyint(3)

unsigned

 

NO

0

 

 

+ +**Description of the fields** + +### guid + +The GUID of the character. See [characters.guid](http://collab.kpsn.org/display/tc/Characters+tc2#Characterstc2-guid) + +### instance + +The instance ID. See [instance.id](http://collab.kpsn.org/display/tc/Instance+tc2#Instancetc2-id) + +### permanent + +Boolean 0 or 1 controlling if the player has been bound to the instance. A player is bound to the instance only when he (or his party/raid) kills a creature with the CREATURE\_FLAG\_EXTRA\_INSTANCE\_BIND flag set in the [flags\_extras](http://collab.kpsn.org/display/tc/creature_template#creature_template-flags_extra) field. -- cgit