Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
This commit is contained in:
@@ -421,10 +421,21 @@ namespace Framework.Constants
|
||||
PlayerBestWeeklyWinPvpTierInBracketEqualOrGreaterThan = 325, // (Mainline) Player has best weekly win at or above "{@PVP_TIER_ENUM}" for "{@PVP_BRACKET}"
|
||||
PlayerHasVanillaCollectorsEdition = 326, // Player has Vanilla Collector's Edition
|
||||
PlayerHasItemWithKeystoneLevelModifierEqualOrGreaterThan = 327,
|
||||
|
||||
PlayerMythicPlusRatingInDisplaySeasonEqualOrGreaterThan = 329, /*NYI*/ // Player has Mythic+ Rating of at least "{#DungeonScore}" in {DisplaySeason}
|
||||
|
||||
MythicPlusRatingIsInTop01Percent = 334, // top 0.1% rating
|
||||
PlayerMythicPlusLadderRatingInDisplaySeasonEqualOrGreaterThan = 333, /*NYI*/ // Player has Mythic+ Ladder Rating of at least "{#DungeonScore}" in {DisplaySeason}
|
||||
MythicPlusRatingIsInTop01Percent = 334, /*NYI*/ // top 0.1% rating
|
||||
PlayerAuraWithLabelStackCountEqualOrGreaterThan = 335, // Player has at least {#Stacks} stacks of aura "{Label}"
|
||||
PlayerAuraWithLabelStackCountEqual = 336, // Target has exactly {#Stacks} stacks of aura with label "{Label}"
|
||||
PlayerAuraWithLabelStackCountEqualOrLessThan = 337, // Player has at most {#Stacks} stacks of aura "{Label}"
|
||||
PlayerIsInCrossFactionGroup = 338, // Player is in a cross faction group
|
||||
PlayerHasTraitNodeEntryInActiveConfig = 340, // Player has {TraitNodeEntry} node in currently active config
|
||||
PlayerHasTraitNodeEntryInActiveConfigRankGreaterOrEqualThan = 341, // Player has at least {#Rank} for {TraitNodeEntry} node in currently active config
|
||||
PlayerHasPurchasedCombatTraitRanks = 342, /*NYI*/ // Player has purchased at least {#Count} talent points in active combat config
|
||||
PlayerHasPurchasedTraitRanksInTraitTree = 343, /*NYI*/ // Player has purchased at least {#Count} ranks in {#TraitTree}
|
||||
PlayerDaysSinceLogout = 344,
|
||||
CraftingOrderSkillLineAbility = 347, /*NYI*/
|
||||
CraftingOrderProfession = 348, /*NYI*/ // ProfessionEnum
|
||||
PlayerCanUseItem = 351, // Player can use item {#Item}
|
||||
}
|
||||
|
||||
public enum CriteriaFailEvent : byte
|
||||
@@ -714,7 +725,11 @@ namespace Framework.Constants
|
||||
MythicPlusRatingAttained = 230, /*NYI*/ // (Player) Mythic+ Rating "{#DungeonScore}" attained
|
||||
SpentTalentPoint = 231, /*NYI*/ // (Player) spent talent point
|
||||
MythicPlusDisplaySeasonEnded = 234, /*NYI*/ // {DisplaySeason}
|
||||
|
||||
WinRatedSoloShuffleRound = 239, /*NYI*/
|
||||
ParticipateInRatedSoloShuffleRound = 240, /*NYI*/
|
||||
ReputationAmountGained = 243, /*NYI*/ // Gain reputation amount with {FactionID}; accumulate, not highest
|
||||
FulfillAnyCraftingOrder = 245, /*NYI*/
|
||||
FulfillCraftingOrderType = 246, /*NYI*/ // {CraftingOrderType}
|
||||
Count
|
||||
}
|
||||
|
||||
|
||||
@@ -77,60 +77,64 @@ namespace Framework.Constants
|
||||
CharCreateNewPlayer = 50,
|
||||
CharCreateNameReservationFull = 51,
|
||||
|
||||
CharCreateClassTrialNewcomer = 52,
|
||||
CharCreateClassTrialThrottleHour = 53,
|
||||
CharCreateClassTrialThrottleDay = 54,
|
||||
CharCreateClassTrialThrottleWeek = 55,
|
||||
CharCreateClassTrialThrottleAccount = 56,
|
||||
CharCreateDracthyrDuplicate = 52,
|
||||
CharCreateDracthyrLevelRequirement = 53,
|
||||
CharCreateDeathknightDuplicate = 54,
|
||||
CharCreateDeathknightLevelRequirement = 55,
|
||||
CharCreateClassTrialNewcomer = 56,
|
||||
CharCreateClassTrialThrottleHour = 57,
|
||||
CharCreateClassTrialThrottleDay = 58,
|
||||
CharCreateClassTrialThrottleWeek = 59,
|
||||
CharCreateClassTrialThrottleAccount = 60,
|
||||
|
||||
CharDeleteInProgress = 57,
|
||||
CharDeleteSuccess = 58,
|
||||
CharDeleteFailed = 59,
|
||||
CharDeleteFailedLockedForTransfer = 60,
|
||||
CharDeleteFailedGuildLeader = 61,
|
||||
CharDeleteFailedArenaCaptain = 62,
|
||||
CharDeleteFailedHasHeirloomOrMail = 63,
|
||||
CharDeleteFailedUpgradeInProgress = 64,
|
||||
CharDeleteFailedHasWowToken = 65,
|
||||
CharDeleteFailedVasTransactionInProgress = 66,
|
||||
CharDeleteFailedCommunityOwner = 67,
|
||||
CharDeleteInProgress = 61,
|
||||
CharDeleteSuccess = 62,
|
||||
CharDeleteFailed = 63,
|
||||
CharDeleteFailedLockedForTransfer = 64,
|
||||
CharDeleteFailedGuildLeader = 65,
|
||||
CharDeleteFailedArenaCaptain = 66,
|
||||
CharDeleteFailedHasHeirloomOrMail = 67,
|
||||
CharDeleteFailedUpgradeInProgress = 68,
|
||||
CharDeleteFailedHasWowToken = 69,
|
||||
CharDeleteFailedVasTransactionInProgress = 70,
|
||||
CharDeleteFailedCommunityOwner = 71,
|
||||
|
||||
CharLoginInProgress = 68,
|
||||
CharLoginSuccess = 69,
|
||||
CharLoginNoWorld = 70,
|
||||
CharLoginDuplicateCharacter = 71,
|
||||
CharLoginNoInstances = 72,
|
||||
CharLoginFailed = 73,
|
||||
CharLoginDisabled = 74,
|
||||
CharLoginNoCharacter = 75,
|
||||
CharLoginLockedForTransfer = 76,
|
||||
CharLoginLockedByBilling = 77,
|
||||
CharLoginLockedByMobileAh = 78,
|
||||
CharLoginTemporaryGmLock = 79,
|
||||
CharLoginLockedByCharacterUpgrade = 80,
|
||||
CharLoginLockedByRevokedCharacterUpgrade = 81,
|
||||
CharLoginLockedByRevokedVasTransaction = 82,
|
||||
CharLoginLockedByRestriction = 83,
|
||||
CharLoginLockedForRealmPlaytype = 84,
|
||||
CharLoginInProgress = 72,
|
||||
CharLoginSuccess = 73,
|
||||
CharLoginNoWorld = 74,
|
||||
CharLoginDuplicateCharacter = 75,
|
||||
CharLoginNoInstances = 76,
|
||||
CharLoginFailed = 77,
|
||||
CharLoginDisabled = 78,
|
||||
CharLoginNoCharacter = 79,
|
||||
CharLoginLockedForTransfer = 80,
|
||||
CharLoginLockedByBilling = 81,
|
||||
CharLoginLockedByMobileAh = 82,
|
||||
CharLoginTemporaryGmLock = 83,
|
||||
CharLoginLockedByCharacterUpgrade = 84,
|
||||
CharLoginLockedByRevokedCharacterUpgrade = 85,
|
||||
CharLoginLockedByRevokedVasTransaction = 86,
|
||||
CharLoginLockedByRestriction = 87,
|
||||
CharLoginLockedForRealmPlaytype = 88,
|
||||
|
||||
CharNameSuccess = 85,
|
||||
CharNameFailure = 86,
|
||||
CharNameNoName = 87,
|
||||
CharNameTooShort = 88,
|
||||
CharNameTooLong = 89,
|
||||
CharNameInvalidCharacter = 90,
|
||||
CharNameMixedLanguages = 91,
|
||||
CharNameProfane = 92,
|
||||
CharNameReserved = 93,
|
||||
CharNameInvalidApostrophe = 94,
|
||||
CharNameMultipleApostrophes = 95,
|
||||
CharNameThreeConsecutive = 96,
|
||||
CharNameInvalidSpace = 97,
|
||||
CharNameConsecutiveSpaces = 98,
|
||||
CharNameRussianConsecutiveSilentCharacters = 99,
|
||||
CharNameRussianSilentCharacterAtBeginningOrEnd = 100,
|
||||
CharNameDeclensionDoesntMatchBaseName = 101,
|
||||
CharNameSpacesDisallowed = 102,
|
||||
CharNameSuccess = 89,
|
||||
CharNameFailure = 90,
|
||||
CharNameNoName = 91,
|
||||
CharNameTooShort = 92,
|
||||
CharNameTooLong = 93,
|
||||
CharNameInvalidCharacter = 94,
|
||||
CharNameMixedLanguages = 95,
|
||||
CharNameProfane = 96,
|
||||
CharNameReserved = 97,
|
||||
CharNameInvalidApostrophe = 98,
|
||||
CharNameMultipleApostrophes = 99,
|
||||
CharNameThreeConsecutive = 100,
|
||||
CharNameInvalidSpace = 101,
|
||||
CharNameConsecutiveSpaces = 102,
|
||||
CharNameRussianConsecutiveSilentCharacters = 103,
|
||||
CharNameRussianSilentCharacterAtBeginningOrEnd = 104,
|
||||
CharNameDeclensionDoesntMatchBaseName = 105,
|
||||
CharNameSpacesDisallowed = 106
|
||||
}
|
||||
|
||||
public enum CharacterUndeleteResult
|
||||
|
||||
@@ -1491,7 +1491,13 @@ namespace Framework.Constants
|
||||
OneshotStandVar0 = 991,
|
||||
OneshotFlycustomspell01 = 992,
|
||||
OneshotSpelleffectDecay = 993,
|
||||
CreatureSpecial = 994,
|
||||
StateCreatureSpecial = 994,
|
||||
OneshotWareact01 = 1001,
|
||||
OneshotFlycustomspell04 = 1004,
|
||||
OneshotTalkSubdued = 1005,
|
||||
StateEmotetalk = 1006,
|
||||
StateWainteraction = 1007,
|
||||
OneshotTakeOffStart = 1009,
|
||||
}
|
||||
|
||||
public enum GlyphSlotType
|
||||
@@ -1715,6 +1721,75 @@ namespace Framework.Constants
|
||||
GearDiff = 8
|
||||
}
|
||||
|
||||
public enum PlayerInteractionType
|
||||
{
|
||||
None = 0,
|
||||
TradePartner = 1,
|
||||
Item = 2,
|
||||
Gossip = 3,
|
||||
QuestGiver = 4,
|
||||
Merchant = 5,
|
||||
TaxiNode = 6,
|
||||
Trainer = 7,
|
||||
Banker = 8,
|
||||
AlliedRaceDetailsGiver = 9,
|
||||
GuildBanker = 10,
|
||||
Registrar = 11,
|
||||
Vendor = 12,
|
||||
PetitionVendor = 13,
|
||||
TabardVendor = 14,
|
||||
TalentMaster = 15,
|
||||
SpecializationMaster = 16,
|
||||
MailInfo = 17,
|
||||
SpiritHealer = 18,
|
||||
AreaSpiritHealer = 19,
|
||||
Binder = 20,
|
||||
Auctioneer = 21,
|
||||
StableMaster = 22,
|
||||
BattleMaster = 23,
|
||||
Transmogrifier = 24,
|
||||
LFGDungeon = 25,
|
||||
VoidStorageBanker = 26,
|
||||
BlackMarketAuctioneer = 27,
|
||||
AdventureMap = 28,
|
||||
WorldMap = 29,
|
||||
GarrArchitect = 30,
|
||||
GarrTradeskill = 31,
|
||||
GarrMission = 32,
|
||||
ShipmentCrafter = 33,
|
||||
GarrRecruitment = 34,
|
||||
GarrTalent = 35,
|
||||
Trophy = 36,
|
||||
PlayerChoice = 37,
|
||||
ArtifactForge = 38,
|
||||
ObliterumForge = 39,
|
||||
ScrappingMachine = 40,
|
||||
ContributionCollector = 41,
|
||||
AzeriteRespec = 42,
|
||||
IslandQueue = 43,
|
||||
ItemInteraction = 44,
|
||||
ChromieTime = 45,
|
||||
CovenantPreview = 46,
|
||||
AnimaDiversion = 47,
|
||||
LegendaryCrafting = 48,
|
||||
WeeklyRewards = 49,
|
||||
Soulbind = 50,
|
||||
CovenantSanctum = 51,
|
||||
NewPlayerGuide = 52,
|
||||
ItemUpgrade = 53,
|
||||
AdventureJournal = 54,
|
||||
Renown = 55,
|
||||
AzeriteForge = 56,
|
||||
PerksProgramVendor = 57,
|
||||
ProfessionsCraftingOrder = 58,
|
||||
Professions = 59,
|
||||
ProfessionsCustomerOrder = 60,
|
||||
TraitSystem = 61,
|
||||
BarbersChoice = 62,
|
||||
JailersTowerBuffs = 63,
|
||||
MajorFactionRenown = 64
|
||||
}
|
||||
|
||||
public enum PrestigeLevelInfoFlags : byte
|
||||
{
|
||||
Disabled = 0x01 // Prestige levels with this flag won't be included to calculate max prestigelevel.
|
||||
@@ -2129,6 +2204,23 @@ namespace Framework.Constants
|
||||
CreatureSpellDamage = 9
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum TraitCombatConfigFlags
|
||||
{
|
||||
None = 0x0,
|
||||
ActiveForSpec = 0x1,
|
||||
StarterBuild = 0x2,
|
||||
SharedActionBars = 0x4
|
||||
}
|
||||
|
||||
public enum TraitConfigType
|
||||
{
|
||||
Invalid = 0,
|
||||
Combat = 1,
|
||||
Profession = 2,
|
||||
Generic = 3
|
||||
}
|
||||
|
||||
public enum UiMapFlag
|
||||
{
|
||||
None = 0x00,
|
||||
@@ -2426,7 +2518,7 @@ namespace Framework.Constants
|
||||
ContentTuningPvpItemLevelDamageScaling = 15,
|
||||
}
|
||||
|
||||
public enum BattlePetSpeciesFlags : ushort
|
||||
public enum BattlePetSpeciesFlags : int
|
||||
{
|
||||
NoRename = 0x01,
|
||||
WellKnown = 0x02,
|
||||
@@ -2443,7 +2535,8 @@ namespace Framework.Constants
|
||||
NoLicenseRequired = 0x1000,
|
||||
AddsAllowedWithBoss = 0x2000,
|
||||
HideUntilLearned = 0x4000,
|
||||
MatchPlayerHighPetLevel = 0x8000
|
||||
MatchPlayerHighPetLevel = 0x8000,
|
||||
NoWildPetAddsAllowed = 0x10000,
|
||||
}
|
||||
|
||||
public enum SpellVisualEffectNameType
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
* 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
|
||||
{
|
||||
@@ -48,24 +48,24 @@ namespace Framework.Constants
|
||||
{
|
||||
None = 0, // White chat bubble. Default
|
||||
Vendor = 1, // Brown bag
|
||||
TaxiNode = 2, // White wing
|
||||
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
|
||||
Battlemaster = 9, // Two crossed swords
|
||||
Auctioneer = 10, // Stack of gold coins
|
||||
TalentMaster = 11, // White chat bubble
|
||||
StableMaster = 12, // White chat bubble
|
||||
Stablemaster = 12, // White chat bubble
|
||||
PetSpecializationMaster = 13, /*DEPRECATED*/ // White chat bubble
|
||||
GuildBanker = 14, /*NYI*/ // White chat bubble
|
||||
SpellClick = 15, /*NYI*/ // 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, /*NYI*/ // 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
|
||||
@@ -73,25 +73,33 @@ namespace Framework.Constants
|
||||
GlyphMaster = 24, /*DEPRECATED*/ // White chat bubble
|
||||
QueueScenario = 25, /*NYI*/ // White chat bubble
|
||||
GarrisonArchitect = 26, /*NYI*/ // White chat bubble
|
||||
GarrisonMission = 27, /*NYI*/ // White chat bubble
|
||||
GarrisonMissionNpc = 27, /*NYI*/ // White chat bubble
|
||||
ShipmentCrafter = 28, /*NYI*/ // Brown document
|
||||
GarrisonTradeskill = 29, /*NYI*/ // White chat bubble
|
||||
GarrisonTradeskillNpc = 29, /*NYI*/ // White chat bubble
|
||||
GarrisonRecruitment = 30, /*NYI*/ // White chat bubble
|
||||
AdventureMap = 31, /*NYI*/ // White chat bubble
|
||||
GarrisonTalent = 32, // White chat bubble
|
||||
ContributionCollector = 33, /*NYI*/ // White chat bubble
|
||||
Transmogrify = 34, // Purple helm
|
||||
AzeriteRespec = 35, // White chat bubble
|
||||
IslandsMission = 36, /*NYI*/ // White chat bubble
|
||||
IslandsMissionNpc = 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
|
||||
ChromieTimeNpc = 40, /*NYI*/ // White chat bubble
|
||||
CovenantPreviewNpc = 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
|
||||
CovenantRenownNpc = 45, /*NYI*/ // White chat bubble
|
||||
BlackMarketAuctionHouse = 46,
|
||||
PerksProgramVendor = 47,
|
||||
ProfessionsCraftingOrder = 48,
|
||||
ProfessionsOpen = 49,
|
||||
ProfessionsCustomerOrder = 50,
|
||||
TraitSystem = 51,
|
||||
BarbersChoice = 52,
|
||||
MajorFactionRenown = 53,
|
||||
Max
|
||||
}
|
||||
|
||||
@@ -162,4 +170,10 @@ namespace Framework.Constants
|
||||
Item = 0,
|
||||
Currency = 1
|
||||
}
|
||||
|
||||
public enum GossipOptionFlags
|
||||
{
|
||||
None = 0x0,
|
||||
QuestLabelPrepend = 0x1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,9 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace Framework.Constants
|
||||
{
|
||||
@@ -60,6 +62,7 @@ namespace Framework.Constants
|
||||
WorldPvp = 4,
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum GroupFlags
|
||||
{
|
||||
None = 0x00,
|
||||
@@ -71,6 +74,7 @@ namespace Framework.Constants
|
||||
OnePersonParty = 0x020, // Script_IsOnePersonParty()
|
||||
EveryoneAssistant = 0x040, // Script_IsEveryoneAssistant()
|
||||
GuildGroup = 0x100,
|
||||
CrossFaction = 0x200,
|
||||
|
||||
MaskBgRaid = FakeRaid | Raid
|
||||
}
|
||||
|
||||
@@ -102,29 +102,65 @@ namespace Framework.Constants
|
||||
};
|
||||
}
|
||||
|
||||
public struct ProfessionSlots
|
||||
{
|
||||
public const byte Profession1Tool = 19;
|
||||
public const byte Profession1Gear1 = 20;
|
||||
public const byte Profession1Gear2 = 21;
|
||||
public const byte Profession2Tool = 22;
|
||||
public const byte Profession2Gear1 = 23;
|
||||
public const byte Profession2Gear2 = 24;
|
||||
public const byte CookingTool = 25;
|
||||
public const byte CookingGear1 = 26;
|
||||
public const byte FishingTool = 27;
|
||||
public const byte FishingGear1 = 28;
|
||||
public const byte FishingGear2 = 29;
|
||||
|
||||
public const byte End = 30;
|
||||
public const byte Start = Profession1Tool;
|
||||
}
|
||||
|
||||
public struct InventorySlots
|
||||
{
|
||||
public const byte BagStart = 19;
|
||||
public const byte BagEnd = 23;
|
||||
public const byte ItemStart = 23;
|
||||
public const byte ItemEnd = 51;
|
||||
public const byte BagStart = 30;
|
||||
public const byte BagEnd = 34;
|
||||
|
||||
public const byte BankItemStart = 51;
|
||||
public const byte BankItemEnd = 79;
|
||||
public const byte BankBagStart = 79;
|
||||
public const byte BankBagEnd = 86;
|
||||
public const byte ReagentBagStart = 34;
|
||||
public const byte ReagentBagEnd = 35;
|
||||
|
||||
public const byte BuyBackStart = 86;
|
||||
public const byte BuyBackEnd = 98;
|
||||
public const byte ReagentStart = 98;
|
||||
public const byte ReagentEnd = 196;
|
||||
public const byte ChildEquipmentStart = 196;
|
||||
public const byte ChildEquipmentEnd = 199;
|
||||
public const byte ItemStart = 35;
|
||||
public const byte ItemEnd = 63;
|
||||
|
||||
public const byte BankItemStart = 63;
|
||||
public const byte BankItemEnd = 91;
|
||||
|
||||
public const byte BankBagStart = 91;
|
||||
public const byte BankBagEnd = 98;
|
||||
|
||||
public const byte BuyBackStart = 98;
|
||||
public const byte BuyBackEnd = 110;
|
||||
|
||||
public const byte ReagentStart = 110;
|
||||
public const byte ReagentEnd = 208;
|
||||
|
||||
public const byte ChildEquipmentStart = 208;
|
||||
public const byte ChildEquipmentEnd = 211;
|
||||
|
||||
public const byte Bag0 = 255;
|
||||
public const byte DefaultSize = 16;
|
||||
}
|
||||
|
||||
enum EquipableSpellSlots
|
||||
{
|
||||
OffensiveSlot1 = 211,
|
||||
OffensiveSlot2 = 212,
|
||||
OffensiveSlot3 = 213,
|
||||
OffensiveSlot4 = 214,
|
||||
UtilitySlot1 = 215,
|
||||
DefensiveSlot1 = 216,
|
||||
MobilitySlot1 = 217
|
||||
}
|
||||
|
||||
public struct EquipmentSlot
|
||||
{
|
||||
public const byte Start = 0;
|
||||
@@ -462,6 +498,20 @@ namespace Framework.Constants
|
||||
RaidHeroicExtended = 84,
|
||||
RaidMythicExtended = 85,
|
||||
CharacterTemplate91 = 86,
|
||||
ChallengeMode4 = 87,
|
||||
PvpRanked9 = 88,
|
||||
RaidNormalExtended2 = 89,
|
||||
RaidFinderExtended2 = 90,
|
||||
RaidHeroicExtended2 = 91,
|
||||
RaidMythicExtended2 = 92,
|
||||
RaidNormalExtended3 = 93,
|
||||
RaidFinderExtended3 = 94,
|
||||
RaidHeroicExtended3 = 95,
|
||||
RaidMythicExtended3 = 96,
|
||||
TemplateCharacter1 = 97,
|
||||
TemplateCharacter2 = 98,
|
||||
TemplateCharacter3 = 99,
|
||||
TemplateCharacter4 = 100,
|
||||
|
||||
Max
|
||||
}
|
||||
@@ -537,7 +587,13 @@ namespace Framework.Constants
|
||||
RangedRight = 26,
|
||||
Quiver = 27,
|
||||
Relic = 28,
|
||||
Max = 29
|
||||
ProfessionTool = 29,
|
||||
ProfessionGear = 30,
|
||||
EquipableSpellOffensive = 31,
|
||||
EquipableSpellUtility = 32,
|
||||
EquipableSpellDefensive = 33,
|
||||
EquipableSpellMobility = 34,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum VisibleEquipmentSlot
|
||||
@@ -586,7 +642,8 @@ namespace Framework.Constants
|
||||
Glyph = 16,
|
||||
BattlePets = 17,
|
||||
WowToken = 18,
|
||||
Max = 19
|
||||
Profession = 19,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassConsumable
|
||||
@@ -601,7 +658,7 @@ namespace Framework.Constants
|
||||
Bandage = 7,
|
||||
ConsumableOther = 8,
|
||||
VantusRune = 9,
|
||||
Max = 10
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassContainer
|
||||
@@ -617,7 +674,8 @@ namespace Framework.Constants
|
||||
InscriptionContainer = 8,
|
||||
TackleContainer = 9,
|
||||
CookingContainer = 10,
|
||||
Max = 11
|
||||
ReagentContainer = 11,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassWeapon
|
||||
@@ -664,7 +722,7 @@ namespace Framework.Constants
|
||||
Other = 9,
|
||||
MultipleStats = 10,
|
||||
ArtifactRelic = 11,
|
||||
Max = 12
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassArmor
|
||||
@@ -681,14 +739,15 @@ namespace Framework.Constants
|
||||
Totem = 9,
|
||||
Sigil = 10,
|
||||
Relic = 11,
|
||||
Max = 12
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassReagent
|
||||
{
|
||||
Reagent = 0,
|
||||
Keystone = 1,
|
||||
Max = 2
|
||||
ContextToken = 2,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassProjectile
|
||||
@@ -698,7 +757,7 @@ namespace Framework.Constants
|
||||
Arrow = 2,
|
||||
Bullet = 3,
|
||||
Thrown = 4, // Obsolete
|
||||
Max = 5
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassTradeGoods
|
||||
@@ -721,7 +780,9 @@ namespace Framework.Constants
|
||||
WeaponEnchantment = 15,
|
||||
Inscription = 16,
|
||||
ExplosivesDevices = 17,
|
||||
Max = 18
|
||||
OptionalReagent = 18,
|
||||
FinishingReagent = 19,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubclassItemEnhancement
|
||||
@@ -740,7 +801,8 @@ namespace Framework.Constants
|
||||
Weapon = 11,
|
||||
TwoHandedWeapon = 12,
|
||||
ShieldOffHand = 13,
|
||||
Max = 14
|
||||
Misc = 14,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassRecipe
|
||||
@@ -804,7 +866,8 @@ namespace Framework.Constants
|
||||
Holiday = 3,
|
||||
Other = 4,
|
||||
Mount = 5,
|
||||
Max = 6
|
||||
MountEquipment = 6,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemSubClassGlyph
|
||||
@@ -836,6 +899,25 @@ namespace Framework.Constants
|
||||
Max = 1
|
||||
}
|
||||
|
||||
public enum ItemSubclassPorfession
|
||||
{
|
||||
Blacksmithing = 0,
|
||||
Leatherworking = 1,
|
||||
Alchemy = 2,
|
||||
Herbalism = 3,
|
||||
Cooking = 4,
|
||||
Mining = 5,
|
||||
Tailoring = 6,
|
||||
Engineering = 7,
|
||||
Enchanting = 8,
|
||||
Fishing = 9,
|
||||
Skinning = 10,
|
||||
Jewelcrafting = 11,
|
||||
Inscription = 12,
|
||||
Archaeology = 13,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum ItemQuality
|
||||
{
|
||||
Poor = 0, //Grey
|
||||
@@ -1144,6 +1226,11 @@ namespace Framework.Constants
|
||||
NotInNPE = 110,// Not available during the tutorial
|
||||
ItemCooldown = 111,// Item is not ready yet.
|
||||
NotInRatedBattleground = 112,// You can't do that in a rated battleground.
|
||||
EquipableSpellsSlotsFull = 113,
|
||||
CantBeRecrafted = 114,// You can't recraft that itemv
|
||||
ReagentBagWrongSlot = 115,// Reagent Bags can only be placed in the reagent bag slot.
|
||||
SlotOnlyReagentBag = 116,// Only Reagent Bags can be placed in the reagent bag slot.
|
||||
ReagentBagItemType = 117,// Only Reagents can be placed in Reagent Bags.
|
||||
}
|
||||
|
||||
public enum BuyResult
|
||||
|
||||
@@ -111,4 +111,15 @@ namespace Framework.Constants
|
||||
Master = 3, // Item Can Only Be Distributed By Group Loot Master.
|
||||
Owner = 4 // Ignore Binding Confirmation And Etc, For Single Player Looting
|
||||
}
|
||||
|
||||
public enum LootRollIneligibilityReason
|
||||
{
|
||||
None = 0,
|
||||
UnusableByClass = 1, // Your class may not roll need on this item.
|
||||
MaxUniqueItemCount = 2, // You already have the maximum amount of this item.
|
||||
CannotBeDisenchanted = 3, // This item may not be disenchanted.
|
||||
EnchantingSkillTooLow = 4, // You do not have an Enchanter of skill %d in your group.
|
||||
NeedDisabled = 5, // Need rolls are disabled for this item.
|
||||
OwnBetterItem = 6 // You already have a powerful version of this item.
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,5 +99,7 @@ namespace Framework.Constants
|
||||
{
|
||||
None = 0x00,
|
||||
DisableInertia = 0x01,
|
||||
CanAdvFly = 0x02,
|
||||
AdvFlying = 0x04,
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ namespace Framework.Constants
|
||||
{
|
||||
public struct PlayerConst
|
||||
{
|
||||
public const Expansion CurrentExpansion = Expansion.ShadowLands;
|
||||
public const Expansion CurrentExpansion = Expansion.Dragonflight;
|
||||
|
||||
public const int MaxTalentTiers = 7;
|
||||
public const int MaxTalentColumns = 3;
|
||||
@@ -35,7 +35,7 @@ namespace Framework.Constants
|
||||
public const int ReqPrimaryTreeTalents = 31;
|
||||
public const int ExploredZonesSize = 192;
|
||||
public const ulong MaxMoneyAmount = 99999999999UL;
|
||||
public const int MaxActionButtons = 132;
|
||||
public const int MaxActionButtons = 180;
|
||||
public const int MaxActionButtonActionValue = 0x00FFFFFF + 1;
|
||||
|
||||
public const int MaxDailyQuests = 25;
|
||||
@@ -55,8 +55,6 @@ namespace Framework.Constants
|
||||
public const int MaxRunes = 7;
|
||||
public const int MaxRechargingRunes = 3;
|
||||
|
||||
public const int CustomDisplaySize = 3;
|
||||
|
||||
public const int ArtifactsAllWeaponsGeneralWeaponEquippedPassive = 197886;
|
||||
|
||||
public const int MaxArtifactTier = 1;
|
||||
@@ -152,7 +150,9 @@ namespace Framework.Constants
|
||||
Com = 0x08, // Commentator
|
||||
Dev = 0x10,
|
||||
BossSound = 0x20, // Plays "RaidBossEmoteWarning" sound on raid boss emote/whisper
|
||||
Mobile = 0x40
|
||||
Mobile = 0x40,
|
||||
Guide = 0x1000,
|
||||
Newcomer = 0x2000
|
||||
}
|
||||
|
||||
public enum DrunkenState
|
||||
@@ -558,7 +558,7 @@ namespace Framework.Constants
|
||||
// first slot for item stored (in any way in player items data)
|
||||
Start = 0,
|
||||
// last+1 slot for item stored (in any way in player items data)
|
||||
End = 199,
|
||||
End = 218,
|
||||
Count = (End - Start)
|
||||
}
|
||||
|
||||
@@ -753,7 +753,9 @@ namespace Framework.Constants
|
||||
FailedAffectingCombat = 5,
|
||||
FailedCantRemoveTalent = 6,
|
||||
FailedCantDoThatChallengeModeActive = 7,
|
||||
FailedRestArea = 8
|
||||
FailedRestArea = 8,
|
||||
UnspentTalentPoints = 9,
|
||||
InPvpMatch = 10
|
||||
}
|
||||
|
||||
public enum TutorialsFlag
|
||||
|
||||
+1159
-1075
File diff suppressed because it is too large
Load Diff
@@ -528,10 +528,34 @@ namespace Framework.Constants
|
||||
ModHealingTakenFromCaster = 504,
|
||||
ModPlayerChoiceRerolls = 505, // NYI
|
||||
DisableInertia = 506, // NYI
|
||||
Unk507 = 507,
|
||||
ModDamageTakenFromCasterByLabel = 507,
|
||||
Unk508 = 508,
|
||||
Unk509 = 509,
|
||||
ModifiedRaidInstance = 510, // Related to "Fated" raid affixes
|
||||
ModifiedRaidInstance = 510, // NYI; Related to "Fated" raid affixes
|
||||
ApplyProfessionEffect = 511, // Nyi; Miscvalue[0] = Professioneffectid
|
||||
Unk512 = 512,
|
||||
Unk513 = 513,
|
||||
Unk514 = 514,
|
||||
Unk515 = 515,
|
||||
Unk516 = 516,
|
||||
Unk517 = 517,
|
||||
Unk518 = 518,
|
||||
ModCooldownRecoveryRateAll = 519, // Nyi; Applies To All Spells, Not Filtered By Familyflags Or Label
|
||||
Unk520 = 520,
|
||||
Unk521 = 521,
|
||||
Unk522 = 522,
|
||||
Unk523 = 523,
|
||||
Unk524 = 524,
|
||||
DisplayProfessionEquipment = 525, // Nyi; Miscvalue[0] = Profession (Enum, Not Id)
|
||||
Unk526 = 526,
|
||||
Unk527 = 527,
|
||||
AllowBlockingSpells = 528, // Nyi
|
||||
ModSpellBlockChance = 529, // Nyi
|
||||
Unk530 = 530,
|
||||
Unk531 = 531,
|
||||
Unk532 = 532,
|
||||
DisableNavigation = 533, // Disables Map Pins
|
||||
Unk534 = 534,
|
||||
Total
|
||||
}
|
||||
|
||||
|
||||
@@ -473,8 +473,8 @@ namespace Framework.Constants
|
||||
BadTargets = 13,
|
||||
PvpTargetWhileUnflagged = 14,
|
||||
CantBeCharmed = 15,
|
||||
CantBeDisenchanted = 16,
|
||||
CantBeDisenchantedSkill = 17,
|
||||
CantBeSalvaged = 16,
|
||||
CantBeSalvagedSkill = 17,
|
||||
CantBeEnchanted = 18,
|
||||
CantBeMilled = 19,
|
||||
CantBeProspected = 20,
|
||||
@@ -767,13 +767,16 @@ namespace Framework.Constants
|
||||
IneligibleWeaponAppearance = 307,
|
||||
PlayerCondition = 308,
|
||||
NotWhileChromieTimed = 309,
|
||||
OptionalReagents = 310,
|
||||
CraftingReagents = 310,
|
||||
SpectatorOrCommentator = 311,
|
||||
SoulbindConduitLearnFailedInvalidCovenant = 312,
|
||||
ShadowlandsRidingRequirement = 313,
|
||||
NotInMageTower = 314,
|
||||
GarrisonFollowerAtMinLevel = 315,
|
||||
Unknown = 316,
|
||||
CantBeRecrafted = 316,
|
||||
PassiveReplaced = 317,
|
||||
CantFlyHere = 318,
|
||||
Unknown = 319,
|
||||
|
||||
// Ok Cast Value - Here In Case A Future Version Removes Success And We Need To Use A Custom Value (Not Sent To Client Either Way)
|
||||
SpellCastOk = Success
|
||||
@@ -1357,7 +1360,45 @@ namespace Framework.Constants
|
||||
YouHaveOtherWaysToSummonPocopoc = 635, // You Have Other Ways To Summon Pocopoc While In Zereth Mortis.
|
||||
RequiresMoreSyllabicRecall = 636, // Requires More Syllabic Recall.
|
||||
ThisBattlePetCannotRideOnMagicSaucer = 637, // This Battle Pet Is Unable To Ride On The Magic Saucer.
|
||||
YouCanOnlyDoThisWhileMidair = 638, // You Can Only Do This While Midair.
|
||||
YouCannotDoThatWhileAirborne = 639, // You Cannot Do That While Airborne.
|
||||
PocopocIsUnavailableOnQuestline = 640, // Pocopoc Is Unavailable To Summon During The Questline A Means To An End.
|
||||
RequiresSulfuronSlammer = 711, // Requires Sulfuron Slammer
|
||||
NotReadyYet = 788, // Not Ready Yet.
|
||||
QualityOfTieredMedallionSettingIsTooLow = 789, // The Quality Of Your Tiered Medallion Setting Is Too Low To Add Another Socket To This Item.
|
||||
YouHaveNotLearnedBarrelRoll = 790, // You Have Not Learned Barrel Roll.
|
||||
TargetMustBeAnEliteElemental = 791, // Target Must Be An Elite Elemental.
|
||||
SkillCheckAlreadyFailed = 792, // Skill Check Already Failed.
|
||||
YourTargetWasRecentlyFed = 793, // Your Target Was Recently Fed.
|
||||
CannotLureElusiveCreatureTowardsTown = 794, // You Cannot Lure An Elusive Creature Towards A Town.
|
||||
NoWorthwhileCreaturesInAreaToLureOut = 795, // There Are No Worthwhile Creatures In This Area To Lure Out.
|
||||
CannotLureWildBeast = 796, // This Is A Daycare For Whelps. Why Would You Try To Lure A Wild Beast Here...?
|
||||
YouHaveNoArcaneEssencesInYourInventory = 797, // You Have No Arcane Essences In Your Inventory.
|
||||
ThatPlayerIsCurrentlyNotInterestedInEngagingWithYourShenanigans = 798, // That Player Is Currently Not Interested In Engaging With Your Shenanigans.
|
||||
CantBeCastOnNonPlayerCharacters = 799, // Can'T Be Cast On Non Player Characters.
|
||||
ASignalFlareWasRecentlyFiredAtThisLocation = 800, // A Signal Flare Was Recently Fired At This Location.
|
||||
ThisTinkerIsTooComplicatedForYou = 801, // This Tinker Is Too Complicated For You.
|
||||
TheDuckRefusesToPlayWhileAnotherMaestroIsNearby = 802, // The Duck Refuses To Play While Another Maestro Is Nearby.
|
||||
YouHaveStudiedTheseNotesExtensivelyandThereIsNothingNewToLearnFromThem = 803, // You Have Studied These Notes Extensively And There Is Nothing New To Learn From Them.
|
||||
YouDontHaveEnoughGold = 804, // You Don'T Have Enough Gold.
|
||||
YouDoNotKnowHowToTameOttuk = 805, // You Do Not Know How To Tame Ottuk.
|
||||
ClanAylaagIsCurrentlyTravellingandCannotBeTeleportedTo = 806, // Clan Aylaag Is Currently Travelling And Cannot Be Teleported To.
|
||||
NotEnoughInsanity = 807, // Not Enough Insanity
|
||||
YouMustWaitToAccessThisAgain = 808, // You Must Wait To Access This Again.
|
||||
YouDoNotKnowHowToTameDragonkin = 809, // You Do Not Know How To Tame Dragonkin.
|
||||
RequiresAnEmptySoulCage = 810, // Requires An Empty Soul Cage.
|
||||
YouAlreadyHaveACagedSoulOfThatType = 811, // You Already Have A Caged Soul Of That Type.
|
||||
YouCantDoThatHere = 812, // You Can'T Do That Here.
|
||||
YouDoNotHaveAnyElementalGemsSocketed = 813, // You Do Not Have Any Elemental Gems Socketed.
|
||||
YouMustBeInTheDragonIsles = 814, // You Must Be In The Dragon Isles.
|
||||
YouCannotDoThatWhileUnderwater = 815, // You Cannot Do That While Underwater.
|
||||
YouMustBeRidingAStolenTameMagmammoth = 816, // You Must Be Riding A Stolen Tame Magmammoth.
|
||||
YouMustBeFlyingAboveWaterInsideAnActiveTuskarrFishingHole = 817, // You Must Be Flying Above Water Inside An Active Tuskarr Fishing Hole.
|
||||
YouAreAlreadyBraveEnoughToContinueWithYourExperimentation = 818, // You Are Already Brave Enough To Continue With Your Experimentation.
|
||||
YouDontKnowHowToRepairThisItem = 819, // You Don'T Know How To Repair This Item.
|
||||
ThereIsNoMoreRoomOnThatHandhold = 820, // There Is No More Room On That Handhold.
|
||||
YouMustUnblockThisSpotByCompletingADailyQuest = 821, // You Must Unblock This Spot By Completing A Daily Quest.
|
||||
YouMustBeCloserToAnIceHoleToDoThat = 822, // You Must Be Closer To An Ice Hole To Do That.
|
||||
}
|
||||
|
||||
public enum SpellMissInfo
|
||||
@@ -1468,7 +1509,8 @@ namespace Framework.Constants
|
||||
Unk78 = 78,
|
||||
Unk91 = 91,
|
||||
Unk100 = 100,
|
||||
DemonHunter = 107
|
||||
DemonHunter = 107,
|
||||
Evoker = 224
|
||||
}
|
||||
|
||||
[Flags]
|
||||
@@ -2434,8 +2476,23 @@ namespace Framework.Constants
|
||||
ModifyKeystone2 = 285,
|
||||
GrantBattlepetExperience = 286,
|
||||
SetGarrisonFollowerLevel = 287,
|
||||
Unk288 = 288,
|
||||
Unk289 = 289,
|
||||
CraftItem = 288, // Miscvalue[0] = Craftingdataid
|
||||
ModifyAuraStacks = 289, // Miscvalue[0] = 0 Means Add, = 1 Means Set
|
||||
ModifyCooldown = 290,
|
||||
ModifyCooldowns = 291, // Miscvalue[0] = Spellfamily, Miscvalue[1] = Maybe Bit Index For Family Flags? Off By 1 For The Only Spell Using This Effect
|
||||
ModifyCooldownsByCategory = 292, // Miscvalue[0] = Category
|
||||
ModifyCharges = 293, // Miscvalue[0] = Charge Category
|
||||
CraftLoot = 294, // Miscvalue[0] = Craftingdataid
|
||||
SalvageItem = 295, // Miscvalue[0] = Itemsalvageid
|
||||
CraftSalvageItem = 296, // Miscvalue[0] = Itemsalvageid, Miscvalue[1] = Craftingdataid
|
||||
RecraftItem = 297,
|
||||
CancelAllPrivateConversations = 298,
|
||||
Unk299 = 299, // Something With Items, As Of 10.0.2 All Spells Are Named "Downgrading"
|
||||
Unk300 = 300,
|
||||
CraftEnchant = 301, // Miscvalue[0] = Craftingdataid, Miscvalue[1] = ?
|
||||
Gathering = 302,
|
||||
CreateTraitTreeConfig = 303, // Miscvalue[0] = Traittreeid
|
||||
ChangeActiveCombatTraitConfig = 304,
|
||||
TotalSpellEffects
|
||||
}
|
||||
|
||||
|
||||
@@ -164,6 +164,7 @@ namespace Framework.Constants
|
||||
ArcaneCharges,
|
||||
Fury,
|
||||
Pain,
|
||||
Essence,
|
||||
Armor, // ARMOR..RESISTANCE_ARCANE must be in existed order, it's accessed by index values of SpellSchools enum.
|
||||
ResistanceHoly,
|
||||
ResistanceFire,
|
||||
@@ -183,7 +184,7 @@ namespace Framework.Constants
|
||||
ResistanceStart = Armor,
|
||||
ResistanceEnd = ResistanceArcane + 1,
|
||||
PowerStart = Mana,
|
||||
PowerEnd = Pain + 1
|
||||
PowerEnd = Essence + 1
|
||||
}
|
||||
public enum UnitModifierFlatType
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user