[DiscordArchive] is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?
[DiscordArchive] is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?
Archived author: Telegrill • Posted: 2024-12-14T20:15:06.624000+00:00
Original source
is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?
Archived author: Telegrill • Posted: 2024-12-14T20:15:59.819000+00:00
Original source
bit unsure why it was named as Minion on the first place if the helper iterates by checking IsSummon
Archived author: Northstrider • Posted: 2024-12-14T20:18:12.206000+00:00
Original source
No because GetAllMinions only returns all summons which have been registered as minion. Not all summons are minions. Only those who have been directly linked to the player via Unit::SetMinion
Archived author: Northstrider • Posted: 2024-12-14T20:18:42.710000+00:00
Original source
while I agree that this sounds weird, there is no tracking for ALL summons as of right now
Archived author: Telegrill • Posted: 2024-12-14T20:19:08.627000+00:00
Original source
that's why I'm wondering, I want to decluter this mess
Archived author: Northstrider • Posted: 2024-12-14T20:19:34.507000+00:00
Original source
this is a fundamental design flaw of the summon system right now. if you 'declutter' it, you can and will break a ton of stuff
Archived author: Northstrider • Posted: 2024-12-14T20:19:53.354000+00:00
Original source
(been there, done that)
Archived author: Northstrider • Posted: 2024-12-14T20:20:27.546000+00:00
Original source
https://github.com/The-Cataclysm-Preserv...e5974a4df7
Archived author: Telegrill • Posted: 2024-12-14T20:20:42.530000+00:00
Original source
but IsSummon only checks for UNIT_MASK_SUMMON which is inheritely set once the creature is TempSummon
Archived author: Telegrill • Posted: 2024-12-14T20:21:01.641000+00:00
Original source
or that's what I'm reading on the constructor at lesat