Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] To switch hardcoded text in core I try to use method

[DiscordArchive] To switch hardcoded text in core I try to use method

[DiscordArchive] To switch hardcoded text in core I try to use method

rektbyfaith
Administrator
0
04-19-2019, 01:37 PM
#1
Archived author: Bogir • Posted: 2019-04-19T13:37:09.090000+00:00
Original source

To switch hardcoded text in core I try to use method
```cpp
// Uses gossip item info from DB
void AddGossipItemFor(Player* player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action)
{
player->PlayerTalkClass->GetGossipMenu().AddMenuItem(gossipMenuID, gossipMenuItemID, sender, action);
}
```
Why it takes text only from original table "broadcast_text", but not takes its analog from "broadcast_text_locale" ?
rektbyfaith
04-19-2019, 01:37 PM #1

Archived author: Bogir • Posted: 2019-04-19T13:37:09.090000+00:00
Original source

To switch hardcoded text in core I try to use method
```cpp
// Uses gossip item info from DB
void AddGossipItemFor(Player* player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action)
{
player->PlayerTalkClass->GetGossipMenu().AddMenuItem(gossipMenuID, gossipMenuItemID, sender, action);
}
```
Why it takes text only from original table "broadcast_text", but not takes its analog from "broadcast_text_locale" ?

rektbyfaith
Administrator
0
04-19-2019, 01:38 PM
#2
Archived author: Bogir • Posted: 2019-04-19T13:38:55.055000+00:00
Original source


[Image: unknown.png?ex=690bfc2d&is=690aaaad&hm=b...dd615b7c5&]
rektbyfaith
04-19-2019, 01:38 PM #2

Archived author: Bogir • Posted: 2019-04-19T13:38:55.055000+00:00
Original source


[Image: unknown.png?ex=690bfc2d&is=690aaaad&hm=b...dd615b7c5&]

rektbyfaith
Administrator
0
04-19-2019, 01:39 PM
#3
Archived author: Bogir • Posted: 2019-04-19T13:39:09.622000+00:00
Original source


[Image: unknown.png?ex=690bfc3c&is=690aaabc&hm=8...d227aeabd&]
rektbyfaith
04-19-2019, 01:39 PM #3

Archived author: Bogir • Posted: 2019-04-19T13:39:09.622000+00:00
Original source


[Image: unknown.png?ex=690bfc3c&is=690aaabc&hm=8...d227aeabd&]

rektbyfaith
Administrator
0
04-19-2019, 01:39 PM
#4
Archived author: Bogir • Posted: 2019-04-19T13:39:22.624000+00:00
Original source


[Image: unknown.png?ex=690bfc49&is=690aaac9&hm=0...6615d97f3&]
rektbyfaith
04-19-2019, 01:39 PM #4

Archived author: Bogir • Posted: 2019-04-19T13:39:22.624000+00:00
Original source


[Image: unknown.png?ex=690bfc49&is=690aaac9&hm=0...6615d97f3&]

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)