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/instance_encounters.md | 121 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 112 insertions(+), 9 deletions(-) (limited to 'docs/instance_encounters.md') diff --git a/docs/instance_encounters.md b/docs/instance_encounters.md index 6f4c621..823574f 100644 --- a/docs/instance_encounters.md +++ b/docs/instance_encounters.md @@ -1,9 +1,112 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [instance_encounters](instance_encounters) - -Column | Type | Description ---- | --- | --- -Entry | int(10) unsigned | -CreditType | tinyint(3) unsigned | -CreditEntry | int(10) unsigned | -LastEncounterDungeon | smallint(5) unsigned | -Comment | varchar(255) | +# instance\_encounters + +`Back-to:World` + +**The \`instance\_encounters\` table** + +Definitions of instance encounters. Used by LFG. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

int(10)

unsigned

PRI

NO

0

 

Unique entry from DungeonEncounter.dbc

creditType

tinyint(3)

unsigned

 

NO

0

 

 

creditEntry

int(10)

unsigned

 

NO

0

 

 

lastEncounterDungeon

smallint(5)

unsigned

 

NO

0

 

If not 0, LfgDungeon.dbc entry for the instance it is last encounter in

comment

varchat(255)

signed

 

NO

"

 

 

+ +**Description of the fields** + +### entry + +Unique entry from DungeonEncounter.dbc + +### creditType + +See enum EncounterCreditType. + +ENCOUNTER\_CREDIT\_KILL\_CREATURE = 0 + +ENCOUNTER\_CREDIT\_CAST\_SPELL = 1 + +### creditEntry + +If creditType = 0, then value for this field is creature entry. See creature\_template.entry + +If creditType = 1, then value for this field is a spell. See Spell.dbc. + +### lastEncounterDungeon + +Reference to LfgDungeon.dbc entry for the instance it which is this encounter last. If 0, encounter is not last one. + +### comment + +Instance encounter comment for easy identification. Encounter name used only. -- cgit