Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] intid?

[DiscordArchive] intid?

[DiscordArchive] intid?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
01-05-2023, 09:38 PM
#1
Archived author: Kitzunu • Posted: 2023-01-05T21:38:25.525000+00:00
Original source

intid?
rektbyfaith
01-05-2023, 09:38 PM #1

Archived author: Kitzunu • Posted: 2023-01-05T21:38:25.525000+00:00
Original source

intid?

rektbyfaith
Administrator
0
01-05-2023, 09:39 PM
#2
Archived author: Honey • Posted: 2023-01-05T21:39:32.319000+00:00
Original source

GOSSIP_EVENT_ON_SELECT (event, player, object, sender, intid, code, menu_id)
rektbyfaith
01-05-2023, 09:39 PM #2

Archived author: Honey • Posted: 2023-01-05T21:39:32.319000+00:00
Original source

GOSSIP_EVENT_ON_SELECT (event, player, object, sender, intid, code, menu_id)

rektbyfaith
Administrator
0
01-05-2023, 09:39 PM
#3
Archived author: Honey • Posted: 2023-01-05T21:39:42.353000+00:00
Original source

intid is the id of the clicked gossip choice
rektbyfaith
01-05-2023, 09:39 PM #3

Archived author: Honey • Posted: 2023-01-05T21:39:42.353000+00:00
Original source

intid is the id of the clicked gossip choice

rektbyfaith
Administrator
0
01-05-2023, 09:40 PM
#4
Archived author: Honey • Posted: 2023-01-05T21:40:19.546000+00:00
Original source

i think it's `action` in C++ gossips
rektbyfaith
01-05-2023, 09:40 PM #4

Archived author: Honey • Posted: 2023-01-05T21:40:19.546000+00:00
Original source

i think it's `action` in C++ gossips

rektbyfaith
Administrator
0
01-05-2023, 09:40 PM
#5
Archived author: Kitzunu • Posted: 2023-01-05T21:40:43.431000+00:00
Original source

what is the C++ hook? I dont speak eluna kek
rektbyfaith
01-05-2023, 09:40 PM #5

Archived author: Kitzunu • Posted: 2023-01-05T21:40:43.431000+00:00
Original source

what is the C++ hook? I dont speak eluna kek

rektbyfaith
Administrator
0
01-05-2023, 09:44 PM
#6
Archived author: Kitzunu • Posted: 2023-01-05T21:44:02.412000+00:00
Original source

I dont find a hook that takes that many parameters in the core...
rektbyfaith
01-05-2023, 09:44 PM #6

Archived author: Kitzunu • Posted: 2023-01-05T21:44:02.412000+00:00
Original source

I dont find a hook that takes that many parameters in the core...

rektbyfaith
Administrator
0
01-05-2023, 09:44 PM
#7
Archived author: Kitzunu • Posted: 2023-01-05T21:44:09.247000+00:00
Original source

My best guess would be
```cpp
void OnGossipSelect(WorldObject* source, uint32 gossipListId, uint32 menuId);
```
rektbyfaith
01-05-2023, 09:44 PM #7

Archived author: Kitzunu • Posted: 2023-01-05T21:44:09.247000+00:00
Original source

My best guess would be
```cpp
void OnGossipSelect(WorldObject* source, uint32 gossipListId, uint32 menuId);
```

rektbyfaith
Administrator
0
01-05-2023, 09:44 PM
#8
Archived author: Kitzunu • Posted: 2023-01-05T21:44:17.119000+00:00
Original source

where your intid would be gossipListId?
rektbyfaith
01-05-2023, 09:44 PM #8

Archived author: Kitzunu • Posted: 2023-01-05T21:44:17.119000+00:00
Original source

where your intid would be gossipListId?

rektbyfaith
Administrator
0
01-05-2023, 09:45 PM
#9
Archived author: Honey • Posted: 2023-01-05T21:45:03.386000+00:00
Original source

```cpp
void Eluna::HandleGossipSelectOption(Player* pPlayer, uint32 menuId, uint32 sender, uint32 action, const std:Confusedtring& code)
{
START_HOOK(PlayerGossipBindings, GOSSIP_EVENT_ON_SELECT, menuId);
pPlayer->PlayerTalkClass->ClearMenus();

Push(pPlayer); // receiver
Push(pPlayer); // sender, just not to mess up the amount of args.
Push(sender);
Push(action);
if (code.empty())
Push();
else
Push(code);

CallAllFunctions(PlayerGossipBindings, key);
```
This is what i've found.
rektbyfaith
01-05-2023, 09:45 PM #9

Archived author: Honey • Posted: 2023-01-05T21:45:03.386000+00:00
Original source

```cpp
void Eluna::HandleGossipSelectOption(Player* pPlayer, uint32 menuId, uint32 sender, uint32 action, const std:Confusedtring& code)
{
START_HOOK(PlayerGossipBindings, GOSSIP_EVENT_ON_SELECT, menuId);
pPlayer->PlayerTalkClass->ClearMenus();

Push(pPlayer); // receiver
Push(pPlayer); // sender, just not to mess up the amount of args.
Push(sender);
Push(action);
if (code.empty())
Push();
else
Push(code);

CallAllFunctions(PlayerGossipBindings, key);
```
This is what i've found.

rektbyfaith
Administrator
0
01-05-2023, 09:45 PM
#10
Archived author: Honey • Posted: 2023-01-05T21:45:05.797000+00:00
Original source

<https://www.azerothcore.org/pages/eluna/Global/RegisterCreatureGossipEvent.html>
rektbyfaith
01-05-2023, 09:45 PM #10

Archived author: Honey • Posted: 2023-01-05T21:45:05.797000+00:00
Original source

<https://www.azerothcore.org/pages/eluna/Global/RegisterCreatureGossipEvent.html>

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