AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AchievementCriteriaEntry Struct Reference

#include "DBCStructure.h"

Public Attributes

uint32 ID
 
uint32 referredAchievement
 
uint32 requiredType
 
union {
   struct {
      uint32   creatureID
 
      uint32   creatureCount
 
   }   kill_creature
 
   struct {
      uint32   bgMapID
 
      uint32   winCount
 
   }   win_bg
 
   struct {
      uint32   unused
 
      uint32   level
 
   }   reach_level
 
   struct {
      uint32   skillID
 
      uint32   skillLevel
 
   }   reach_skill_level
 
   struct {
      uint32   linkedAchievement
 
   }   complete_achievement
 
   struct {
      uint32   unused
 
      uint32   totalQuestCount
 
   }   complete_quest_count
 
   struct {
      uint32   unused
 
      uint32   numberOfDays
 
   }   complete_daily_quest_daily
 
   struct {
      uint32   zoneID
 
      uint32   questCount
 
   }   complete_quests_in_zone
 
   struct {
      uint32   unused
 
      uint32   questCount
 
   }   complete_daily_quest
 
   struct {
      uint32   mapID
 
   }   complete_battleground
 
   struct {
      uint32   mapID
 
   }   death_at_map
 
   struct {
      uint32   manLimit
 
   }   death_in_dungeon
 
   struct {
      uint32   groupSize
 
   }   complete_raid
 
   struct {
      uint32   creatureEntry
 
   }   killed_by_creature
 
   struct {
      uint32   unused
 
      uint32   fallHeight
 
   }   fall_without_dying
 
   struct {
      uint32   type
 
   }   death_from
 
   struct {
      uint32   questID
 
      uint32   questCount
 
   }   complete_quest
 
   struct {
      uint32   spellID
 
      uint32   spellCount
 
   }   be_spell_target
 
   struct {
      uint32   spellID
 
      uint32   castCount
 
   }   cast_spell
 
   struct {
      uint32   objectiveId
 
      uint32   completeCount
 
   }   bg_objective
 
   struct {
      uint32   areaID
 
      uint32   killCount
 
   }   honorable_kill_at_area
 
   struct {
      uint32   mapID
 
      uint32   count
 
   }   win_arena
 
   struct {
      uint32   mapID
 
   }   play_arena
 
   struct {
      uint32   spellID
 
   }   learn_spell
 
   struct {
      uint32   itemID
 
      uint32   itemCount
 
   }   own_item
 
   struct {
      uint32   unused
 
      uint32   count
 
   }   win_rated_arena
 
   struct {
      uint32   teamtype
 
   }   highest_team_rating
 
   struct {
      uint32   teamtype
 
      uint32   PersonalRating
 
   }   highest_personal_rating
 
   struct {
      uint32   skillID
 
      uint32   skillLevel
 
   }   learn_skill_level
 
   struct {
      uint32   itemID
 
      uint32   itemCount
 
   }   use_item
 
   struct {
      uint32   itemID
 
      uint32   itemCount
 
   }   loot_item
 
   struct {
      uint32   areaReference
 
   }   explore_area
 
   struct {
      uint32   rank
 
   }   own_rank
 
   struct {
      uint32   unused
 
      uint32   numberOfSlots
 
   }   buy_bank_slot
 
   struct {
      uint32   factionID
 
      uint32   reputationAmount
 
   }   gain_reputation
 
   struct {
      uint32   unused
 
      uint32   numberOfExaltedFactions
 
   }   gain_exalted_reputation
 
   struct {
      uint32   unused
 
      uint32   numberOfVisits
 
   }   visit_barber
 
   struct {
      uint32   itemSlot
 
      uint32   count
 
   }   equip_epic_item
 
   struct {
      uint32   rollValue
 
      uint32   count
 
   }   roll_need_on_loot
 
   struct {
      uint32   rollValue
 
      uint32   count
 
   }   roll_greed_on_loot
 
   struct {
      uint32   classID
 
      uint32   count
 
   }   hk_class
 
   struct {
      uint32   raceID
 
      uint32   count
 
   }   hk_race
 
   struct {
      uint32   emoteID
 
      uint32   count
 
   }   do_emote
 
   struct {
      uint32   unused
 
      uint32   count
 
   }   healing_done
 
   struct {
      uint32   unused
 
      uint32   killCount
 
   }   get_killing_blow
 
   struct {
      uint32   itemID
 
      uint32   count
 
   }   equip_item
 
   struct {
      uint32   unused
 
      uint32   goldInCopper
 
   }   quest_reward_money
 
   struct {
      uint32   unused
 
      uint32   goldInCopper
 
   }   loot_money
 
   struct {
      uint32   goEntry
 
      uint32   useCount
 
   }   use_gameobject
 
   struct {
      uint32   unused
 
      uint32   killCount
 
   }   special_pvp_kill
 
   struct {
      uint32   goEntry
 
      uint32   lootCount
 
   }   fish_in_gameobject
 
   struct {
      uint32   skillLine
 
      uint32   spellCount
 
   }   learn_skillline_spell
 
   struct {
      uint32   unused
 
      uint32   duelCount
 
   }   win_duel
 
   struct {
      uint32   powerType
 
   }   highest_power
 
   struct {
      uint32   statType
 
   }   highest_stat
 
   struct {
      uint32   spellSchool
 
   }   highest_spellpower
 
   struct {
      uint32   ratingType
 
   }   highest_rating
 
   struct {
      uint32   lootType
 
      uint32   lootTypeCount
 
   }   loot_type
 
   struct {
      uint32   skillLine
 
      uint32   spellCount
 
   }   learn_skill_line
 
   struct {
      uint32   unused
 
      uint32   killCount
 
   }   honorable_kill
 
   struct {
      uint32   unused
 
      uint32   dungeonsComplete
 
   }   use_lfg
 
   struct {
      uint32   field3
 
      uint32   count
 
   }   raw
 
}; 
 
struct {
   uint32   additionalRequirement_type
 
   uint32   additionalRequirement_value
 
additionalRequirements [MAX_CRITERIA_REQUIREMENTS]
 
uint32 flags
 
uint32 timedType
 
uint32 timerStartEvent
 
uint32 timeLimit
 

Detailed Description

Member Data Documentation

◆ 

union { ... } AchievementCriteriaEntry::@308

◆ additionalRequirement_type

◆ additionalRequirement_value

◆ 

◆ areaID

◆ areaReference

uint32 AchievementCriteriaEntry::areaReference
Todo:
: This rank is NOT the index from AreaTable.dbc

Referenced by AchievementGlobalMgr::LoadAchievementCriteriaList(), and AchievementMgr::UpdateAchievementCriteria().

◆ 

◆ 

◆ bgMapID

◆ 

struct { ... } AchievementCriteriaEntry::buy_bank_slot

◆ 

◆ castCount

uint32 AchievementCriteriaEntry::castCount

◆ classID

◆ 

struct { ... } AchievementCriteriaEntry::complete_achievement

◆ 

struct { ... } AchievementCriteriaEntry::complete_battleground

◆ 

struct { ... } AchievementCriteriaEntry::complete_daily_quest

◆ 

struct { ... } AchievementCriteriaEntry::complete_daily_quest_daily

◆ 

struct { ... } AchievementCriteriaEntry::complete_quest

◆ 

struct { ... } AchievementCriteriaEntry::complete_quest_count

◆ 

struct { ... } AchievementCriteriaEntry::complete_quests_in_zone

◆ 

struct { ... } AchievementCriteriaEntry::complete_raid

◆ completeCount

uint32 AchievementCriteriaEntry::completeCount

◆ count

◆ creatureCount

uint32 AchievementCriteriaEntry::creatureCount

◆ creatureEntry

◆ creatureID

◆ 

struct { ... } AchievementCriteriaEntry::death_at_map

◆ 

struct { ... } AchievementCriteriaEntry::death_from

◆ 

struct { ... } AchievementCriteriaEntry::death_in_dungeon

◆ 

struct { ... } AchievementCriteriaEntry::do_emote

◆ duelCount

◆ dungeonsComplete

uint32 AchievementCriteriaEntry::dungeonsComplete

◆ emoteID

◆ 

struct { ... } AchievementCriteriaEntry::equip_epic_item

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::explore_area

◆ factionID

◆ 

struct { ... } AchievementCriteriaEntry::fall_without_dying

◆ fallHeight

uint32 AchievementCriteriaEntry::fallHeight

◆ field3

uint32 AchievementCriteriaEntry::field3

◆ 

◆ flags

uint32 AchievementCriteriaEntry::flags

◆ 

struct { ... } AchievementCriteriaEntry::gain_exalted_reputation

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::get_killing_blow

◆ goEntry

◆ goldInCopper

uint32 AchievementCriteriaEntry::goldInCopper

◆ groupSize

uint32 AchievementCriteriaEntry::groupSize

◆ 

struct { ... } AchievementCriteriaEntry::healing_done

◆ 

struct { ... } AchievementCriteriaEntry::highest_personal_rating

◆ 

struct { ... } AchievementCriteriaEntry::highest_power

◆ 

struct { ... } AchievementCriteriaEntry::highest_rating

◆ 

struct { ... } AchievementCriteriaEntry::highest_spellpower

◆ 

struct { ... } AchievementCriteriaEntry::highest_stat

◆ 

struct { ... } AchievementCriteriaEntry::highest_team_rating

◆ 

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::honorable_kill

◆ 

struct { ... } AchievementCriteriaEntry::honorable_kill_at_area

◆ ID

◆ itemCount

uint32 AchievementCriteriaEntry::itemCount

◆ itemID

◆ itemSlot

◆ 

struct { ... } AchievementCriteriaEntry::kill_creature

◆ killCount

uint32 AchievementCriteriaEntry::killCount

◆ 

struct { ... } AchievementCriteriaEntry::killed_by_creature

◆ 

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::learn_skillline_spell

◆ 

struct { ... } AchievementCriteriaEntry::learn_spell

◆ level

uint32 AchievementCriteriaEntry::level

◆ linkedAchievement

uint32 AchievementCriteriaEntry::linkedAchievement

◆ 

struct { ... } AchievementCriteriaEntry::loot_item

◆ 

struct { ... } AchievementCriteriaEntry::loot_money

◆ 

◆ lootCount

uint32 AchievementCriteriaEntry::lootCount

◆ lootType

◆ lootTypeCount

◆ manLimit

uint32 AchievementCriteriaEntry::manLimit

◆ mapID

◆ numberOfDays

uint32 AchievementCriteriaEntry::numberOfDays

◆ numberOfExaltedFactions

uint32 AchievementCriteriaEntry::numberOfExaltedFactions

◆ numberOfSlots

uint32 AchievementCriteriaEntry::numberOfSlots

◆ numberOfVisits

uint32 AchievementCriteriaEntry::numberOfVisits

◆ objectiveId

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::own_rank

◆ PersonalRating

uint32 AchievementCriteriaEntry::PersonalRating

◆ 

struct { ... } AchievementCriteriaEntry::play_arena

◆ powerType

uint32 AchievementCriteriaEntry::powerType

◆ 

struct { ... } AchievementCriteriaEntry::quest_reward_money

◆ questCount

uint32 AchievementCriteriaEntry::questCount

◆ questID

◆ raceID

◆ rank

uint32 AchievementCriteriaEntry::rank
Todo:
: This rank is NOT the index from CharTitles.dbc

◆ ratingType

uint32 AchievementCriteriaEntry::ratingType

◆ 

struct { ... } AchievementCriteriaEntry::raw

◆ 

struct { ... } AchievementCriteriaEntry::reach_level

◆ 

◆ referredAchievement

◆ reputationAmount

uint32 AchievementCriteriaEntry::reputationAmount

◆ requiredType

◆ 

struct { ... } AchievementCriteriaEntry::roll_greed_on_loot

◆ 

struct { ... } AchievementCriteriaEntry::roll_need_on_loot

◆ rollValue

uint32 AchievementCriteriaEntry::rollValue

◆ skillID

◆ skillLevel

uint32 AchievementCriteriaEntry::skillLevel

◆ skillLine

◆ 

struct { ... } AchievementCriteriaEntry::special_pvp_kill
Todo:
: are those special criteria stored in the dbc or do we have to add another sql table?

Referenced by AchievementMgr::IsCompletedCriteria().

◆ spellCount

uint32 AchievementCriteriaEntry::spellCount

◆ spellID

◆ spellSchool

uint32 AchievementCriteriaEntry::spellSchool

◆ statType

uint32 AchievementCriteriaEntry::statType

◆ teamtype

uint32 AchievementCriteriaEntry::teamtype

◆ timedType

uint32 AchievementCriteriaEntry::timedType

◆ timeLimit

◆ timerStartEvent

uint32 AchievementCriteriaEntry::timerStartEvent

◆ totalQuestCount

uint32 AchievementCriteriaEntry::totalQuestCount

◆ type

uint32 AchievementCriteriaEntry::type

◆ unused

uint32 AchievementCriteriaEntry::unused

◆ 

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::use_lfg

◆ useCount

uint32 AchievementCriteriaEntry::useCount

◆ 

struct { ... } AchievementCriteriaEntry::visit_barber

◆ 

struct { ... } AchievementCriteriaEntry::win_arena

◆ 

◆ 

◆ 

struct { ... } AchievementCriteriaEntry::win_rated_arena

◆ winCount

uint32 AchievementCriteriaEntry::winCount

◆ zoneID