Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] No memory remap like in d4 and ow2?

[DiscordArchive] No memory remap like in d4 and ow2?

[DiscordArchive] No memory remap like in d4 and ow2?

Pages (4): Previous 1 2 3 4
rektbyfaith
Administrator
0
01-14-2023, 08:32 PM
#31
Archived author: Tea • Posted: 2023-01-14T20:32:43.117000+00:00
Original source

whenever you access anything from a Map*, you must stay in the same thread that is currently updating it
rektbyfaith
01-14-2023, 08:32 PM #31

Archived author: Tea • Posted: 2023-01-14T20:32:43.117000+00:00
Original source

whenever you access anything from a Map*, you must stay in the same thread that is currently updating it

rektbyfaith
Administrator
0
01-14-2023, 08:34 PM
#32
Archived author: Tea • Posted: 2023-01-14T20:34:16.094000+00:00
Original source

that being said, you should probably not loop over all players on map and instead use `player->GetPlayerListInGrid(players, maxDist, isAlive)` where players container can be any of vector/deque/list
rektbyfaith
01-14-2023, 08:34 PM #32

Archived author: Tea • Posted: 2023-01-14T20:34:16.094000+00:00
Original source

that being said, you should probably not loop over all players on map and instead use `player->GetPlayerListInGrid(players, maxDist, isAlive)` where players container can be any of vector/deque/list

Pages (4): Previous 1 2 3 4
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)