|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
10.01.2018, 23:32 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
Unit ownership API and field reshuffle to resolve recent confusion
Автор: Warlockbugs
<pre style='white-space:pre-wrap;width:81ex'>Unit ownership API and field reshuffle to resolve recent confusion Protected API prevents accidental misuse of raw unit field APIs in scripts. I expect to revisit this topic at some point to make it even more consistent, but it goes beyond the reason of this patch for now. Changes: * Unit guid fields API is now protected. Use new public APIs instead. * [Pre-WotLK] Companion API (also known as Mini-pets/Critters) was moved to Unit class and syncronized with WotLK core. NPCs can now summon companions via spells. * GetSelectionGuid()/SetSelectionGuid() is now moved to Unit and virtualized. * Unit method GetSpellModOwner() is now virtualized for Player, Totem and Pet classes to imrpove performance. * Former Unit method isCharmed() was absorbed within new APIs and removed.</pre> Подробнее... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Unit ownership API: Add Controlling player (TBC+) | newsbot | CMaNGOS Commits | 0 | 05.09.2017 20:08 |
Global unit ownership redesign | newsbot | CMaNGOS Commits | 0 | 29.07.2017 21:45 |
Fix problem that occur when the charm unit field is updated after the possess bar. | newsbot | CMaNGOS Commits | 0 | 01.05.2016 15:40 |
[9637] Include recent field into mangos.sql | newsbot | CMaNGOS Commits | 0 | 29.03.2010 11:52 |
[8864] Not set target field at client side unit selection. | newsbot | CMaNGOS Commits | 0 | 23.11.2009 12:50 |