[DiscordArchive] When should I delete a pointer?
[DiscordArchive] When should I delete a pointer?
Archived author: <o> • Posted: 2022-04-19T17:24:01.816000+00:00
Original source
store guids, not pointers
Archived author: Deleted User • Posted: 2022-04-19T17:24:14.913000+00:00
Original source
Sometimes you MUST store pointers...
Archived author: <o> • Posted: 2022-04-19T17:24:44.433000+00:00
Original source
if it's all synchronous code in a single function, you can of course store pointers, not otherwise
Archived author: Deleted User • Posted: 2022-04-19T17:24:46.533000+00:00
Original source
It's efficiently that I store the Unit I found near me rather than the Guid, Im searching & using, not storing to use it later
Archived author: Deleted User • Posted: 2022-04-19T17:24:50.879000+00:00
Original source
I think people like you should use smart pointers
Archived author: <o> • Posted: 2022-04-19T17:25:13.438000+00:00
Original source
you can't smart pointer wow entities, they're managed by the core
Archived author: Deleted User • Posted: 2022-04-19T17:25:58.367000+00:00
Original source
didn't read what he wants
Archived author: <o> • Posted: 2022-04-19T17:26:32.497000+00:00
Original source
yeah, storing and using is fine of course
Archived author: Deleted User • Posted: 2022-04-19T17:28:30.484000+00:00
Original source
Aight cool preciate your replies
Archived author: Deleted User • Posted: 2022-04-19T17:40:47.871000+00:00
Original source
is there a guide how to add a new npc that has no sound example worgen i have the sound i have but how do i add a new id and the sound text