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.md | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 121 insertions(+), 10 deletions(-) (limited to 'docs/instance.md') diff --git a/docs/instance.md b/docs/instance.md index 21f1eba..bd7e124 100644 --- a/docs/instance.md +++ b/docs/instance.md @@ -1,10 +1,121 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [instance](instance) - -Column | Type | Description ---- | --- | --- -Id | int(10) unsigned | -Map | smallint(5) unsigned | -Resettime | int(10) unsigned | -Difficulty | tinyint(3) unsigned | -CompletedEncounters | int(10) unsigned | -Data | tinytext | +# instance + +`Back-to:Characters` + +**The \`instance\` table** + +This table holds static information on all current instances that have not yet been reset. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

id

int(10)

unsigned

PRI

NO

0

 

 

map

smallint(5)

unsigned

 

NO

0

 

 

resettime

int(10)

unsigned

 

NO

0

 

 

difficulty

tinyint(3)

unsigned

 

NO

0

 

 

completedEncounters

int(10)

unsigned

 

NO

0

 

 

data

tinytext

signed

 

NO

 

 

 

+ +**Description of the fields** + +### id + +The instance ID. This number is unique to every instance. + +### map + +The map ID the instance is in. See Map.dbc + +### resettime + +The time when the instance will be reset, in Unix time. This field is zero for raid and heroic instances. +The resettime of raid and heroic instances for every specific group is stored in table instance\_reset. + +### difficulty + +The difficulty of the current instance. 0 = 10-man Normal, 1 = 25-man Normal, 2 = 10-man Heroic, 3 = 25-man Heroic. + +### completedEncounters + +`field-no-description|5` + +### data + +Specific data belonging to the individual instance. -- cgit