dc021efd8a
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c287929b216bf6d3818d77f507beb8dfb617a43)
165 lines
7.5 KiB
C#
165 lines
7.5 KiB
C#
/*
|
|
* Copyright (C) 2012-2020 CypherCore <http://github.com/CypherCore>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace Framework.Constants
|
|
{
|
|
public enum GossipOption
|
|
{
|
|
None = 0, //Unit_Npc_Flag_None (0)
|
|
Gossip = 1, //Unit_Npc_Flag_Gossip (1)
|
|
Questgiver = 2, //Unit_Npc_Flag_Questgiver (2)
|
|
Vendor = 3, //Unit_Npc_Flag_Vendor (128)
|
|
Taxivendor = 4, //Unit_Npc_Flag_Taxivendor (8192)
|
|
Trainer = 5, //Unit_Npc_Flag_Trainer (16)
|
|
Spirithealer = 6, //Unit_Npc_Flag_Spirithealer (16384)
|
|
Spiritguide = 7, //Unit_Npc_Flag_Spiritguide (32768)
|
|
Innkeeper = 8, //Unit_Npc_Flag_Innkeeper (65536)
|
|
Banker = 9, //Unit_Npc_Flag_Banker (131072)
|
|
Petitioner = 10, //Unit_Npc_Flag_Petitioner (262144)
|
|
Tabarddesigner = 11, //Unit_Npc_Flag_Tabarddesigner (524288)
|
|
Battlefield = 12, //Unit_Npc_Flag_Battlefieldperson (1048576)
|
|
Auctioneer = 13, //Unit_Npc_Flag_Auctioneer (2097152)
|
|
Stablepet = 14, //Unit_Npc_Flag_Stable (4194304)
|
|
Armorer = 15, //Unit_Npc_Flag_Armorer (4096)
|
|
Unlearntalents = 16, //Unit_Npc_Flag_Trainer (16) (Bonus Option For Trainer)
|
|
Unlearnpettalents_Old = 17, // deprecated
|
|
Learndualspec = 18, //Unit_Npc_Flag_Trainer (16) (Bonus Option For Trainer)
|
|
Outdoorpvp = 19, //Added By Code (Option For Outdoor Pvp Creatures)
|
|
Transmogrifier = 20, //UNIT_NPC_FLAG_TRANSMOGRIFIER
|
|
Max
|
|
}
|
|
|
|
public enum GossipOptionIcon
|
|
{
|
|
None = 0, // White chat bubble. Default
|
|
Vendor = 1, // Brown bag
|
|
TaxiNode = 2, // White wing
|
|
Trainer = 3, // Brown book
|
|
SpiritHealer = 4, // Golden interaction wheel (with red center)
|
|
Binder = 5, // Golden interaction wheel
|
|
Banker = 6, // Brown bag (with gold coin in lower corner)
|
|
PetitionVendor = 7, // White chat bubble (with "..." inside)
|
|
TabardVendor = 8, // White tabard
|
|
BattleMaster = 9, // Two crossed swords
|
|
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
|
|
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
|
|
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
|
|
Max
|
|
}
|
|
|
|
public struct eTradeskill
|
|
{
|
|
// Skill Defines
|
|
public const uint TradeskillAlchemy = 1;
|
|
public const uint TradeskillBlacksmithing = 2;
|
|
public const uint TradeskillCooking = 3;
|
|
public const uint TradeskillEnchanting = 4;
|
|
public const uint TradeskillEngineering = 5;
|
|
public const uint TradeskillFirstaid = 6;
|
|
public const uint TradeskillHerbalism = 7;
|
|
public const uint TradeskillLeatherworking = 8;
|
|
public const uint TradeskillPoisons = 9;
|
|
public const uint TradeskillTailoring = 10;
|
|
public const uint TradeskillMining = 11;
|
|
public const uint TradeskillFishing = 12;
|
|
public const uint TradeskillSkinning = 13;
|
|
public const uint TradeskillJewlcrafting = 14;
|
|
public const uint TradeskillInscription = 15;
|
|
|
|
public const uint TradeskillLevelNone = 0;
|
|
public const uint TradeskillLevelApprentice = 1;
|
|
public const uint TradeskillLevelJourneyman = 2;
|
|
public const uint TradeskillLevelExpert = 3;
|
|
public const uint TradeskillLevelArtisan = 4;
|
|
public const uint TradeskillLevelMaster = 5;
|
|
public const uint TradeskillLevelGrandMaster = 6;
|
|
|
|
// Gossip Defines
|
|
public const uint GossipActionTrade = 1;
|
|
public const uint GossipActionTrain = 2;
|
|
public const uint GossipActionTaxi = 3;
|
|
public const uint GossipActionGuild = 4;
|
|
public const uint GossipActionBattle = 5;
|
|
public const uint GossipActionBank = 6;
|
|
public const uint GossipActionInn = 7;
|
|
public const uint GossipActionHeal = 8;
|
|
public const uint GossipActionTabard = 9;
|
|
public const uint GossipActionAuction = 10;
|
|
public const uint GossipActionInnInfo = 11;
|
|
public const uint GossipActionUnlearn = 12;
|
|
public const uint GossipActionInfoDef = 1000;
|
|
|
|
public const uint GossipSenderMain = 1;
|
|
public const uint GossipSenderInnInfo = 2;
|
|
public const uint GossipSenderInfo = 3;
|
|
public const uint GossipSenderSecProftrain = 4;
|
|
public const uint GossipSenderSecClasstrain = 5;
|
|
public const uint GossipSenderSecBattleinfo = 6;
|
|
public const uint GossipSenderSecBank = 7;
|
|
public const uint GossipSenderSecInn = 8;
|
|
public const uint GossipSenderSecMailbox = 9;
|
|
public const uint GossipSenderSecStablemaster = 10;
|
|
}
|
|
|
|
public enum GossipOptionStatus
|
|
{
|
|
Available = 0,
|
|
Unavailable = 1,
|
|
Locked = 2,
|
|
AlreadyComplete = 3
|
|
}
|
|
|
|
public enum GossipOptionRewardType
|
|
{
|
|
Item = 0,
|
|
Currency = 1
|
|
}
|
|
}
|