Foe
Foe
I think step one is marking the methods outlined above as world only for now, and then we can think of a cleaner way to either defer or queue inline...
Also, the unbind/bind methods in player, are these not inherently safe in the map context since they are strictly tied to the player that already exists in the map context?
Pushed an update to flag the outlined methods above as world only, let me know if you find others and I'll flag those accordingly as well.
Like mentioned in Discord, this will require either a weak pointer implementation for Loot, or we need to reintroduce partial dereferencing for objects that do not have a weak pointer...
I think a better approach would be to implement something like a topic based asynchronous message queue, where each state would have a consumer to just consume messages from the...
This'll need some changes or methods possibly removed to be compatible with the Mangos based cores. I'll see if I have the time to add the Mangos files to this...