f0037ab99f
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
711 lines
27 KiB
C#
711 lines
27 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/>.
|
|
*/
|
|
|
|
using System;
|
|
|
|
namespace Framework.Constants
|
|
{
|
|
public enum AchievementFaction : sbyte
|
|
{
|
|
Horde = 0,
|
|
Alliance = 1,
|
|
Any = -1,
|
|
}
|
|
|
|
public enum CriteriaTreeFlags
|
|
{
|
|
ProgressBar = 0x0001,
|
|
ProgressIsDate = 0x0004,
|
|
ShowCurrencyIcon = 0x0008,
|
|
AllianceOnly = 0x0200,
|
|
HordeOnly = 0x0400,
|
|
ShowRequiredCount = 0x0800
|
|
}
|
|
|
|
public enum CriteriaTreeOperator
|
|
{
|
|
Single = 0,
|
|
SinglerNotCompleted = 1,
|
|
All = 4,
|
|
SumChildren = 5,
|
|
MaxChild = 6,
|
|
CountDirectChildren = 7,
|
|
Any = 8,
|
|
SumChildrenWeight = 9
|
|
}
|
|
|
|
[Flags]
|
|
public enum AchievementFlags
|
|
{
|
|
Counter = 0x01,
|
|
Hidden = 0x02,
|
|
PlayNoVisual = 0x04,
|
|
Summ = 0x08,
|
|
MaxUsed = 0x10,
|
|
ReqCount = 0x20,
|
|
Average = 0x40,
|
|
Bar = 0x80,
|
|
RealmFirstReach = 0x100,
|
|
RealmFirstKill = 0x200,
|
|
Unk3 = 0x400,
|
|
HideIncomplete = 0x800,
|
|
ShowInGuildNews = 0x1000,
|
|
ShowInGuildHeader = 0x2000,
|
|
Guild = 0x4000,
|
|
ShowGuildMembers = 0x8000,
|
|
ShowCriteriaMembers = 0x10000,
|
|
Account = 0x20000,
|
|
Unk5 = 0x00040000,
|
|
HideZeroCounter = 0x00080000,
|
|
TrackingFlag = 0x00100000
|
|
}
|
|
|
|
[Flags]
|
|
public enum CriteriaFlagsCu
|
|
{
|
|
Player = 0x1,
|
|
Account = 0x2,
|
|
Guild = 0x4,
|
|
Scenario = 0x8,
|
|
QuestObjective = 0x10
|
|
}
|
|
|
|
public enum CriteriaCondition
|
|
{
|
|
None = 0,
|
|
NoDeath = 1,
|
|
Unk2 = 2,
|
|
BgMap = 3,
|
|
NoLose = 4,
|
|
RemoveAura = 5,
|
|
CastSpell = 8,
|
|
NoSpellHit = 9,
|
|
NotInGroup = 10,
|
|
LostPetBattle = 11,
|
|
Unk13 = 13,
|
|
Event = 14,
|
|
|
|
Max
|
|
}
|
|
|
|
public enum CriteriaAdditionalCondition
|
|
{
|
|
SourceDrunkValue = 1,
|
|
SourcePlayerCondition = 2,
|
|
ItemLevel = 3,
|
|
TargetCreatureEntry = 4,
|
|
TargetMustBePlayer = 5,
|
|
TargetMustBeDead = 6,
|
|
TargetMustBeEnemy = 7,
|
|
SourceHasAura = 8,
|
|
SourceHasAuraType = 9,
|
|
TargetHasAura = 10,
|
|
TargetHasAuraType = 11,
|
|
SourceAuraState = 12,
|
|
TargetAuraState = 13,
|
|
ItemQualityMin = 14,
|
|
ItemQualityEquals = 15,
|
|
SourceIsAlive = 16,
|
|
SourceAreaOrZone = 17,
|
|
TargetAreaOrZone = 18,
|
|
//Unk19 = 19,
|
|
MapDifficultyOld = 20,
|
|
TargetCreatureYieldsXp = 21, // Nyi
|
|
SourceLevelAboveTarget = 22,
|
|
SourceLevelEqualTarget = 23,
|
|
ArenaType = 24,
|
|
SourceRace = 25,
|
|
SourceClass = 26,
|
|
TargetRace = 27,
|
|
TargetClass = 28,
|
|
MaxGroupMembers = 29,
|
|
TargetCreatureType = 30,
|
|
TargetCreatureFamily = 31,
|
|
SourceMap = 32,
|
|
ClientVersion = 33,
|
|
BattlePetTeamLevel = 34,
|
|
NotInGroup = 35,
|
|
InGroup = 36,
|
|
MinPersonalRating = 37, // Nyi
|
|
TitleBitIndex = 38,
|
|
SourceLevel = 39,
|
|
TargetLevel = 40,
|
|
SourceZone = 41,
|
|
TargetZone = 42,
|
|
SourceHealthPctLower = 43,
|
|
SourceHealthPctGreater = 44,
|
|
SourceHealthPctEqual = 45,
|
|
TargetHealthPctLower = 46,
|
|
TargetHealthPctGreater = 47,
|
|
TargetHealthPctEqual = 48,
|
|
SourceHealthLower = 49,
|
|
SourceHealthGreater = 50,
|
|
SourceHealthEqual = 51,
|
|
TargetHealthLower = 52,
|
|
TargetHealthGreater = 53,
|
|
TargetHealthEqual = 54,
|
|
TargetPlayerCondition = 55,
|
|
MinAchievementPoints = 56,
|
|
InLfgDungeon = 57,
|
|
InLfgRandomDungeon = 58,
|
|
InLfgFirstRandomDungeon = 59,
|
|
//Unk60 = 60, // Nyi
|
|
RequiresGuildGroup = 61, // Nyi
|
|
GuildReputation = 62,
|
|
RatedBattleground = 63, // Nyi
|
|
RatedBattlegroundRating = 64,
|
|
ProjectRarity = 65,
|
|
ProjectRace = 66,
|
|
WorldStateExpression = 67,
|
|
MapDifficulty = 68,
|
|
SourceLevelGreater = 69,
|
|
TargetLevelGreater = 70,
|
|
SourceLevelLower = 71,
|
|
TargetLevelLower = 72,
|
|
ModifierTree = 73,
|
|
ScenarioId = 74,
|
|
TheTillersReputation = 75,
|
|
PetBattleAchievementPoints = 76, // Nyi
|
|
//Unk77 = 77, // Nyi
|
|
BattlePetFamily = 78, // Nyi
|
|
BattlePetHealthPct = 79, // Nyi
|
|
GuildGroupMembers = 80, // Nyi
|
|
BattlePetEntry = 81, // Nyi
|
|
ScenarioStepIndex = 82,
|
|
ChallengeModeMedal = 83, // Nyi
|
|
IsOnQuest = 84,
|
|
ExaltedWithFaction = 85, // Nyi
|
|
HasAchievement = 86,
|
|
HasAchievementOnCharacter = 87, // Nyi
|
|
CloudSerpentReputation = 88,
|
|
BattlePetBreedQualityId = 89, // Nyi
|
|
PetBattleIsPvp = 90, // Nyi
|
|
BattlePetSpecies = 91,
|
|
ActiveExpansion = 92,
|
|
//Unk93 = 93, // Nyi
|
|
FriendshipRepReaction = 94, // Nyi
|
|
FactionStanding = 95,
|
|
ItemClassAndSubclass = 96, // Nyi
|
|
SourceSex = 97,
|
|
SourceNativeSex = 98,
|
|
Skill = 99,
|
|
//Unk100 = 100, // Nyi
|
|
NormalPhaseShift = 101,
|
|
InPhase = 102,
|
|
NotInPhase = 103,
|
|
HasSpell = 104,
|
|
ItemCount = 105,
|
|
AccountExpansion = 106,
|
|
SourceHasAuraLabel = 107, // Nyi, Spelllabel
|
|
//Unk108 = 108, // Nyi
|
|
TimeInRange = 109, // Nyi, Packed Time Between Asset And Secondaryasset
|
|
RewardedQuest = 110,
|
|
CompletedQuest = 111,
|
|
CompletedQuestObjective = 112, // Nyi, Questobjectiveid
|
|
ExploredArea = 113,
|
|
ItemCountIncludingBank = 114,
|
|
//Unk115 = 115, // Nyi
|
|
SourcePvpFactionIndex = 116,
|
|
LfgValueEqual = 117,
|
|
LfgValueGreater = 118,
|
|
CurrencyAmount = 119,
|
|
//Unk120 = 120, // Nyi
|
|
CurrencyTrackedAmount = 121,
|
|
MapInstanceType = 122,
|
|
Mentor = 123,
|
|
//Unk124 = 124, // Nyi
|
|
//Unk125 = 125, // Nyi
|
|
GarrisonLevelAbove = 126, // Asset: Garrlevel, Secondaryasset: Garrtype
|
|
GarrisonFollowersAboveLevel = 127, // Asset: Count, Secondaryasset: Followerlevel, Tertiaryasset: Garrtype
|
|
GarrisonFollowersAboveQuality = 128, // Asset: Count, Secondaryasset: Followerquality, Tertiaryasset: Garrtype
|
|
GarrisonFollowerAboveLevelWithAbility = 129, // Asset: Followerlevel, Secondaryasset: Ability, Tertiaryasset: Garrtype
|
|
GarrisonFollowerAboveLevelWithTrait = 130, // Asset: Followerlevel, Secondaryasset: Ability, Tertiaryasset: Garrtype (Same As Above But Ability Must Have GarrisonAbilityFlagTrait)
|
|
GarrisonFollowerWithAbilityInBuilding = 131, // Asset: Ability, Secondaryasset: Buildingtype, Tertiaryasset: Garrtype
|
|
GarrisonFollowerWithTraitInBuilding = 132, // Asset: Ability, Secondaryasset: Buildingtype, Tertiaryasset: Garrtype
|
|
GarrisonFollowerAboveLevelInBuilding = 133, // Asset: Followerlevel, Secondaryasset: Buildingtype, Tertiaryasset: Garrtype
|
|
GarrisonBuildingAboveLevel = 134, // Asset: Buildingtype, Secondaryasset: Buildinglevel, Tertiaryasset: Garrtype
|
|
GarrisonBlueprint = 135, // Nyi
|
|
//Unk136 = 136, // Nyi
|
|
//Unk137 = 137, // Nyi
|
|
//Unk138 = 138, // Nyi
|
|
//Unk139 = 139, // Nyi
|
|
GarrisonBuildingInactive = 140,
|
|
//Unk141 = 141, // Nyi
|
|
GarrisonBuildingEqualLevel = 142, // Asset: Buildingtype, Secondaryasset: Buildinglevel, Tertiaryasset: Garrtype
|
|
GarrisonFollowerWithAbility = 143, // Asset: Ability, Secondaryasset: Garrtype
|
|
GarrisonFollowerWithTrait = 144, // Asset: Ability, Secondaryasset: Garrtype
|
|
GarrisonFollowerAboveQualityWod = 145, // Asset: Followerquality
|
|
GarrisonFollowerEqualLevel = 146, // Asset: Followerlevel, Secondaryasset: Garrtype
|
|
GarrisonRareMission = 147, // Nyi
|
|
//Unk148 = 148, // Nyi
|
|
GarrisonBuildingLevel = 149, // Nyi
|
|
//Unk150 = 150, // Nyi
|
|
BattlePetSpeciesInTeam = 151, // Asset: Count, Secondaryasset: Battlepetspeciesid
|
|
BattlePetFamilyInTeam = 152, // Asset: Count, Secondaryasset: Battlepetfamily
|
|
//Unk153 = 153, // Nyi
|
|
//Unk154 = 154, // Nyi
|
|
//Unk155 = 155, // Nyi
|
|
//Unk156 = 156, // Nyi
|
|
GarrisonFollowerId = 157, // Follower With Id, In Any Garrison
|
|
QuestObjectiveProgressEqual = 158, // Nyi Asset: Questobjectiveid, Secondaryasset: Progress
|
|
QuestObjectiveProgressAbove = 159, // Nyi Asset: Questobjectiveid, Secondaryasset: Progress
|
|
//Unk160 = 160, // Nyi
|
|
//Unk161 = 161, // Nyi
|
|
//Unk162 = 162, // Nyi
|
|
//Unk163 = 163, // Nyi
|
|
//Unk164 = 164, // Nyi
|
|
//Unk165 = 165, // Nyi
|
|
//Unk166 = 166, // Nyi
|
|
GarrisonMissionType = 167, // Nyi
|
|
GarrisonFollowerAboveItemLevel = 168, // Asset: Followeritemlevel
|
|
GarrisonFollowersAboveItemLevel = 169, // Asset: Count, Secondaryasset: Followeritemlevel, Tertiaryasset: Garrtype
|
|
GarrisonLevelEqual = 170, // Asset: Count
|
|
GarrisonGroupSize = 171, // Nyi
|
|
//Unk172 = 172, // Nyi Something To Do With Currency But Only Used On Criterias That Require The Same Currency
|
|
TargetingCorpse = 173,
|
|
//Unk174 = 174, // Nyi
|
|
GarrisonFollowersLevelEqual = 175, // Asset: Count, Secondaryasset: Followerlevel, Tertiaryasset: Garrtype
|
|
GarrisonFollowerIdInBuilding = 176, // Asset: Followerid, Secondaryasset: Buildingtype
|
|
//Unk177 = 177, // Nyi
|
|
//Unk178 = 178, // Nyi
|
|
WorldPvpArea = 179, // Nyi
|
|
NonOwnGarrison = 180, // Nyi
|
|
//Unk181 = 181, // Nyi
|
|
//Unk182 = 183, // Nyi
|
|
//Unk183 = 183, // Nyi
|
|
GarrisonFollowersItemLevelAbove = 184,
|
|
//Unk185 = 185, // Nyi
|
|
//Unk186 = 186, // Nyi
|
|
GarrisonFollowerType = 187, // Nyi
|
|
//Unk188 = 188, // Nyi
|
|
//Unk189 = 189, // Nyi
|
|
//Unk190 = 190, // Nyi
|
|
//Unk191 = 191, // Nyi
|
|
//Unk192 = 192, // Nyi
|
|
HonorLevel = 193,
|
|
PrestigeLevel = 194,
|
|
//Unk195 = 195, // Nyi
|
|
//Unk196 = 196, // Nyi
|
|
//Unk197 = 197, // Nyi
|
|
//Unk198 = 198, // Nyi
|
|
//Unk198 = 199, // Nyi
|
|
ItemModifiedAppearance = 200,
|
|
GarrisonSelectedTalent = 201, // Nyi Asset: Garrtalentid (Talent Selected, Research Timer Doesn'T Matter)
|
|
GarrisonResearchedTalent = 202, // Nyi Asset: Garrtalentid (Talent Selected, Research Must Be Finished)
|
|
HasCharacterRestrictions = 203,
|
|
//Unk204 = 204, // Nyi
|
|
//Unk205 = 205, // Nyi
|
|
QuestInfoId = 206,
|
|
GarrisonResearchingTalent = 207, // Nyi Asset: Garrtalentid (Talent Selected, Research Must Be In Progress)
|
|
ArtifactAppearanceSetUsed = 208,
|
|
CurrencyAmountEqual = 209,
|
|
//Unk210 = 210, // Nyi
|
|
ScenarioType = 211,
|
|
AccountExpansionEqual = 212,
|
|
//Unk213 = 213, // Nyi
|
|
//Unk214 = 214, // Nyi
|
|
//Unk215 = 215, // Nyi
|
|
ChallengeModeMedal2 = 216, // Nyi Keystone Master, Asset = 3
|
|
//Unk217 = 217, // Nyi
|
|
//Unk218 = 218, // Nyi
|
|
//Unk219 = 219, // Nyi
|
|
//Unk220 = 220, // Nyi
|
|
//Unk221 = 221, // Nyi
|
|
//Unk222 = 222, // Nyi
|
|
//Unk223 = 223, // Nyi
|
|
//Unk224 = 224, // Nyi
|
|
//Unk225 = 225, // Nyi
|
|
UsedLevelBoost = 226, // Nyi
|
|
UsedRaceChange = 227, // Nyi
|
|
UsedFactionChange = 228, // Nyi
|
|
//Unk229 = 229, // Nyi
|
|
//Unk230 = 230, // Nyi
|
|
AchievementGloballyIncompleted = 231, // Hall Of Fame Stuff, Asset: Unk, Secondaryasset: Achievementid
|
|
MainHandVisibleSubclass = 232,
|
|
OffHandVisibleSubclass = 233,
|
|
PvpTier = 234, // Nyi Asset: Pvptierid
|
|
AzeriteItemLevel = 235,
|
|
//Unk236 = 236, // Nyi
|
|
//Unk237 = 237, // Nyi
|
|
//Unk238 = 238, // Nyi
|
|
PvpTierGreater = 239, // Nyi Asset: Pvptierenum, Secondaryasset: Pvpbracket
|
|
//Unk240 = 240, // Nyi
|
|
//Unk241 = 241, // Nyi
|
|
//Unk242 = 242, // Nyi
|
|
//Unk243 = 243, // Nyi
|
|
//Unk244 = 244, // Nyi
|
|
InWarMode = 245,
|
|
//Unk246 = 246, // Nyi
|
|
KeystoneLevel = 247, // Nyi
|
|
//Unk248 = 248, // Nyi
|
|
KeystoneDungeon = 249, // Nyi Asset: Mapchallengemodeid
|
|
//Unk250 = 250, // Nyi
|
|
PvpSeason = 251, // Nyi Asset: That Unknown Column In Pvpseason.Db2
|
|
SourceDisplayRace = 252,
|
|
TargetDisplayRace = 253,
|
|
FriendshipRepReactionExact = 254, // Nyi
|
|
SourceAuraCountEqual = 255,
|
|
TargetAuraCountEqual = 256,
|
|
SourceAuraCountGreater = 257,
|
|
TargetAuraCountGreater = 258,
|
|
UnlockedAzeriteEssenceRankLower = 259,
|
|
UnlockedAzeriteEssenceRankEqual = 260,
|
|
UnlockedAzeriteEssenceRankGreater = 261,
|
|
SourceHasAuraEffectIndex = 262, // Asset: Spellid, Secondaryasset: Index
|
|
SourceSpecializationRole = 263,
|
|
SourceLevel120 = 264,
|
|
//Unk265 = 265,
|
|
SelectedAzeriteEssenceRankLower = 266,
|
|
SelectedAzeriteEssenceRankGreater = 267,
|
|
SourceLevelInRangeCt = 268,
|
|
TargetLevelInRangeCt = 269,
|
|
//Unk270 = 270,
|
|
//Unk271 = 271,
|
|
SourceLevelGreaterCt = 272, // Compare Levels Using Content Tuning
|
|
TargetLevelGreaterCt = 273, // Compare Levels Using Content Tuning
|
|
//Unk274 = 274,
|
|
//Unk275 = 275,
|
|
//Unk276 = 276,
|
|
RafRecruitInParty = 277, // NYI
|
|
//Unk278 = 278,
|
|
//Unk279 = 279,
|
|
MapOrCosmeticMap = 280,
|
|
//Unk281 = 281,
|
|
HasEntitlement = 282, // NYI
|
|
HasQuestSession = 283, // NYI
|
|
//Unk284 = 284,
|
|
//Unk285 = 285,
|
|
//Unk286 = 286,
|
|
//Unk287 = 287,
|
|
Covenant = 288,
|
|
//Unk289 = 289, // Related To Pvp Ranking
|
|
PermanentAnimaDiversionTalent = 290, // NYI
|
|
Soulbind = 291,
|
|
//Unk292 = 292,
|
|
SourceAreaOrZoneInGroup = 293,
|
|
//Unk294 = 294,
|
|
//Unk295 = 295,
|
|
//Unk296 = 296,
|
|
//Unk297 = 297,
|
|
//Unk298 = 298,
|
|
//Unk299 = 299,
|
|
SourceInSpecificChromieTime = 300,
|
|
SourceInAnyChromieTime = 301,
|
|
//Unk302 = 302,
|
|
SourceRuneforgeLegendaryKnown = 303,
|
|
//Unk304 = 304,
|
|
//Unk305 = 305,
|
|
//Unk306 = 306,
|
|
SoulbindConduitRank = 307, // NYI
|
|
ShapeshiftFormCustomizationDisplay = 308,
|
|
SoulbindMinConduitsAtRank = 309, // NYI
|
|
IsRestrictedAccount = 310, // NYI
|
|
SourceFlying = 311,
|
|
}
|
|
|
|
public enum CriteriaFlags
|
|
{
|
|
ShowProgressBar = 0x01,
|
|
Hidden = 0x02,
|
|
FailAchievement = 0x04,
|
|
ResetOnStart = 0x08,
|
|
IsDate = 0x10,
|
|
MoneyCounter = 0x20
|
|
}
|
|
|
|
public enum CriteriaTimedTypes : byte
|
|
{
|
|
Event = 1, // Timer Is Started By Internal Event With Id In Timerstartevent
|
|
Quest = 2, // Timer Is Started By Accepting Quest With Entry In Timerstartevent
|
|
SpellCaster = 5, // Timer Is Started By Casting A Spell With Entry In Timerstartevent
|
|
SpellTarget = 6, // Timer Is Started By Being Target Of Spell With Entry In Timerstartevent
|
|
Creature = 7, // Timer Is Started By Killing Creature With Entry In Timerstartevent
|
|
Item = 9, // Timer Is Started By Using Item With Entry In Timerstartevent
|
|
Unk = 10, // Unknown
|
|
Unk2 = 13, // Unknown
|
|
ScenarioStage = 14, // Timer is started by changing stages in a scenario
|
|
|
|
Max
|
|
}
|
|
|
|
public enum CriteriaTypes : byte
|
|
{
|
|
KillCreature = 0,
|
|
WinBg = 1,
|
|
// 2 - unused (Legion - 23420)
|
|
CompleteArchaeologyProjects = 3, // Struct { Uint32 Itemcount; }
|
|
SurveyGameobject = 4,
|
|
ReachLevel = 5,
|
|
ClearDigsite = 6,
|
|
ReachSkillLevel = 7,
|
|
CompleteAchievement = 8,
|
|
CompleteQuestCount = 9,
|
|
CompleteDailyQuestDaily = 10, // You Have To Complete A Daily Quest X Times In A Row
|
|
CompleteQuestsInZone = 11,
|
|
Currency = 12,
|
|
DamageDone = 13,
|
|
CompleteDailyQuest = 14,
|
|
CompleteBattleground = 15,
|
|
DeathAtMap = 16,
|
|
Death = 17,
|
|
DeathInDungeon = 18,
|
|
CompleteRaid = 19,
|
|
KilledByCreature = 20,
|
|
ManualCompleteCriteria = 21,
|
|
CompleteChallengeModeGuild = 22,
|
|
KilledByPlayer = 23,
|
|
FallWithoutDying = 24,
|
|
// 25 - unused (Legion - 23420)
|
|
DeathsFrom = 26,
|
|
CompleteQuest = 27,
|
|
BeSpellTarget = 28,
|
|
CastSpell = 29,
|
|
BgObjectiveCapture = 30,
|
|
HonorableKillAtArea = 31,
|
|
WinArena = 32,
|
|
PlayArena = 33,
|
|
LearnSpell = 34,
|
|
HonorableKill = 35,
|
|
OwnItem = 36,
|
|
WinRatedArena = 37,
|
|
HighestTeamRating = 38,
|
|
HighestPersonalRating = 39,
|
|
LearnSkillLevel = 40,
|
|
UseItem = 41,
|
|
LootItem = 42,
|
|
ExploreArea = 43,
|
|
OwnRank = 44,
|
|
BuyBankSlot = 45,
|
|
GainReputation = 46,
|
|
GainExaltedReputation = 47,
|
|
VisitBarberShop = 48,
|
|
EquipEpicItem = 49,
|
|
RollNeedOnLoot = 50, /// Todo Itemlevel Is Mentioned In Text But Not Present In Dbc
|
|
RollGreedOnLoot = 51,
|
|
HkClass = 52,
|
|
HkRace = 53,
|
|
DoEmote = 54,
|
|
HealingDone = 55,
|
|
GetKillingBlows = 56, /// Todo In Some Cases Map Not Present, And In Some Cases Need Do Without Die
|
|
EquipItem = 57,
|
|
// 58 - unused (Legion - 23420)
|
|
MoneyFromVendors = 59,
|
|
GoldSpentForTalents = 60,
|
|
NumberOfTalentResets = 61,
|
|
MoneyFromQuestReward = 62,
|
|
GoldSpentForTravelling = 63,
|
|
DefeatCreatureGroup = 64,
|
|
GoldSpentAtBarber = 65,
|
|
GoldSpentForMail = 66,
|
|
LootMoney = 67,
|
|
UseGameobject = 68,
|
|
BeSpellTarget2 = 69,
|
|
SpecialPvpKill = 70,
|
|
CompleteChallengeMode = 71,
|
|
FishInGameobject = 72,
|
|
SendEvent = 73,
|
|
OnLogin = 74,
|
|
LearnSkilllineSpells = 75,
|
|
WinDuel = 76,
|
|
LoseDuel = 77,
|
|
KillCreatureType = 78,
|
|
CookRecipesGuild = 79,
|
|
GoldEarnedByAuctions = 80,
|
|
EarnPetBattleAchievementPoints = 81,
|
|
CreateAuction = 82,
|
|
HighestAuctionBid = 83,
|
|
WonAuctions = 84,
|
|
HighestAuctionSold = 85,
|
|
HighestGoldValueOwned = 86,
|
|
GainReveredReputation = 87,
|
|
GainHonoredReputation = 88,
|
|
KnownFactions = 89,
|
|
LootEpicItem = 90,
|
|
ReceiveEpicItem = 91,
|
|
SendEventScenario = 92,
|
|
RollNeed = 93,
|
|
RollGreed = 94,
|
|
ReleaseSpirit = 95,
|
|
OwnPet = 96,
|
|
GarrisonCompleteDungeonEncounter = 97,
|
|
// 98 - unused (Legion - 23420)
|
|
// 99 - unused (Legion - 23420)
|
|
// 100 - unused (Legion - 23420)
|
|
HighestHitDealt = 101,
|
|
HighestHitReceived = 102,
|
|
TotalDamageReceived = 103,
|
|
HighestHealCasted = 104,
|
|
TotalHealingReceived = 105,
|
|
HighestHealingReceived = 106,
|
|
QuestAbandoned = 107,
|
|
FlightPathsTaken = 108,
|
|
LootType = 109,
|
|
CastSpell2 = 110, /// Todo Target Entry Is Missing
|
|
// 111 - unused (Legion - 23420)
|
|
LearnSkillLine = 112,
|
|
EarnHonorableKill = 113,
|
|
AcceptedSummonings = 114,
|
|
EarnAchievementPoints = 115,
|
|
// 116 - unused (Legion - 23420)
|
|
// 117 - unused (Legion - 23420)
|
|
CompleteLfgDungeon = 118,
|
|
UseLfdToGroupWithPlayers = 119,
|
|
LfgVoteKicksInitiatedByPlayer = 120,
|
|
LfgVoteKicksNotInitByPlayer = 121,
|
|
BeKickedFromLfg = 122,
|
|
LfgLeaves = 123,
|
|
SpentGoldGuildRepairs = 124,
|
|
ReachGuildLevel = 125,
|
|
CraftItemsGuild = 126,
|
|
CatchFromPool = 127,
|
|
BuyGuildBankSlots = 128,
|
|
EarnGuildAchievementPoints = 129,
|
|
WinRatedBattleground = 130,
|
|
// 131 - unused (Legion - 23420)
|
|
ReachBgRating = 132,
|
|
BuyGuildTabard = 133,
|
|
CompleteQuestsGuild = 134,
|
|
HonorableKillsGuild = 135,
|
|
KillCreatureTypeGuild = 136,
|
|
CountOfLfgQueueBoostsByTank = 137,
|
|
CompleteGuildChallengeType = 138, //Struct { Flag Flag; Uint32 Count; } 1: Guild Dungeon, 2:Guild Challenge, 3:Guild Battlefield
|
|
CompleteGuildChallenge = 139, //Struct { Uint32 Count; } Guild Challenge
|
|
// 140 - 1 criteria (16883), unused (Legion - 23420)
|
|
// 141 - 1 criteria (16884), unused (Legion - 23420)
|
|
// 142 - 1 criteria (16881), unused (Legion - 23420)
|
|
// 143 - 1 criteria (16882), unused (Legion - 23420)
|
|
// 144 - 1 criteria (17386), unused (Legion - 23420)
|
|
LfrDungeonsCompleted = 145,
|
|
LfrLeaves = 146,
|
|
LfrVoteKicksInitiatedByPlayer = 147,
|
|
LfrVoteKicksNotInitByPlayer = 148,
|
|
BeKickedFromLfr = 149,
|
|
CountOfLfrQueueBoostsByTank = 150,
|
|
CompleteScenarioCount = 151,
|
|
CompleteScenario = 152,
|
|
ReachAreatriggerWithActionset = 153,
|
|
// 154 - unused (Legion - 23420)
|
|
OwnBattlePet = 155,
|
|
OwnBattlePetCount = 156,
|
|
CaptureBattlePet = 157,
|
|
WinPetBattle = 158,
|
|
// 159 - 2 criterias (22312,22314), unused (Legion - 23420)
|
|
LevelBattlePet = 160,
|
|
CaptureBattlePetCredit = 161, // Triggers A Quest Credit
|
|
LevelBattlePetCredit = 162, // Triggers A Quest Credit
|
|
EnterArea = 163, // Triggers A Quest Credit
|
|
LeaveArea = 164, // Triggers A Quest Credit
|
|
CompleteDungeonEncounter = 165,
|
|
// 166 - unused (Legion - 23420)
|
|
PlaceGarrisonBuilding = 167,
|
|
UpgradeGarrisonBuilding = 168,
|
|
ConstructGarrisonBuilding = 169,
|
|
UpgradeGarrison = 170,
|
|
StartGarrisonMission = 171,
|
|
StartOrderHallMission = 172,
|
|
CompleteGarrisonMissionCount = 173,
|
|
CompleteGarrisonMission = 174,
|
|
RecruitGarrisonFollowerCount = 175,
|
|
RecruitGarrisonFollower = 176,
|
|
// 177 - 0 criterias (Legion - 23420)
|
|
LearnGarrisonBlueprintCount = 178,
|
|
// 179 - 0 criterias (Legion - 23420)
|
|
// 180 - 0 criterias (Legion - 23420)
|
|
// 181 - 0 criterias (Legion - 23420)
|
|
CompleteGarrisonShipment = 182,
|
|
RaiseGarrisonFollowerItemLevel = 183,
|
|
RaiseGarrisonFollowerLevel = 184,
|
|
OwnToy = 185,
|
|
OwnToyCount = 186,
|
|
RecruitGarrisonFollowerWithQuality = 187,
|
|
// 188 - 0 criterias (Legion - 23420)
|
|
OwnHeirlooms = 189,
|
|
ArtifactPowerEarned = 190,
|
|
ArtifactTraitsUnlocked = 191,
|
|
HonorLevelReached = 194,
|
|
PrestigeReached = 195,
|
|
// 196 - CRITERIA_TYPE_REACH_LEVEL_2 or something
|
|
// 197 - Order Hall Advancement related
|
|
OrderHallTalentLearned = 198,
|
|
AppearanceUnlockedBySlot = 199,
|
|
OrderHallRecruitTroop = 200,
|
|
// 201 - 0 criterias (Legion - 23420)
|
|
// 202 - 0 criterias (Legion - 23420)
|
|
CompleteWorldQuest = 203,
|
|
// 204 - Special criteria type to award players for some external events? Comes with what looks like an identifier, so guessing it's not unique.
|
|
TransmogSetUnlocked = 205,
|
|
GainParagonReputation = 206,
|
|
EarnHonorXp = 207,
|
|
RelicTalentUnlocked = 211,
|
|
ReachAccountHonorLevel = 213,
|
|
HeartOfAzerothArtifactPowerEarned = 214,
|
|
HeartOfAzerothLevelReached = 215,
|
|
MythicKeystoneCompleted = 216, // NYI
|
|
// 217 - 0 Criterias
|
|
CompleteQuestAccumulate = 218,
|
|
BoughtItemFromVendor = 219,
|
|
SoldItemToVendor = 220,
|
|
// 221 - 0 Criterias
|
|
// 222 - 0 Criterias
|
|
// 223 - 0 Criterias
|
|
// 224 - 0 Criterias
|
|
TravelledToArea = 225,
|
|
// 226 - 0 Criterias
|
|
// 227 - 0 Criterias
|
|
ApplyConduit = 228,
|
|
ConvertItemsToCurrency = 229,
|
|
TotalTypes = 230
|
|
}
|
|
|
|
public enum CriteriaDataType
|
|
{
|
|
None = 0,
|
|
TCreature = 1,
|
|
TPlayerClassRace = 2,
|
|
TPlayerLessHealth = 3,
|
|
SAura = 5,
|
|
TAura = 7,
|
|
Value = 8,
|
|
TLevel = 9,
|
|
TGender = 10,
|
|
Script = 11,
|
|
// Reuse
|
|
MapPlayerCount = 13,
|
|
TTeam = 14,
|
|
SDrunk = 15,
|
|
Holiday = 16,
|
|
BgLossTeamScore = 17,
|
|
InstanceScript = 18,
|
|
SEquippedItem = 19,
|
|
MapId = 20,
|
|
SPlayerClassRace = 21,
|
|
// Reuse
|
|
SKnownTitle = 23,
|
|
GameEvent = 24,
|
|
SItemQuality = 25,
|
|
|
|
Max = 25
|
|
}
|
|
|
|
public enum ProgressType
|
|
{
|
|
Set,
|
|
Accumulate,
|
|
Highest
|
|
}
|
|
}
|