feat(Core/Containers): MapGetValuePtr (#6111)
feat(Core/Containers): MapGetValuePtr (#6111)

* feat(Core/Containers): MapGetValuePtr

* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`

(cherry picked from commit https://github.com/TrinityCore/TrinityCore/commit/a1e3b54e076bf0361d23ace53703a4e501354d7c)
Co-Authored-By: Shauren <e992da2f52a2ceaa4f3fc83863889185dc66f7df@gmail.com>
jokerlfm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,azerothcore/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,azerothcore/azerothcore-wotlk,mygithome002/azerothcore-wotlk,mygithome002/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Helias/azerothcore-wotlk,azerothcore/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Helias/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Helias/azerothcore-wotlk,Helias/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,Helias/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Helias/azerothcore-wotlk,Nefertumm/azerothcore-wotlk