Instance encounters
Материал из YTDB DataBase
(Различия между версиями)
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) (→creditEntry) |
||
(4 промежуточные версии не показаны) | |||
Строка 57: | Строка 57: | ||
====entry==== | ====entry==== | ||
- | Уникальный идентификатор. См. [[DungeonEncounter.dbc]] | + | Уникальный идентификатор. См. [[DungeonEncounter.dbc]]. |
+ | |||
+ | ====creditType==== | ||
+ | ENCOUNTER_CREDIT_KILL_CREATURE = 0 <br> | ||
+ | ENCOUNTER_CREDIT_CAST_SPELL = 1 | ||
+ | |||
+ | ====creditEntry==== | ||
+ | Если creditType = 0, значение поля содержит [[creature_template#entry|creature_template.entry]]. <br> | ||
+ | Если creditType = 1, значение поля содержит спелл. | ||
+ | |||
+ | ====lastEncounterDungeon==== | ||
+ | Не равно 0, идентификатор подземелья, см. [[LFGDungeons.dbc]]. |
Текущая версия на 13:55, 26 сентября 2011
|
К описанию таблиц базы данных mangos.
Таблица `instance_encounters`
Структура
Field | Type | Attributes | Null | Key | Default | Comments |
entry | int(10) | unsigned | NO | PRI | 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 |
Описание полей
entry
Уникальный идентификатор. См. DungeonEncounter.dbc.
creditType
ENCOUNTER_CREDIT_KILL_CREATURE = 0
ENCOUNTER_CREDIT_CAST_SPELL = 1
creditEntry
Если creditType = 0, значение поля содержит creature_template.entry.
Если creditType = 1, значение поля содержит спелл.
lastEncounterDungeon
Не равно 0, идентификатор подземелья, см. LFGDungeons.dbc.