Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side

Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0249807f5a8f351e6be6f7350ebace3d2997a)
This commit is contained in:
hondacrx
2022-09-08 18:06:18 -04:00
parent da1d0717fd
commit dbf746f9ea
13 changed files with 224 additions and 209 deletions
+30 -30
View File
@@ -44,7 +44,7 @@ namespace Framework.Constants
Max
}
public enum GossipOptionIcon
public enum GossipOptionNpc
{
None = 0, // White chat bubble. Default
Vendor = 1, // Brown bag
@@ -59,39 +59,39 @@ namespace Framework.Constants
Auctioneer = 10, // Stack of gold coins
TalentMaster = 11, // White chat bubble
StableMaster = 12, // White chat bubble
PetSpecializationMaster = 13, // White chat bubble
GuildBanker = 14, // White chat bubble
SpellClick = 15, // White chat bubble
PetSpecializationMaster = 13, /*DEPRECATED*/ // White chat bubble
GuildBanker = 14, /*NYI*/ // White chat bubble
SpellClick = 15, /*NYI*/ // White chat bubble
DisableXPGain = 16, // White chat bubble
EnableXPGain = 17, // White chat bubble
Mailbox = 18, // White chat bubble
WorldPVPQueue = 19, // White chat bubble
DungeonFinder = 20, // White chat bubble
ArtifactRespec = 21, // White chat bubble
CemeterySelect = 22, // White chat bubble
SpecializationMaster = 23, // White chat bubble
GlyphMaster = 24, // White chat bubble
ScenarioQueue = 25, // White chat bubble
GarrisonArchitect = 26, // White chat bubble
GarrisonMission = 27, // White chat bubble
GarrisonShipment = 28, // Brown document
GarrisonTradeskill = 29, // White chat bubble
GarrisonRecruitment = 30, // White chat bubble
AdventureMap = 31, // White chat bubble
GarrisonTalent = 32, // White chat bubble
ContributionCollector = 33, // White chat bubble
WorldPVPQueue = 19, /*NYI*/ // White chat bubble
LFGDungeon = 20, /*NYI*/ // White chat bubble
ArtifactRespec = 21, /*NYI*/ // White chat bubble
CemeterySelect = 22, /*DEPRECATED*/ // White chat bubble
SpecializationMaster = 23, /*DEPRECATED*/ // White chat bubble
GlyphMaster = 24, /*DEPRECATED*/ // White chat bubble
QueueScenario = 25, /*NYI*/ // White chat bubble
GarrisonArchitect = 26, /*NYI*/ // White chat bubble
GarrisonMission = 27, /*NYI*/ // White chat bubble
ShipmentCrafter = 28, /*NYI*/ // Brown document
GarrisonTradeskill = 29, /*NYI*/ // White chat bubble
GarrisonRecruitment = 30, /*NYI*/ // White chat bubble
AdventureMap = 31, /*NYI*/ // White chat bubble
GarrisonTalent = 32, /*NYI*/ // White chat bubble
ContributionCollector = 33, /*NYI*/ // White chat bubble
Transmogrify = 34, // Purple helm
AzeriteRespec = 35, // White chat bubble
IslandsQueue = 36, // White chat bubble
UIItemInteraction = 37, // White chat bubble
WorldMap = 38, // White chat bubble
Unk39 = 39, //
ChromieTime = 40, // White chat bubble
Unk41 = 41, //
RuneforgeCrafting = 42, // White chat bubble
GuideRecruiter = 43, // White chat bubble
RuneforgeUpgrading = 44, // White chat bubble
CovenantRenown = 45, // White chat bubble
AzeriteRespec = 35, /*NYI*/ // White chat bubble
IslandsMission = 36, /*NYI*/ // White chat bubble
UIItemInteraction = 37, /*NYI*/ // White chat bubble
WorldMap = 38, /*NYI*/ // White chat bubble
Soulbind = 39, /*NYI*/ // White chat bubble
ChromieTime = 40, /*NYI*/ // White chat bubble
CovenantPreview = 41, /*NYI*/ // White chat bubble
RuneforgeLegendaryCrafting = 42, /*NYI*/ // White chat bubble
NewPlayerGuide = 43, /*NYI*/ // White chat bubble
RuneforgeLegendaryUpgrade = 44, /*NYI*/ // White chat bubble
CovenantRenown = 45, /*NYI*/ // White chat bubble
Max
}