azerothcore / mod-eluna-lua-engine

DEPRECATED

Home Page:https://www.azerothcore.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Global:SendMail should return the GUIDs of the created items

55Honey opened this issue · comments

Currently Global:SendMail returns nothing.

If it returned the GUIDs of the new items it created by sending a mail, these items could be easily altered e.g. by adding enchants/gems or making them soulbound.
As of now, without the returned GUIDs, one would need to query the db before and after sending the mail and compare the recipients whole mail.

If that's possible i suggest to let the method return an array containing the GUIDs.

@55Honey doesn't this belong to https://github.com/ElunaLuaEngine/Eluna/ ?

ElunaLuaEngine/Eluna#346
I've opened it over there, too :)