File tree 4 files changed +4
-10
lines changed
WDE.DatabaseEditors/DbDefinitions
WoWDatabaseEditor.Common/WDE.TrinityMySqlDatabase/Database
4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " gossip_menu" ,
3
3
"compatibility" : [
4
- " TrinityWrath" , " TrinityCata"
4
+ " TrinityWrath" , " TrinityCata" , " TrinityMaster "
5
5
],
6
6
"name" : " Gossip Menu" ,
7
7
"single_solution_name" : " {key} gossip menu" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " gossip_menu_option" ,
3
3
"compatibility" : [
4
- " TrinityWrath" , " Azeroth"
4
+ " TrinityWrath" , " Azeroth" , " TrinityMaster "
5
5
],
6
6
"name" : " Gossip Menu Option" ,
7
7
"single_solution_name" : " {key} gossip menu options" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " spell_linked_spell" ,
3
3
"compatibility" : [
4
- " TrinityWrath" , " TrinityCata"
4
+ " TrinityWrath" , " TrinityCata" , " TrinityMaster "
5
5
],
6
6
"name" : " Spell Linked Spell" ,
7
7
"single_solution_name" : " {name} linked spell editor" ,
Original file line number Diff line number Diff line change @@ -37,13 +37,7 @@ public override async Task<List<ICreatureTemplate>> GetCreatureTemplatesAsync()
37
37
public override async Task < List < IGossipMenuOption > > GetGossipMenuOptionsAsync ( uint menuId )
38
38
{
39
39
await using var model = Database ( ) ;
40
- return await ( from t in model . SplitGossipMenuOptions
41
- join actions in model . SplitGossipMenuOptionActions on t . MenuId equals actions . MenuId into adn
42
- from subaddon in adn . DefaultIfEmpty ( )
43
- join boxes in model . SplitGossipMenuOptionBoxes on t . MenuId equals boxes . MenuId into box
44
- from subaddon2 in box . DefaultIfEmpty ( )
45
- orderby t . MenuId
46
- select t . SetAction ( subaddon ) . SetBox ( subaddon2 ) ) . ToListAsync < IGossipMenuOption > ( ) ;
40
+ return await model . GossipMenuOptions . Where ( option => option . MenuId == menuId ) . ToListAsync < IGossipMenuOption > ( ) ;
47
41
}
48
42
49
43
public override async Task < List < IBroadcastText > > GetBroadcastTextsAsync ( )
You can’t perform that action at this time.
0 commit comments