PDA

Просмотр полной версии : [11190] Implement `pool_creature_template`/`pool_gameobject_template`.


newsbot
20.02.2011, 07:40
автор: VladimirMangos


<pre>m sql/mangos.sql
+ sql/updates/11190_01_mangos_pool_creature_template.sql
+ sql/updates/11190_01_mangos_pool_gameobject_template.sql
m src/game/PoolManager.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11190] Implement `pool_creature_template`/`pool_gameobject_template`.

New table similar `pool_creature`/`pool_gameobject` but store creature/go ids
instead guids. At loading to poll added all guids for specific entry id.
This let not list explictly guids when need list in pool all guids for some entry id.
Mostly for quest pool spawns or unique creature/go random possitions for example.

At load tested that guid added to pool using new tables data not listed in guid tables.</pre>




Дальше... (https://github.com/mangos/mangos/commit/8e5fa769117ac9fa63908da518b3167359b4aa8b)