diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-06-30 00:21:11 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 19:21:11 +0200 |
commit | 59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244 (patch) | |
tree | 798a3525ee28d3bc8a87761d61a5b7828d8c4ecc /doc/changelog/pendings/changes_1624773257463469100.md | |
parent | 63b48a906d17b0edb157061354e3e3a72fd4c808 (diff) |
docs(Changelog): add changelog for new features (#6518)
Diffstat (limited to 'doc/changelog/pendings/changes_1624773257463469100.md')
-rw-r--r-- | doc/changelog/pendings/changes_1624773257463469100.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/changelog/pendings/changes_1624773257463469100.md b/doc/changelog/pendings/changes_1624773257463469100.md new file mode 100644 index 0000000000..f5711362f7 --- /dev/null +++ b/doc/changelog/pendings/changes_1624773257463469100.md @@ -0,0 +1,11 @@ +### Removed +- Old gossips api [#5414](https://github.com/azerothcore/azerothcore-wotlk/pull/5414) + +### How to upgrade +- `player->ADD_GOSSIP_ITEM(whatever)` -> `AddGossipItemFor(player, whatever)` +- `player->ADD_GOSSIP_ITEM_DB(whatever)` -> `AddGossipItemFor(player, whatever)` +- `player->ADD_GOSSIP_ITEM_EXTENDED(whatever)` -> `AddGossipItemFor(player, whatever)` +- `player->CLOSE_GOSSIP_MENU()` -> `CloseGossipMenuFor(player)` +- `player->SEND_GOSSIP_MENU(textid, creature->GetGUID())` -> `SendGossipMenuFor(player, textid, creature->GetGUID())` + +You also need `#include "ScriptedGossip.h"` in your cpp files |