Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?

[DiscordArchive] is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?

[DiscordArchive] is it ok to rename GetAllMinionsByEntry to GetAllSummonsByEntry instead?

Pages (7): Previous 1 3 4 5 6 7 Next  
rektbyfaith
Administrator
0
12-14-2024, 08:44 PM
#41
Archived author: Telegrill • Posted: 2024-12-14T20:44:24.868000+00:00
Original source

while also maintaining certain helpers for ScriptedAI to use which cannot be accessed by player class
rektbyfaith
12-14-2024, 08:44 PM #41

Archived author: Telegrill • Posted: 2024-12-14T20:44:24.868000+00:00
Original source

while also maintaining certain helpers for ScriptedAI to use which cannot be accessed by player class

rektbyfaith
Administrator
0
12-14-2024, 08:44 PM
#42
Archived author: Northstrider • Posted: 2024-12-14T20:44:58.565000+00:00
Original source

SAI is also suffering from the false summon implementation, ye
rektbyfaith
12-14-2024, 08:44 PM #42

Archived author: Northstrider • Posted: 2024-12-14T20:44:58.565000+00:00
Original source

SAI is also suffering from the false summon implementation, ye

rektbyfaith
Administrator
0
12-14-2024, 08:47 PM
#43
Archived author: Telegrill • Posted: 2024-12-14T20:47:25.757000+00:00
Original source

originally, I wanted to create a few helpers for Unit class to iterate through summons but since Player and Creature classes use different classes to store those, it'll end up being a ugly mess to check which class the accesor is and iterate through one or the other based on it
rektbyfaith
12-14-2024, 08:47 PM #43

Archived author: Telegrill • Posted: 2024-12-14T20:47:25.757000+00:00
Original source

originally, I wanted to create a few helpers for Unit class to iterate through summons but since Player and Creature classes use different classes to store those, it'll end up being a ugly mess to check which class the accesor is and iterate through one or the other based on it

rektbyfaith
Administrator
0
12-14-2024, 08:49 PM
#44
Archived author: Northstrider • Posted: 2024-12-14T20:49:14.203000+00:00
Original source

ideally you would override the TempSummon AddToWorld and RemoveFromWorld methods and register/unregister the summon's guid this way within the summoner's new container
rektbyfaith
12-14-2024, 08:49 PM #44

Archived author: Northstrider • Posted: 2024-12-14T20:49:14.203000+00:00
Original source

ideally you would override the TempSummon AddToWorld and RemoveFromWorld methods and register/unregister the summon's guid this way within the summoner's new container

rektbyfaith
Administrator
0
12-14-2024, 08:49 PM
#45
Archived author: Telegrill • Posted: 2024-12-14T20:49:35.310000+00:00
Original source

like some sort of TempSummon unordered_map?
rektbyfaith
12-14-2024, 08:49 PM #45

Archived author: Telegrill • Posted: 2024-12-14T20:49:35.310000+00:00
Original source

like some sort of TempSummon unordered_map?

rektbyfaith
Administrator
0
12-14-2024, 08:50 PM
#46
Archived author: Northstrider • Posted: 2024-12-14T20:50:20.234000+00:00
Original source

either a vector or set (you only need the guid because you access them via objectaccessor only)
rektbyfaith
12-14-2024, 08:50 PM #46

Archived author: Northstrider • Posted: 2024-12-14T20:50:20.234000+00:00
Original source

either a vector or set (you only need the guid because you access them via objectaccessor only)

rektbyfaith
Administrator
0
12-14-2024, 08:50 PM
#47
Archived author: Northstrider • Posted: 2024-12-14T20:50:48.454000+00:00
Original source

storing pointers of other entities is a big nono
rektbyfaith
12-14-2024, 08:50 PM #47

Archived author: Northstrider • Posted: 2024-12-14T20:50:48.454000+00:00
Original source

storing pointers of other entities is a big nono

rektbyfaith
Administrator
0
12-14-2024, 08:51 PM
#48
Archived author: Telegrill • Posted: 2024-12-14T20:51:21.610000+00:00
Original source

actually, I thought of a unonrdered_map using entry, GuidSet
rektbyfaith
12-14-2024, 08:51 PM #48

Archived author: Telegrill • Posted: 2024-12-14T20:51:21.610000+00:00
Original source

actually, I thought of a unonrdered_map using entry, GuidSet

rektbyfaith
Administrator
0
12-14-2024, 08:51 PM
#49
Archived author: Telegrill • Posted: 2024-12-14T20:51:33.011000+00:00
Original source

since you can have multiple summons of the same entry
rektbyfaith
12-14-2024, 08:51 PM #49

Archived author: Telegrill • Posted: 2024-12-14T20:51:33.011000+00:00
Original source

since you can have multiple summons of the same entry

rektbyfaith
Administrator
0
12-14-2024, 08:52 PM
#50
Archived author: Northstrider • Posted: 2024-12-14T20:52:14.073000+00:00
Original source

you can do that but this is a rather rare case where you would need to access them so better keep it as plain vector and instead build GuidSets on demand
rektbyfaith
12-14-2024, 08:52 PM #50

Archived author: Northstrider • Posted: 2024-12-14T20:52:14.073000+00:00
Original source

you can do that but this is a rather rare case where you would need to access them so better keep it as plain vector and instead build GuidSets on demand

Pages (7): Previous 1 3 4 5 6 7 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)