Instance

From OregonCore Wiki
Jump to: navigation, search

Back to the characters database list of tables.


The `instance` table

This table holds static information on all current instances that have not yet been reset.

Schema Last Modified: TC1-1828 - Schema Verified: Rev 665


Structure

Field Type Attributes Key Null Default Extra Comment
id int(11) unsigned PRI NO 0
map int(11) unsigned NO 0
resettime bigint(40) signed NO 0
difficulty tinyint(1) unsigned NO 0
data longtext utf8_general_ci YES NULL


Description of the fields

id

The instance ID. This number is unique to every instance.

map

The map ID the instance is in. See Maps.dbc

resettime

The time when the instance will be reset, in Unix time. This field is zero for raid and heroic instances.

difficulty

The difficulty of the current instance. 1 = heroic, 0 = normal

data

Specific data belonging to the individual instance.