Game event creature

Материал из YTDB DataBase

(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «{| align="right" | __TOC__ |} Back to world database list of tables. <big>'''The `game_event_creature` table'''</big> Contains all creature in…»)
 
(5 промежуточных версий не показаны.)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
Back to [[mangosdb_struct|world database]] list of tables.
+
[[Category: Mangos world database tables]]
 +
К описанию таблиц [[mangosdb_struct|базы данных mangos]].
-
<big>'''The `game_event_creature` table'''</big>
+
<big>'''Таблица `game_event_creature`'''</big>
-
Contains all creature instances that have to be spawned/unspawned during defined game events.
+
Содержит всех npc, которые связаны со всеми игровыми событиями.
-
<big>'''Structure'''</big>
+
<big>'''Структура'''</big>
{| border="1"
{| border="1"
|'''Field'''
|'''Field'''
|'''Type'''
|'''Type'''
 +
|'''Attributes'''
|'''Null'''
|'''Null'''
|'''Key'''
|'''Key'''
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Comments'''
|-
|-
|[[#guid|guid]]
|[[#guid|guid]]
-
|int(10) unsigned
+
|int(10)
 +
|unsigned
|NO
|NO
|PRI
|PRI
Строка 27: Строка 30:
|-
|-
|[[#event|event]]
|[[#event|event]]
-
|mediumint(9)
+
|smallint(6)
-
|NO
+
|
|
 +
|NO
 +
|PRI
|0
|0
-
|
+
|Negatives value to remove during event and ignore pool grouping, positive value for spawn during event and if guid is part of pool then al pool memebers must be listed as part of event spawn.
|}
|}
-
<big>'''Description of the fields'''</big>
+
<big>'''Описание полей таблицы'''</big>
====guid====
====guid====
-
Guid of the creature participating in the event ([[creature#guid|creature.guid]])
+
Глобальный идентификатор существа, берется из ([[creature#guid|creature.guid]]).
 +
 
====event====
====event====
-
Entry of the event ([[game_event#entry|game_event.entry]])
+
Идентификатор события, берется из ([[game_event#entry|game_event.entry]]).
-
* Use '''+'''[[game_event#entry|entry]] to have the creature added during the event
+
* Если значение положительное '''+'''[[game_event#entry|entry]], то npc добавляется в мир на время выполнения игрового события.
-
* Use '''-'''[[game_event#entry|entry]] to have it removed during the event
+
* Если значение отрицательное '''-'''[[game_event#entry|entry]], то npc удаляется из мира на время выполнения игрового события.

Текущая версия на 17:24, 14 июня 2018

Содержание

К описанию таблиц базы данных mangos.


Таблица `game_event_creature`

Содержит всех npc, которые связаны со всеми игровыми событиями.


Структура

Field Type Attributes Null Key Default Comments
guid int(10) unsigned NO PRI
event smallint(6) NO PRI 0 Negatives value to remove during event and ignore pool grouping, positive value for spawn during event and if guid is part of pool then al pool memebers must be listed as part of event spawn.


Описание полей таблицы

guid

Глобальный идентификатор существа, берется из (creature.guid).

event

Идентификатор события, берется из (game_event.entry).

  • Если значение положительное +entry, то npc добавляется в мир на время выполнения игрового события.
  • Если значение отрицательное -entry, то npc удаляется из мира на время выполнения игрового события.
Личные инструменты